aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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.
* Sync with private copy.Nicholas Marriott2009-06-03
|
* endpwent() is not required after getpwuid().Nicholas Marriott2009-06-01
|
* +.Nicholas Marriott2009-05-29
|
* Clear status line on incorrect password.Nicholas Marriott2009-05-29
|
* Don't show real character under cursor when hidden. Doh.Nicholas Marriott2009-05-29
|
* Reset activity time to avoid relock on -U.Nicholas Marriott2009-05-28
|
* Now in base.Nicholas Marriott2009-05-26
|
* Spacing.Nicholas Marriott2009-05-26
|
* Update.Nicholas Marriott2009-05-21
|
* Spacing.Nicholas Marriott2009-05-21
|
* UPPER -> BIG, sort, and bump protocol version.Nicholas Marriott2009-05-21
|
* stat(2) files before trying to load them to avoid problems, for example with ↵Nicholas Marriott2009-05-21
| | | | | | | "source-file /dev/zero". This commit dedicated to Tom: protecting idiots from their own stupidity for more than 20 years.
* new layout planNicholas Marriott2009-05-20
|
* Indentation.Nicholas Marriott2009-05-19
|
* +.Nicholas Marriott2009-05-19
|
* Try to guess if the window is UTF-8 by outputting a three-byte UTF-8 wide ↵Nicholas Marriott2009-05-19
| | | | character and seeing how much the cursor moves. Currently tries to figure out if this works by some stupid checks on the terminal, these need to be rethought. Also might be better using a width 1 character rather than width 2.
* If LANG contains "UTF-8", assume the terminal supports UTF-8, on the grounds ↵Nicholas Marriott2009-05-19
| | | | that anyone who configures it probably wants UTF-8. Not certain if this is a perfect idea but let's see if it causes any problems.
* - New window option monitor-content to search for a string in a window, andTiago Cunha2009-05-19
| | | | | | | | | highlight the status line if it matches. - To make this possible, the function cmd_find_window_search from cmd-find-window.c had to be moved to window.c and renamed window_pane_search. - While there use three new functions in server.c to check for bell, activity, and content, to avoid too much nesting.
* Note.Nicholas Marriott2009-05-19
|
* (void).Nicholas Marriott2009-05-19
|