summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-07-13sync 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-13sync to 1.7.24: support \(hy for groff compatibilityIngo Schwarze
(even though it's useless, unescaped "-" is just the same)
2009-07-12Missed this declaration in key bindings change. Whoops.Nicholas Marriott
2009-07-12Document the -k flag to new-window.Nicholas Marriott
2009-07-12sync to 1.7.24: remove long-fixed FIXMEIngo Schwarze
2009-07-12sync to 1.7.24: support .St -p1003.1i-95Ingo Schwarze
from joerg at netbsd via kristaps@
2009-07-12sync to 1.7.24: make .In handling more similar to new groffIngo Schwarze
2009-07-12now in sync with release 1.7.23Ingo Schwarze
2009-07-12sync 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-12sync to 1.7.23: pass warning code to mdoc_pwarn() instead of warning messageIngo 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"
2009-07-12sync to 1.7.23: pass error code to mdoc_perr() instead of error stringIngo Schwarze
and use the so improved mdoc_nerr() at many places; get rid of now unused static functions perr()
2009-07-12Accept numeric UIDs as well as usernames like pgrep etc.Nicholas Marriott
ok millert
2009-07-12sync to 1.7.23: pass error code to mdoc_nerr() instead of error stringIngo Schwarze
and use the so improved mdoc_nerr() at many places
2009-07-12sync to 1.7.23: unify the various "enum merr" into libman.h and libmdoc.h,Ingo Schwarze
use it as a new argument to mdoc_err(), the same way as for for man_err(), and use string tables instead of switch statements to select error messages
2009-07-12sync to 1.7.23: third step to get rid of enum mdoc_warn:Ingo Schwarze
mdoc_verr is not using enum mdoc_warn, so use it at a few more places
2009-07-12sync to 1.7.23: second step to get rid of enum mdoc_warn:Ingo Schwarze
remove type from mdoc_vwarn arguments, and use this function where apropriate
2009-07-12sync to 1.7.23: first step to get rid of enum mdoc_warn:Ingo Schwarze
unify manwarn() and mdocwarn() into mwarn()
2009-07-12don't cast lvalues, no binary change.Jonathan Gray
ok millert@ gilles@ sthen@
2009-07-12Creating a key binding which replaces itself (such as "bind x bind x lsw")Nicholas Marriott
frees the command list bound to the key while it is still being executed, leading to a use after free. To prevent this, create a dead keys list and defer freeing replaced or removed key bindings until the main loop when the key binding will have finished executing. Found by Johan Friis when creating a key binding to reload his configuration file.
2009-07-12Add a "back to indentation" key in copy mode to move the cursor to the firstNicholas Marriott
non-whitespace character. ^ with vi and M-m with emacs key bindings. Another from Kalle Olavi Niemitalo, thanks.
2009-07-12Merge three copies of identical code to move the cursor x position into aNicholas Marriott
single function, from Kalle Olavi Niemitalo.
2009-07-12If it exist, load a system-wide configuration file /etc/tmux.conf before anyNicholas Marriott
user-specified one.
2009-07-11Limit the history to hlimit not hlimit - 1. This makes a history-limit settingNicholas Marriott
of 0 work as expected.
2009-07-11Add -r to the synopsis of the paste-buffer command, prompted by jmc.Nicholas Marriott
2009-07-11When pasting, translate \n into \r. This matches xterm and putty's behaviour,Nicholas Marriott
and makes emacs happy when pasting into some modes. A new -r (raw) flag to paste-buffer pastes without the translation. From Kalle Olavi Niemitalo, thanks!
2009-07-11Copy was using the real line length which after resize can be larger than theNicholas Marriott
screen width. When built with -DDEBUG, this made the grid bounds checking code kill the server. Restrict copying to the actual width. From Kalle Olavi Niemitalo, thanks.
2009-07-10paste-buffer -d was not documented. From Kalle Olavi Niemitalo.Nicholas Marriott
2009-07-10Redraw the status line after renaming a session (it may contain the name).Nicholas Marriott
2009-07-10Don't send initialisation strings is1/2/3 (barely anything else does) and moveNicholas Marriott
smcup to the first and rmcup to the last sequences output to the terminal. This allows tmux to use the alternate screen (smcup/rmcup) when available.
2009-07-10billenium was in september, apparently;Jason McIntyre
from Mikolaj Kucharski
2009-07-10Add a default-terminal option to set the starting value of $TERM in newNicholas Marriott
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.
2009-07-10Document display-time option which seems to have been missed.Nicholas Marriott
2009-07-09When the terminal size is reduced horizontally, don't truncate lines to the newNicholas Marriott
width, so that if the same lines are later increased in size the content reappears.
2009-07-09Cursor up and down should be limited by the scroll region (cuu should stop atNicholas Marriott
the scroll region top if starting from below it and cud stop at the bottom if starting from above). Fixes another vttest test.
2009-07-09New command, if-shell (alias if). Executes the tmux command in the secondNicholas Marriott
argument if the shell command in the first succeeds, for example: if "[ -e ~/.tmux.conf.alt ]" "source .tmux.conf.alt" Written by Tiago Cunha, many thanks.
2009-07-09Stop in the right place so all the lines selected are copied. Reported by KalleNicholas Marriott
Olavi Niemitalo, thanks.
2009-07-09Don't leak FILE * on malloc failure. From ivoire at users dot sourceforge ↵Nicholas Marriott
dot net.
2009-07-09Change inserting and deleting lines inside the scroll region to properly clearNicholas Marriott
lines that should be inserted/deleted but not moved. Fixes problems with mutt reported by Brian Lewis, thanks.
2009-07-09Tidy by removing unused argument from grid_view_{insert,delete}_line_regionNicholas Marriott
functions (currently don't fully work, this is to make fix easier).
2009-07-08Fix two memory leaks when assigning shell variables in configurationNicholas Marriott
file/command prompt. From Tiago Cunha.
2009-07-08Add POSIX-compliant fuser mode to fstat. Originally based onTodd C. Miller
a diff from Peter Werner but largely rewritten to use kinfo_file2. OK deraadt@ with man fixes from jmc@ and sobrado@
2009-07-08When reinitialising the screen, do not omit to clear the last line.Nicholas Marriott
2009-07-08Just appending -l to $SHELL to create a login shell is wrong: -l is not POSIX,Nicholas Marriott
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.
2009-07-08sync to 1.7.23: fixed const-nessesIngo Schwarze
2009-07-08sync to 1.7.21: unified escape sequence validation for mdoc and manIngo Schwarze
checking is still incomplete, but a bit better, in particular for man now in sync with 1.7.22: the only 1.7.22 diff was already in
2009-07-07Don't let ambiguous commands override an exact alias match: eg if commandsNicholas Marriott
"abc-1", "abc-2", "abc-3" exist and "abc-3" has the alias "abc", "tmux abc" should execute abc-3, not complain about the command being ambiguous. Not a problem at the moment but will be soon.
2009-07-07Rename the global options variables to be shorter and to make session optionsNicholas Marriott
clear. No functional change, getting this out of the way to make later options changes easier.
2009-07-07Handle empty or unset TERM correctly; also fix a fatal() message while here.Nicholas Marriott
2009-07-07When sending a "protocol mismatch" error message, tell the client to exitNicholas Marriott
afterwards, otherwise it hangs.
2009-07-07..couldn't resist..Jasper Lievisse Adriaanse