aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Terminate cwd buffer before running xstrdup on it.Nicholas Marriott2009-06-05
|
* 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.
* strdup the input to putenv to avoid in one case passing a string that is laterNicholas Marriott2009-06-05
| | | | | | freed and in the other const strings. looks sane to millert, ok ray
* Call setproctitle earlier in the client, and include the socket name. Makes itNicholas Marriott2009-06-05
| | | | easier to match client to server in ps/pgrep when using several servers.
* Remove trailing newlines, spaces, and tabs.Ray Lai2009-06-05
| | | | No binary change.
* Print a better message than '(null)' if no command is specified ("tmux \;").Nicholas Marriott2009-06-04
|
* Zero the password given to -U in the client as well.Nicholas Marriott2009-06-04
|
* If the prompt is hidden or a password is sent with -U, zero it before freeingNicholas Marriott2009-06-04
| | | | it.
* Implement the CBT (backward tab) sequence (\033[Z).Nicholas Marriott2009-06-04
|
* Proper support for tab stops (\033H etc), using a bitstring(3). Makes anotherNicholas Marriott2009-06-04
| | | | vttest test happy.
* Okay, so I screwed up when testing this, doh. Unbreak so that CAN/SUB actuallyNicholas Marriott2009-06-04
| | | | do cancel the sequence, and tweak to make the code more clear.
* Oops, CAN and SUB should abort the sequence (return to first state), not remainNicholas Marriott2009-06-04
| | | | in the same state.
* More input compatibility love. Support C0 within escape sequences, and the C0Nicholas Marriott2009-06-04
| | | | | control character VT (vertical tab, \013), which is treated as LF like VT102. Makes another vttest happy.
* zap trailing whitespace;Jason McIntyre2009-06-04
|
* Support insert mode by using insert character to shift the cells before writingNicholas Marriott2009-06-03
| | | | as normal.
* Implement the DEC alignment test. With the last change this is enough for theNicholas Marriott2009-06-03
| | | | | first cursor test in vttest (in ports) to pass; it still shops a few more problems though.
* Fix some miscalculations when clearing to start of screen: the number of linesNicholas Marriott2009-06-03
| | | | to the cursor is cy not cy - 1, and the current cursor cell should be included.
* Use vis(3) instead of handrolled function.Nicholas Marriott2009-06-03
|
* Pass window titles through vis(1). <0x20 is dropped anyway by the input stateNicholas Marriott2009-06-03
| | | | | | | machine but top-bit-set nonprintables could cause trouble, and they are neater like this anyway. Suggested by deraadt a few days ago.
* 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).
* Add a UTF-8 aware string length function and make UTF-8 inNicholas Marriott2009-06-03
| | | | | | status-left/status-right work properly. At the moment any top-bit-set characters are assumed to be UTF-8: a status-utf8 option to configure this will come shortly.
* Add missing documentation for the -a flag used to move to next/previous windowNicholas Marriott2009-06-03
| | | | with alert.
* Add a section summarising the status line. There are quite a number of statusNicholas Marriott2009-06-03
| | | | | line options, it is something many want to configure, and the meaning of some bits weren't really documented.
* undo a mistake found by sobrado;Jason McIntyre2009-06-03
|
* When swapping pane positions, swap the PANE_HIDDEN flag as well, otherwise tmuxNicholas Marriott2009-06-03
| | | | | | | | | crashes when trying to find the new active pane. While here, nuke an unused pane flag. Fixes PR 6160, reported by and a slightly different version of diff tested by ralf.horstmann at gmx.de.
* some cleanup; ok nicmJason McIntyre2009-06-03
|
* Cast char to u_char before passing to isalnum().Ray Lai2009-06-03
| | | | OK nicm@
* Recent code to try and detect if a terminal supports UTF-8 by printing to itNicholas Marriott2009-06-02
| | | | | fails spectacularly on (at least) sparc64, so disable it for now. Thanks to naddy and Josh Elsasser for help and testing.
* remove unused flag; while here, make usage's output fit on 80-column displays.Igor Sobrado2009-06-02
|
* sort options alphabetically.Igor Sobrado2009-06-02
|
* spawn login shells by default, adapt manpage bits as well.Pierre-Yves Ritschard2009-06-02
| | | | ok nicm@
* Don't access array[-1] if array is an empty string.Ray Lai2009-06-02
| | | | OK nicm@
* Make code clearer:Ray Lai2009-06-02
| | | | | | | - if (hdr->size > SIZE_MAX - 1) + if (hdr->size == SIZE_MAX) OK nicm@
* Don't dereference NULL if buf winds up being empty. Can't happenRay Lai2009-06-02
| | | | | | right now according to NicM but better safe than sorry. OK nicm@
* Don't leak memory if multiple -f flags are given.Ray Lai2009-06-02
| | | | OK nicm@
* Update the man page with some recent changes to the code:Nicholas Marriott2009-06-01
| | | | | | | | | | - SIGUSR1 recreates the socket; - guesswork to work out if the terminal supports UTF-8; - a paste key for the command prompt; - main-horizontal layout to match main-vertical, and options to configure the size of the large pane; - clear-history command; - select-layout command.
* Whoops, didn't mean to add this.Nicholas Marriott2009-06-01
|
* 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