summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-11-25Output the right keys for application and number keypad modes (they were theNicholas Marriott
wrong way round).
2009-11-24Add a -p flag to display-message to print the output rather than displaying inNicholas Marriott
the status line, this allows things like "display -p '#W'" to find the current window index.
2009-11-24Another one.Owain Ainsworth
"yup" henning@
2009-11-24More words of wisdom.Owain Ainsworth
ok henning@ dms@
2009-11-23args, not that fileHenning Brauer
2009-11-23no more natpassHenning Brauer
2009-11-23Properly handle interfaces deleted from the middle of the list.Can Erkin Acar
Reported by deraadt@
2009-11-22Add cursor keys to the key names list.Nicholas Marriott
2009-11-22Fix for flash defaulting to off, pointed out by jmc.Nicholas Marriott
2009-11-22don't repeat the banner if not a tty.Ted Unangst
add a -c count option to netstat. tweak spacing to not smear fields in vmstat. ok deraadt sthen
2009-11-22brconfig will soon be goneTheo de Raadt
2009-11-22Change the flash option to be off by default. Now that xterm has the flashNicholas Marriott
capability in terminfo, vi was using it instead of beeping, but it is too slow for some machines. ok deraadt
2009-11-22make passing of zero-length arguments to ssh safe byAlexander Hall
passing "-<switch>" "<value>" rather than "-<switch><value>" ok dtucker@, guenther@, djm@
2009-11-21Use home from struct passwd if HOME is empty as well as if it is NULL, and fixNicholas Marriott
a style nit. Both from Tiago Cunha.
2009-11-21use strtonum(3) and strtol(3) instead of sscanf(3)Alexandre Ratchov
suggested by deraadt@
2009-11-21spellingTheo de Raadt
2009-11-20When -h and -p are given to split-window, calculate the percentage size usingNicholas Marriott
the width instead of the height.
2009-11-20Display UTF-8 properly in status line messages and prompt. Cursor handling isNicholas Marriott
still way off though.
2009-11-20Remove oldest messages from log when limit is hit, not newest.Nicholas Marriott
2009-11-20correct off-by-one in percent_expand(): we would fatal() when tryingDamien Miller
to expand EXPAND_MAX_KEYS, allowing only EXPAND_MAX_KEYS-1 to actually work. Note that nothing in OpenSSH actually uses close to this limit at present. bz#1607 from Jan.Pechanec AT Sun.COM
2009-11-20Use the HostKeyAlias when prompting for passwords. bz#1039, ok djm@Darren Tucker
2009-11-20bz#1588 change "Connecting to host..." message to "Connected to host."Damien Miller
and delay it until after the sftp protocol connection has been established. Avoids confusing sequence of messages when the underlying ssh connection experiences problems. ok dtucker@
2009-11-20Warn but do not fail if stat()ing the subsystem binary fails. This helpsDarren Tucker
with chrootdirectory+forcecommand=sftp-server and restricted shells. bz #1599, ok djm.
2009-11-19bz#1606: error when an attempt is made to connect to a serverDamien Miller
with ForceCommand=internal-sftp with a shell session (i.e. not a subsystem session). Avoids stuck client when attempting to ssh to such a service. ok dtucker@
2009-11-19Get some brackets in the right place so ## works. Also fix a space in aNicholas Marriott
comment.
2009-11-19Change status line drawing to create the window list in a separate screen andNicholas Marriott
then copy it into the status line screen. This allows UTF-8 in window names and fixes some problems with #[] in window-status-format.
2009-11-19Two new options, window-status-format and window-status-current-format, whichNicholas Marriott
allow the format of each window in the status line window list to be controlled using similar # sequences as status-left/right. This diff also moves part of the way towards UTF-8 support in window names but it isn't quite there yet.
2009-11-19tweak previous;Jason McIntyre
2009-11-19Revert to xterm-keys off by default. It was on as an experiment to see if theNicholas Marriott
option could be removed, but it affects vi, so we have to keep the option, and a conservative default is better.
2009-11-19Tidy up by breaking the # replacement code into a separate function, also add aNicholas Marriott
few comments.
2009-11-19Don't interpret #() for display-message, it usually doesn't make sense and mayNicholas Marriott
leak commands.
2009-11-18Missed an unused variable :-/.Nicholas Marriott
2009-11-18Cleanup by moving various (mostly horrible) little bits handling UTF-8 gridNicholas Marriott
data into functions in a new file, grid-utf8.c, and use sizeof intead of UTF8_DATA. Also nuke trailing whitespace from tmux.1, reminded by jmc.
2009-11-18Add a per-client log of status line messages displayed while that clientNicholas Marriott
exists. A new message-limit session option sets the maximum number of entries and a command, show-messages, shows the log (bound to ~ by default). This (and prompt history) might be better as a single global log but until there are global options it is easier for them to be per client.
2009-11-18Mark -n keys with (no prefix) rather than [].Nicholas Marriott
2009-11-17Permit top-bit-set characters to be entered in the status line. They couldNicholas Marriott
already be set from the shell and are just passed through when printing (so invisible characters or displaying on terminals with different character sets may cause problems). Note that entering UTF-8 may not work and in any case currently the status line cannot display it correctly (outside of status-left/status-right).
2009-11-17In choose mode, assign each item a number or lowercase letter from thoseNicholas Marriott
available and accept that as a shortcut key for the item.
2009-11-17fix incorrect exit status when multiplexing and channel ID 0 is recycledDamien Miller
bz#1570 reported by peter.oliver AT eon-is.co.uk; ok dtucker
2009-11-16A screen can be one cell wide; don't crash if that is the case.Nicholas Marriott
2009-11-16I made a complete horlicks of the last change, fix it so it doesn't either leadNicholas Marriott
to a double free or free the item after the end of the array.
2009-11-15If two (or more) inputs use channel ranges having no intersection,Alexandre Ratchov
then don't reduce their dynamic range to ``share the volume''.
2009-11-15some fixes from Seth Wright;Jason McIntyre
2009-11-15do not leak a lot of memory if a small memory allocation fails, found byTheo de Raadt
parfait ok kettenis guenther
2009-11-14fix leaks in error paths found by parfaitJonathan Gray
ok deraadt@
2009-11-13Tweak a comment and add some spacing.Nicholas Marriott
2009-11-13Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in theNicholas Marriott
command entry structs and a couple of functions to check/set the flags.
2009-11-13Unreachable statement, found by lint.Nicholas Marriott
2009-11-13Tidy up and fix some types, prompted by lint via deraadt.Nicholas Marriott
2009-11-13imsg_read returns ssize_t not int, pointed out by lint via deraadt.Nicholas Marriott
2009-11-13Destroy panes immediately rather than checking them all every loop.Nicholas Marriott