summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-10-29Missing ;. From eric@ ages ago.Nicholas Marriott
2009-10-28If any client currently displaying a window pane has more than 1 KB of outputNicholas Marriott
buffered, don't accept any further data from the process running in the pane. This makes tmux much more responsive when flooded with output, although other buffers can still have an impact when running remotely. Prompted by a query from Ranganathan Sankaralingam.
2009-10-28tweak previous;Jason McIntyre
2009-10-28Don't catch a signal if we inherited it as ignored. Instigated byPhilip Guenthe
comments from Matt Fisher (mfisher_ix at maine.rr.com). ok otto@
2009-10-28Allow to set the rdomain in ssh/sftp/scp/sshd and ssh-keyscan.Reyk Floeter
ok markus@
2009-10-28wrap at eighty columns.Igor Sobrado
2009-10-28Add a minor optimisatin: if the character being printed is space, don't worryNicholas Marriott
about setting the background colour or attributes (except reverse).
2009-10-28style(9) has all these fascist rules...Claudio Jeker
2009-10-28Twaek this slightly to avoid confusing use of flags variable.Nicholas Marriott
2009-10-28Setting SGR0 when setting the fg and bg has problems if only one of the two isNicholas Marriott
meant to be default, so rewrite the code to move this outside, move setting colours before attributes and generally clean up. Tested by sthen@, fixes problems he was seeing with mutt and should fix some existing problems with (rarely) lost attributes.
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-27nm -V is silly, and prining the rcsid even more soTheo de Raadt
2009-10-27slightly cleanup the socket and control bits:Alexandre Ratchov
- reject bogus clients ignoring flow control during the start phase - don't check if dev_midi is NULL, it can't be NULL anymore - use ``struct ctl_ops'' instead of a simple call-backs - don't try to flush play buffer if it's not attached yet
2009-10-27set the THRU_AUTOQUIT flag only for ``thru'' devicesAlexandre Ratchov
2009-10-27add missing word in error messageAlexandre Ratchov
2009-10-27sync to 1.9.11: adapt printing of dates to groff conventions,Ingo Schwarze
NetBSD portability fixes and some minor bugfixes and feature enhancements; also checked that my hyphenation code still works on top of this
2009-10-27Move the poll registration functions into the server-*.c files.Nicholas Marriott
2009-10-26tabs are better; ok nicmTheo de Raadt
2009-10-26Clear signal flags /before/ taking action and continue afterwards to reduceNicholas Marriott
chance of dropping signals. Pointed out by deraadt@.
2009-10-26Call fstat() after fopen() rather than stat() before.Nicholas Marriott
2009-10-26Reset the umask right after fopen to avoid leaving it changed on error, noticedNicholas Marriott
by deraadt@.
2009-10-26Use strlcpy instead of strncpy, pointed out by deraadt.Nicholas Marriott
2009-10-26Fix usage; requested by jmc@Antoine Jacoutot
ok jmc@ ian@
2009-10-26Bring man pages on par with our file(1) version (merge from upstream withAntoine Jacoutot
several tweaks). As usual, several enhancements and inputs from jmc@ Input from ian@ ok jmc@ ian@
2009-10-26Don't do anything in the client callback if the client has already died toNicholas Marriott
avoid a use-after-free (the callback is used twice, once for the client itself and once for the tty). Fixes crashes seen by Han Boetes.
2009-10-26Add MAKECONF for building ports in non-standard locations; from Tobias UlmerTodd C. Miller
2009-10-26Nuke accidentally-committed debugging statement.Nicholas Marriott
2009-10-26Not all terminals swap CSI and SS3 on ctrl, so remove that.Nicholas Marriott
Also mark the rxvt special-cases as such until terminfo is updated to have kLFT5, kRIT5 etc.
2009-10-26Rewrite xterm-keys code (both input and output) so that works (doesn't alwaysNicholas Marriott
output the same modifiers, accepts all the possible input keys) and is more understandable.
2009-10-26Support the (mostly new) function key+modifier caps (kIC-kIC7). Most of theseNicholas Marriott
will be caught (soon) by the xterm keys code in xterm itself but some other descriptions such as rxvt define them as well.
2009-10-26On second thoughts, drop the rxvt output entirely.Nicholas Marriott
2009-10-26Set the output code for ctrl+cursor keys correctly, and disable (comment)Nicholas Marriott
rxvt-style output.
2009-10-26As we always put the cursor keys into application mode, assume keys sentNicholas Marriott
with CSI have ctrl. Also add a couple of comments.
2009-10-26Tidy up table.Nicholas Marriott
2009-10-26Drop INPUTKEY_CTRL and just handle it as part of the table.Nicholas Marriott
2009-10-26Add or fix some comments.Nicholas Marriott
2009-10-26Tidy up table.Nicholas Marriott
2009-10-26Rename keypad keys to something more useful.Nicholas Marriott
2009-10-26Remove the xterm-keys code which is broken (a replacement is coming but someNicholas Marriott
more cleanup is needed first).
2009-10-25Don't try to continue processing a client if the session has been destroyed.Nicholas Marriott
2009-10-25Remove -d from tmux.1 as well.Nicholas Marriott
2009-10-25Remove the -d flag to tmux and just use op/AX to detect default colours.Nicholas Marriott
Irritatingly, although op can be used to tell if a terminal supports default colours, it can't be used to set them because in some terminfo descriptions it resets attributes as a side-effect (acts as sgr0) and in others it doesn't, so it is not possible to determine reliably what the terminal state will be afterwards. So if AX is missing and op is present, tmux just sends sgr0. Anyone using -d for a terminal who finds they actually needed it can replace it using terminal-overrides, but please let me know as it is probably an omission from terminfo.
2009-10-25+time.h.Nicholas Marriott
2009-10-25Add DISTDIR to list of variables preserved via default env_keep,Kenneth R Westerback
making one more piece of ports building via sudo less surprising. ok millert@
2009-10-25[ is a punctuation character and should be escaped with Ql. Although theNicholas Marriott
current groff version we have seems to handle it fine, other versions are not so tolerant.
2009-10-24Bring a comment into line with reality.Nicholas Marriott
2009-10-24simplify overstep handling, removing one local variable;Ingo Schwarze
no functional change; ok kristaps@ and merged as rev. 1.110
2009-10-24Request roaming to be enabled if UseRoaming is true and the serverAndreas Gunnarsson
supports it. ok markus@
2009-10-24Do the actual suspend/resume in the client. This won't be useful untilAndreas Gunnarsson
the server side supports roaming. Most code from Martin Forssen, maf at appgate dot com. Some changes by me and markus@ ok markus@
2009-10-24Define the KEX messages used when resuming a suspended connection.Andreas Gunnarsson
ok markus@