summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-12-01Look for mice and xterm keys before standard function keys as they are lessNicholas Marriott
likely to be partial versions.
2009-11-30Handle partial xterm function key sequences.Nicholas Marriott
2009-11-28The first paragraph of the DESCRIPTION had multiple issues,Ingo Schwarze
so rewrite it from scratch. Joint work with jmc@. Originally triggered by lars dot curator at gmail dot com by requesting the addition of the word "rotate", also using some observations from matthew at dempsky dot org. OK jmc@ ":-)" sthen@
2009-11-27Add a couple of comments.Nicholas Marriott
2009-11-26This doesn't need to be u_int.Nicholas Marriott
2009-11-26Make types clearer and lint happier.Nicholas Marriott
2009-11-26Fix type - attributes should be u_char not int.Nicholas Marriott
2009-11-26Change paranoia check to check for <= 0 and to avoid warning.Nicholas Marriott
2009-11-26Tidy up various bits of the paste code, make the data buffer char * and addNicholas Marriott
comments.
2009-11-26Continue rather than returning if not a mouse key, to avoid hanging on anyNicholas Marriott
function key...
2009-11-26Remove a couple of unused arguments where possible, and add /* ARGSUSED */ toNicholas Marriott
the rest to reduce lint output.
2009-11-26Rename a variable to something more helpful.Nicholas Marriott
2009-11-26Get a u_char from the string, otherwise it isn't possible to enter \0377 as itNicholas Marriott
is mistaken for EOF (doh). Also drop an unused argument.
2009-11-26grammar;Jason McIntyre
2009-11-26Handle the possibility of partial mouse reads, and fix a comment while here.Nicholas Marriott
2009-11-26Emulate il1, dl1, ich1 to run (albeit slowly) with vt100 feature set.Nicholas Marriott
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.