summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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@
2009-10-24Dummy implementation of wait_for_roaming_reconnect() for the server side.Andreas Gunnarsson
It doesn't do anything yet but is needed for upcoming changes in roaming_common.c ok markus@
2009-10-24client_loop() must detect if the session has been suspended and resumed,Andreas Gunnarsson
and take appropriate action in that case. From Martin Forssen, maf at appgate dot com ok markus@
2009-10-24Let the client detect if the server supports roaming by lookingAndreas Gunnarsson
for the resume@appgate.com kex algorithm. ok markus@
2009-10-24Declarations needed for upcoming changes.Andreas Gunnarsson
ok markus@
2009-10-24-a option to kill all except current pane. From Tiago Cunha, thanks!Nicholas Marriott
2009-10-24ssh-keygen now uses AES-128 for private keysDarren Tucker
2009-10-23Support the bright fg/bg colour SGR 90-97 and 100-107.Nicholas Marriott
Reported by Tim Allen.
2009-10-23When adding text due to an a, c, or i command, don't eat the space(s) atReyk Floeter
the beginning of the lines since the addition is supposed to be "verbatim". From NetBSD, also matches the bahaviour of GNU sed ok millert@
2009-10-23disallow a hostile server from checking jpake auth by sending anDamien Miller
out-of-sequence success message. (doesn't affect code enabled by default)
2009-10-22switch from 3DES to AES-128 for encryption of passphrase-protectedDamien Miller
SSH protocol 2 private keys; ok several
2009-10-22When starting playback, the client tries to write ``bufsz'' framesAlexandre Ratchov
instead of ``appbufsz'', which violates the flow control mechanism. Fix this longstanding bug by enabling negative values in AMSG_MOVE messages, this way the client is notified when its stream is attached to the mixer, and can update its max transfer limit. Since this fix changes the AMSG_MOVE message format, we crank the protocol version, and thus remove code specific to the old protocol.
2009-10-22use .Ux in midicat.1, as we do for aucat.1 nowAlexandre Ratchov
2009-10-22Redraw checks have to after handling input or pane redraw flags set by keyNicholas Marriott
presses will not be acted on.
2009-10-22The client buffers have to be checked after every event in order to catch theNicholas Marriott
escape timers and properly reset the cursor.
2009-10-22wrap at 80 columns.Igor Sobrado
2009-10-22Split the server code handling clients, jobs and windows off into separateNicholas Marriott
files from server.c (merging server-msg.c into the client file) and rather than iterating over each set after poll(), allow a callback to be specified when the fd is added and just walk once over the returned pollfds calling each callback where needed. More to come, getting this in so it is tested.
2009-10-22write UNIX-domain in a more consistent way; while here, replace aIgor Sobrado
few remaining ".Tn UNIX" macros with ".Ux" ones. pointed out by ratchov@, thanks! ok jmc@