aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
Commit message (Collapse)AuthorAge
* Add a mode-mouse option to prevent tmux taking over the mouse in choice or copyNicholas Marriott2009-07-30
| | | | modes.
* Rename struct hdrtype to msgtype which is a better name and can be used evenNicholas Marriott2009-07-29
| | | | when struct hdr disappears.
* Taking account of the "s, 22 not 24 is the maximum length of #T in status-rightNicholas Marriott2009-07-29
| | | | to prevent the date being cut off.
* Make all messages sent between the client and server fixed size.Nicholas Marriott2009-07-26
| | | | | | | | | | | | | | This is the first of two changes to make the protocol more resilient and less sensitive to other changes in the code, particularly with commands. The client now packs argv into a buffer and sends it to the server for parsing, rather than doing it itself and sending the parsed command data. As a side-effect this also removes a lot of now-unused command marshalling code. Mixing a server without this change and a client with or vice versa will cause tmux to hang or crash, please ensure that tmux is entirely killed before upgrading.
* Pass a set of flags into client_init rather than just a start_serverNicholas Marriott2009-07-22
| | | | variable. Only one flag now but more to come later.
* Display the number of failed password attempts (if any) when the server isNicholas Marriott2009-07-20
| | | | locked. From Tom Doherty.
* Add a status-justify option to allow the window list in the status line to beNicholas Marriott2009-07-20
| | | | positioned at the left, centre, or right.
* New options, window-status-current-{fg,bg,attr}, to set the fg, bg andNicholas Marriott2009-07-20
| | | | | attributes with which the current window is shown in the status line. From Johan Friis, thanks.
* Add three new session options: visual-activity, visual-bell, visual-content. IfNicholas Marriott2009-07-18
| | | | | | | | | these are enabled (and the monitor-activity, bell-actio and monitor-content options are configurated appropriately), when activity, a bell, or content is detected, a message is shown. Also tidy up the bell/activity/content code in server.c slightly and fix a couple of errors.
* If -u is specified or UTF-8 is otherwise detected when the server is started,Nicholas Marriott2009-07-17
| | | | | enable the utf8 and status-utf8 optons. While here, note in the man page that the server is started with the first session and exits when none remain.
* Add a default-terminal option to set the starting value of $TERM in newNicholas Marriott2009-07-10
| | | | | | | windows. This is "screen" by default and must be either that or something closely related. This does makes it easier to customise it if necessary.
* Just appending -l to $SHELL to create a login shell is wrong: -l is not POSIX,Nicholas Marriott2009-07-08
| | | | | | | | | and some people may use shells which do not support it. Instead, make an empty default-command option mean a login shell, and fork it with a - in argv[0] which is the method used by login(1). Also fix the automatic-rename code to handle this correctly and to strip a leading - if present.
* Rename the global options variables to be shorter and to make session optionsNicholas Marriott2009-07-07
| | | | | clear. No functional change, getting this out of the way to make later options changes easier.
* If getcwd() fails, use the user's home directory, or /, instead of failing withNicholas Marriott2009-06-25
| | | | an error.
* Remove error about using -L and -S together which was never displayed asNicholas Marriott2009-06-25
| | | | | logging wasn't yet enabled, was unnecessary, and contradicted the man page which says using -S will cause -L to be ignored.
* LC_ALL overrides LC_CTYPE and LANG. Comment was correct but the codeNicholas Marriott2009-06-23
| | | | wrong. Pointed out by Hannah Schroeter, thanks.
* Check the first of LC_CTYPE, LC_ALL and LANG, rather than just the last, whenNicholas Marriott2009-06-05
| | | | trying to decide about UTF-8, and use strcasestr. Reported by Geert Hendrickx.
* Zero the password given to -U in the client as well.Nicholas Marriott2009-06-04
|
* Do not set the window title by default (make set-titles option default to off),Nicholas Marriott2009-06-03
| | | | wiping over the title is rude and annoying. Agreed by several.
* New session option, status-utf8, to control the interpretation of top-bit-setNicholas Marriott2009-06-03
| | | | | characters in status-left and status-right (if on, they are treated as UTF-8; otherwise passed through).
* remove unused flag; while here, make usage's output fit on 80-column displays.Igor Sobrado2009-06-02
|
* spawn login shells by default, adapt manpage bits as well.Pierre-Yves Ritschard2009-06-02
| | | | ok nicm@
* Don't leak memory if multiple -f flags are given.Ray Lai2009-06-02
| | | | OK nicm@
* Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott2009-06-01
terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti