summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-08-05If colours are not supported by the terminal, try to emulate a colouredNicholas Marriott
background by setting or clearing the reverse attribute. This makes a few applications which don't use the reverse attribute themselves a little happier, and allows the status, message and mode options to have default attributes and fg/bg options that work as expected when set as reverse.
2009-08-05missing breakTheo de Raadt
2009-08-04Add a -a flag to set-option and set-window-option to append to an existingNicholas Marriott
string value, useful for terminal-overrides.
2009-08-04restructure the layout of this page, moving the commands into variousJason McIntyre
subsections; lots of tweaks to come on the text from nicm and myself
2009-08-04Show the bell/activity/current status and the window title in the choice list.Nicholas Marriott
2009-08-04Check for "UTF8" as well as "UTF-8" in LANG etc as it seems this may alsoNicholas Marriott
appear.
2009-08-04clean up some macro abuse in the commands section;Jason McIntyre
2009-08-04fix some warnings. there are others, but nobody wants to look at them.Ted Unangst
ok deraadt
2009-08-03properly pass SHELL from password file; not a login configurationMartynas Venckus
variable (restores behavior pre-rev. 1.30). ok millert@
2009-08-03tweak error message. url is valid per rfc1738 and can now beMartynas Venckus
fetchable with -o. so point to it too. requested by chris@ ok sthen@. better halex@
2009-08-03It is sufficient to call getgrnam(3) once. Remove the first call.Alexander Bluhm
ok millert
2009-08-03In addgroup() malloc(3) does not allocate enough memory as it onlyAlexander Bluhm
counts the number of elements but not their size. This can crash "wall -g group" if many users are in the group. ok millert
2009-08-03Split the comparison into a function to make this code smaller and moreNicholas Marriott
understandable.
2009-08-03Don't try to free old string values (and crash) when they are overridden unlessNicholas Marriott
they were actually found in the source terminal description. Reported by jmc.
2009-08-03tweak previous;Jason McIntyre
2009-08-03Add a terminal-overrides session option allowing individual terminfo(5) entriesNicholas Marriott
to be overridden. The 88col/256col checks are now moved into the default setting and out of the code. Also remove a couple of old workarounds for xterm and rxvt which are no longer necessary (tmux can emulate them if missing).
2009-08-02Fix checking of setupterm(3) error codes. While there include theMatthieu Herrb
name of the terminal type causing the error where relevant. ok nicm@.
2009-07-31Pass the ACS border characters through tty_get_acs so they appear correctly onNicholas Marriott
terminals which don't use the standard set.
2009-07-30Don't leak when rollling buffers off when the paste buffer limit is reached.Nicholas Marriott
2009-07-30Plug some memory leaks.Nicholas Marriott
2009-07-30Don't babysit people and let them try to load /dev/zero or (more useful)Nicholas Marriott
/dev/null if they want.
2009-07-30Remove some dead code found by clang.Nicholas Marriott
2009-07-30tweak previous;Jason McIntyre
2009-07-30Similar changes for server_msg_dispatch: use a switch instead of a lookup tableNicholas Marriott
and merge smaller functions inline.
2009-07-30There aren't many client message types or code to handle them so get rid of theNicholas Marriott
lookup table and use a switch, merge the tiny handler functions into it, and move the whole lot to client.c. Also change client_msg_dispatch to consume as many messages as possible and move the call to it to the right place so it checks for signals afterwards. Prompted by suggestions from eric@.
2009-07-30Tell the server when the client gets SIGTERM so it can clean up the terminalNicholas Marriott
properly, rather than just exiting.
2009-07-30Merge pane number into the target specification for pane commands. Instead ofNicholas Marriott
using -p index, a target pane is now addressed with the normal -t window form but suffixed with a period and a pane index, for example :0.2 or mysess:mywin.1. An unadorned number such as -t 1 is tried as a pane index in the current window, if that fails the same rules are followed as for a target window and the current pane in that window used. As a side-effect this now means that swap-pane can swap panes between different windows. Note that this changes the syntax of the break-pane, clear-history, kill-pane, resize-pane, select-pane and swap-pane commands.
2009-07-30new sentence, new line;Jason McIntyre
2009-07-30Add a mode-mouse option to prevent tmux taking over the mouse in choice or copyNicholas Marriott
modes.
2009-07-29- ~<, ~_ are undocumented aliases of ~r, ~:Martynas Venckus
- missing documentation for ~. - use compact list, and .Pp. so that aliases could be listed - reformat to fit aliases in tilde help with help & ok jmc@, sobrado@, millert@
2009-07-29Add an additional heuristic to work out the current session when run from theNicholas Marriott
command line. The name of all slave ptys in the server is known, so if the client was run on a tty, look for any sessions containing that tty and use the most recently created. This is more reliable than looking at $TMUX if windows have been moved or linked between sessions.
2009-07-29Rename struct hdrtype to msgtype which is a better name and can be used evenNicholas Marriott
when struct hdr disappears.
2009-07-29Taking account of the "s, 22 not 24 is the maximum length of #T in status-rightNicholas Marriott
to prevent the date being cut off.
2009-07-28Final pieces of mode key rebinding: bind-key and unbind-key now accept a -tNicholas Marriott
argument to modify a table.
2009-07-28remove core / tilde C. it's useless, doesn't work, never has beenMartynas Venckus
documented, ^\ should be used instead. ok millert@
2009-07-28Accept and print "Enter" and "Escape" for keys rather than C-m and C-[.Nicholas Marriott
2009-07-28Next step towards customisable mode keys: build each default table of keys intoNicholas Marriott
a named tree on start and use that for lookups. Also add command to string translation tables and modify list-keys to show the the mode key bindings (new -t argument).
2009-07-28If select-layout is not given an argument, repply the last layout used in theNicholas Marriott
window, if any.
2009-07-27- make urls such as http://foo, http://foo/, or http://foo/bar/Martynas Venckus
fetchable, if -o outfile is passed. outfile will be used as a local filename - fix a bug where 'no file after host' code path never got entered; consider no file after dir invalid; as code intended proxy help&ok halex@; testing(including proxies,pkg_add)&ok sthen@; looks good to millert@
2009-07-27Remove an unused entry in the mode keys command enum and renameNicholas Marriott
MODEKEYCOPY_QUIT to _CANCEL to match the others.
2009-07-27Change mode key bindings from big switches into a set of tables. Rather thanNicholas Marriott
lumping them all together, split editing keys from those used in choice/more mode and those for copy/scroll mode. Tidier and clearer, and the first step towards customisable mode keys.
2009-07-27Get rid of empty mode_key_free function.Nicholas Marriott
2009-07-27document how patterns are matched and that only the first 16 charsJason McIntyre
are tracked to match the command name; pointed out by fgsch diff adapted from text from gad@freebsd ok fgsch sobrado millert
2009-07-27Add a key to delete to end of line at the prompt (^K in emacs mode, C/D in vi).Nicholas Marriott
From Kalle Olavi Niemitalo.
2009-07-27Draw UTF-8 characters under the selection correctly.Nicholas Marriott
2009-07-27Change previous-word behavior to move to the beginning of the word (matchesNicholas Marriott
emacs and vi). From Kalle Olavi Niemitalo.
2009-07-26now in sync with version 1.8.1Ingo Schwarze
2009-07-26sync to 1.8.1: explicit-close macros now only warn when encounteringIngo Schwarze
trailing terms and do not error out any more, try: .Ed foo
2009-07-26sync to 1.8.1: remove superfluous NOSPACE in bd post,Ingo Schwarze
and remove unused TERMP_LITERAL
2009-07-26sync to 1.8.1: add a comment explaining the non-trivial termpair semantics;Ingo Schwarze
a bug in this very respect was contained in the upstream equivalent of rev. 1.28, but was squashed while merging into OpenBSD