aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Sync this properly.Nicholas Marriott2009-06-25
|
* Restore $Id$ and add script to do so.Nicholas Marriott2009-06-25
|
* If getcwd() fails, use the user's home directory, or /, instead of failing withNicholas Marriott2009-06-25
| | | | | an error.
* lines variable can be -1 (to be ignored), so should be signed. Found by lint.Nicholas Marriott2009-06-25
|
* 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.
* tmux doesn't and won't need syslog logging, so remove it and some other unusedNicholas Marriott2009-06-25
| | | | | functions found by lint.
* Miscellaneous unused functions, including one which was basically aNicholas Marriott2009-06-25
| | | | | duplicate. Found by lint.
* Nuke unused buffer functions. Found by lint.Nicholas Marriott2009-06-25
| | | | | Also remove some old debug output which was #if 0.
* Unused prototypes. Found by lint, no binary change.Nicholas Marriott2009-06-25
|
* Unused variables. Found by lint, no binary change.Nicholas Marriott2009-06-25
|
* Now that a UTF-8-capable puts function exists, use it for printing strings inNicholas Marriott2009-06-25
| | | | | | choice/more modes - lines with UTF-8 now display properly in find-window results.
* Fix a type mismatch warning in assignment.Nicholas Marriott2009-06-25
|
* Change find-window and monitor-content to use fnmatch(3). For convenience andNicholas Marriott2009-06-25
| | | | | compatibility, *s are implicitly added at the start and end of the pattern.
* Add a dedicated function to convert a line into a string and use it to ↵Nicholas Marriott2009-06-25
| | | | simplify the search window function.
* Change to match xterm's resizing behaviour, including pushing lines into theNicholas Marriott2009-06-25
| | | | | | history from the top when reducing vertical size and pulling them again when increasing size.
* Make remain-on-exit work again when there is only one pane left, which wasNicholas Marriott2009-06-25
| | | | | | broken sometime during the pane/layout changes. Reported/tested by Iain Morgan, thanks.
* Trying to predict the cursor position for UTF-8 output in the same way as forNicholas Marriott2009-06-25
| | | | | | | normal eight-bit output is wrong, separate it into a different function. Fixes spacing when mixing UTF-8 with some escape sequences, notably the way w3m does it.
* Constify utf8_width() function argument.Nicholas Marriott2009-06-25
|
* If a pane is "zombified" (remain-on-exit flag), don't continue to queue key andNicholas Marriott2009-06-25
| | | | | mouse input for it (otherwise they are processed after respawn).
* LC_ALL overrides LC_CTYPE and LANG. Comment was correct but the codeNicholas Marriott2009-06-25
| | | | | wrong. Pointed out by Hannah Schroeter, thanks.
* Terminate cwd buffer before running xstrdup on it.Nicholas Marriott2009-06-25
|
* Check the first of LC_CTYPE, LC_ALL and LANG, rather than just the last, whenNicholas Marriott2009-06-25
| | | | | 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-25
| | | | | freed and in the other const strings.
* Call setproctitle earlier in the client, and include the socket name. Makes itNicholas Marriott2009-06-25
| | | | | easier to match client to server in ps/pgrep when using several servers.
* Print a better message than '(null)' if no command is specified ("tmux \;").Nicholas Marriott2009-06-25
|
* Zero the password given to -U in the client as well.Nicholas Marriott2009-06-25
|
* If the prompt is hidden or a password is sent with -U, zero it before freeingNicholas Marriott2009-06-25
| | | | | it.
* Implement the CBT (backward tab) sequence (\033[Z).Nicholas Marriott2009-06-25
|
* Proper support for tab stops (\033H etc), using a bitstring(3). Makes anotherNicholas Marriott2009-06-25
| | | | | vttest test happy.
* Okay, so I screwed up when testing this, doh. Unbreak so that CAN/SUB actuallyNicholas Marriott2009-06-25
| | | | | 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-25
| | | | | in the same state.
* More input compatibility love. Support C0 within escape sequences, and the C0Nicholas Marriott2009-06-25
| | | | | | control character VT (vertical tab, \013), which is treated as LF like VT102. Makes another vttest happy.
* Support insert mode by using insert character to shift the cells before writingNicholas Marriott2009-06-25
| | | | | as normal.
* Implement the DEC alignment test. With the last change this is enough for theNicholas Marriott2009-06-25
| | | | | | 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-25
| | | | | 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-25
|
* Pass window titles through vis(1). <0x20 is dropped anyway by the input stateNicholas Marriott2009-06-25
| | | | | | machine but top-bit-set nonprintables could cause trouble, and they are neater like this anyway.
* Do not set the window title by default (make set-titles option default to off),Nicholas Marriott2009-06-25
| | | | | wiping over the title is rude and annoying.
* New session option, status-utf8, to control the interpretation of top-bit-setNicholas Marriott2009-06-25
| | | | | | 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-25
| | | | | | | 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.
* Nuke unused pane flag.Nicholas Marriott2009-06-25
|
* Cast char to u_char before passing to isalnum(). By rayNicholas Marriott2009-06-25
|
* remove unused flag; while here, make usage's output fit on 80-column displays.Nicholas Marriott2009-06-25
|
* Use login shells by default.Nicholas Marriott2009-06-25
|
* Don't leak memory if multiple -f flags are given. From rayNicholas Marriott2009-06-25
|
* Sync man page with OpenBSD.Nicholas Marriott2009-06-25
|
* Add missing -a flag.Nicholas Marriott2009-06-25
|
* When swapping pane positions, swap the PANE_HIDDEN flag as well, otherwise tmuxNicholas Marriott2009-06-25
| | | | | | | | | | 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.
* Sync to OpenBSD: fixes from ray@.Nicholas Marriott2009-06-25
|
* UTF-8 detection is broken on sparc64; disable until I get time to test it ↵Nicholas Marriott2009-06-24
| | | | further.