Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-17 | Tidy up new-session and attach-session and change them to work from inside | Nicholas Marriott | |
tmux, switching the current client to the new or requested session. Written with Josh Elsasser. | |||
2009-07-17 | revert 1.38: naddy looked closer at the output and some of the sections ↵ | Ted Unangst | |
don't make sense without the headers anymore | |||
2009-07-17 | Remove a duplicate key binding, and turn off autorepeat for up/down as it is | Nicholas Marriott | |
kind of annoying by default. | |||
2009-07-17 | If -u is specified or UTF-8 is otherwise detected when the server is started, | Nicholas Marriott | |
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. | |||
2009-07-17 | Oops, it is always a good idea to get arguments the right way round. | Nicholas Marriott | |
2009-07-17 | A similar for fix for window_choose: don't rely on the callback always being | Nicholas Marriott | |
called to free data, have a separate free callback and call it from the mode cleanup code. | |||
2009-07-17 | Memory could be leaked if a second prompt or message appeared while another was | Nicholas Marriott | |
still present, so add a separate prompt free callback and make the _clear function responsible for calling it if necessary (rather than the individual prompt callbacks). Also make both messages and prompts clear any existing when a new is set. In addition, the screen could be modified while the prompt is there, restore the redraw-entire-screen behaviour on prompt clear; add a comment as a reminder. | |||
2009-07-16 | Remove some duplicate code that was causing the status line to be redrawn even | Nicholas Marriott | |
when it hadn't changed. | |||
2009-07-16 | make the inet6 output a little more like everything else. | Ted Unangst | |
ok deraadt + a small fix from damien | |||
2009-07-16 | Fix arguments to switch-client. | Nicholas Marriott | |
2009-07-16 | use argument name for -T consistently in synopsis and description. | Igor Sobrado | |
ok jmc@ | |||
2009-07-16 | fix word order; | Jason McIntyre | |
from gb, documentation/6191 | |||
2009-07-16 | Typo in grid_duplicate_lines (sy for dy) causing it to write into the wrong | Nicholas Marriott | |
place when copying UTF-8 data. Found by Dan Colish. | |||
2009-07-15 | Make status_message_set a variadic printf-like function. No functional change - | Nicholas Marriott | |
helpful for a couple of things coming soon. | |||
2009-07-15 | Return -1 not NULL on error, pointed out by Roy Marples. | Nicholas Marriott | |
2009-07-15 | Add a -k flag to unlink-window which makes it behave the same as the old | Nicholas Marriott | |
kill-window - if a window is linked into only one session it unlinked and destroyed. | |||
2009-07-15 | The man page says that kill-window removes the window entirely, unlinking it | Nicholas Marriott | |
from any sessions. In fact the implementation only affected the current session, making it the same as unlink-window but destroying the window if it was linked into only one session (unlinkw gives an error). Change the behaviour to match what it documented and was originally intended. | |||
2009-07-15 | Having to update NSETOPTION/NSETWINDOWOPTION when adding new options is a bit | Nicholas Marriott | |
annoying and it is only use for iterating, so use a sentinel to mark the end of each array instead. Different fix for a problem pointed out by Kalle Olavi Niemitalo. | |||
2009-07-14 | Add main-pane-height to the options list (was missed before). | Nicholas Marriott | |
2009-07-14 | For some reason when clearing status/message it was redrawing the entire client | Nicholas Marriott | |
not just the status line. Changing this also revealed the check for the status line was incorrect when drawing the pane. | |||
2009-07-14 | Instead of faking up a status line in status_redraw, use the same code to | Nicholas Marriott | |
redraw it as to draw the entire screen, just skip all lines but the last. This makes horizontal split redraw properly when the status line is off. | |||
2009-07-14 | use static for inline so compilers with c99 inline semantics | Jonathan Gray | |
generate the same linkage as those with c89 semantics. ok sthen@ | |||
2009-07-14 | unveil that time(1) accepts optional arguments for the utility operand, | Igor Sobrado | |
this way we not only improve the synopsis accuracy but also match descriptions provided by IEEE Std 1003.1-2008, FreeBSD and NetBSD for this command; while here, synchronize the operand name. description for the optional arguments proposed by jmc@ ok jmc@ | |||
2009-07-14 | Don't accept input to a window if it not visible. | Nicholas Marriott | |
2009-07-14 | The scroll region cannot be one line only, ignore attempts to make it so. | Nicholas Marriott | |
2009-07-14 | don't use both extern and static decls for a variable. | Jonathan Gray | |
ok millert@ | |||
2009-07-14 | Get rid of the PANE_HIDDEN flag in favour of a function, and moving the | Nicholas Marriott | |
decision for whether or not a pane should be drawn out of the layout code and into the redraw code. This is needed for the new layout design, getting it in now to make that easier to work on. | |||
2009-07-14 | Need time.h not sys/time.h for time(2). | Nicholas Marriott | |
2009-07-14 | Add backspace key to named keys. | Nicholas Marriott | |
2009-07-14 | Since tmux doesn't actually need ncurses, use -lcurses/curses.h | Nicholas Marriott | |
instead. Pointed out by millert a while ago. | |||
2009-07-13 | Having fixed flags for single-character getopt options is a bit hard to | Nicholas Marriott | |
maintain and is only going to get worse as more are used. So instead, add a new uint64_t member to cmd_entry which is a bitmask of upper and lowercase options accepted by the command. This means new single character options can be used without the need to add it explicitly to the list. | |||
2009-07-13 | zap trailing whitespace; | Jason McIntyre | |
2009-07-13 | Token bucket filter has been killed. | Michele Marchetto | |
ok claudio@ henning@ dlg@ | |||
2009-07-13 | Expand leading tildes in arguments, from Tiage Cunha. | Nicholas Marriott | |
2009-07-13 | copy-mode and scroll-mode have a -u flag missing from usage, add it. | Nicholas Marriott | |
2009-07-13 | Tidy up and improve target (-t) argument parsing: | Nicholas Marriott | |
- move the code back into cmd.c and merge with the existing functions where possible; - accept "-tttyp0" as well as "-t/dev/ttyp0" for clients; - when looking up session names, try an exact match first, and if that fails look for it as an fnmatch pattern and then as the start of a name - if more that one session matches an error is given; so if there is one session called "mysession", -tmysession, -tmysess, -tmysess* are equivalent but if there is also "mysession2", the last two are errors; - similarly for windows, if the argument is not a valid index or exact window name match, try it against the window names as an fnmatch pattern and a prefix. | |||
2009-07-13 | Support "alternate screen" mode (terminfo smcup/rmcup) typically used by full | Nicholas Marriott | |
screen interactive programs to preserve the screen contents. When activated, it saves a copy of the visible grid and disables scrolling into and resizing out of the history; when deactivated the visible data is restored and the history reenabled. | |||
2009-07-13 | fix a trivial pasto that crept into 1.7.23; also submitted upstream | Ingo Schwarze | |
2009-07-13 | now in sync with release 1.7.24 | Ingo Schwarze | |
2009-07-13 | sync to 1.7.24: mdoc_nwarn/mdoc_nerr got mixed up; | Ingo Schwarze | |
fix from joerg at netbsd via kristaps@ | |||
2009-07-13 | sync to 1.7.24: In the .Nd line, \(em is typographically more sound than \- , | Ingo Schwarze | |
so that's what e.g. NetBSD and FreeBSD do. However, for *now*, we want to stick with the exact behaviour of the in-tree groff in OpenBSD. ok jmc@ | |||
2009-07-13 | sync to 1.7.24: support \(hy for groff compatibility | Ingo Schwarze | |
(even though it's useless, unescaped "-" is just the same) | |||
2009-07-12 | Missed this declaration in key bindings change. Whoops. | Nicholas Marriott | |
2009-07-12 | Document the -k flag to new-window. | Nicholas Marriott | |
2009-07-12 | sync to 1.7.24: remove long-fixed FIXME | Ingo Schwarze | |
2009-07-12 | sync to 1.7.24: support .St -p1003.1i-95 | Ingo Schwarze | |
from joerg at netbsd via kristaps@ | |||
2009-07-12 | sync to 1.7.24: make .In handling more similar to new groff | Ingo Schwarze | |
2009-07-12 | now in sync with release 1.7.23 | Ingo Schwarze | |
2009-07-12 | sync to 1.7.23: Fewer knobs: provide -Wall -Werror but not -Wsyntax -Wcompat. | Ingo Schwarze | |
The simplification of the internal code has already been done before, this is just the user interface adjustment. | |||
2009-07-12 | sync to 1.7.23: pass warning code to mdoc_pwarn() instead of warning message | Ingo Schwarze | |
define additional warning macro mdoc_nwarn() remove obsolete warning functions mdoc_warn(), pwarn(), vwarn(), nwarn() remove various now unused "enum mdoc_warn" and "enum mwarn" |