summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-07-20Tweak unbind-key language very slightly.Nicholas Marriott
2009-07-20Display the number of failed password attempts (if any) when the server isNicholas Marriott
locked. From Tom Doherty.
2009-07-20Add a status-justify option to allow the window list in the status line to beNicholas Marriott
positioned at the left, centre, or right.
2009-07-20New options, window-status-current-{fg,bg,attr}, to set the fg, bg andNicholas Marriott
attributes with which the current window is shown in the status line. From Johan Friis, thanks.
2009-07-20Kill some dead stores and fix a null pointer deref, found by clang.Nicholas Marriott
2009-07-20Move the offsets as well when swapping panes.Nicholas Marriott
2009-07-19Missed these in sudo sudo 1.7.2 update.Todd C. Miller
2009-07-19Fix expansion of %h in #include names.Todd C. Miller
2009-07-19missing va_end in abuf_dprn. ok ratchov@Martynas Venckus
2009-07-19remove BUILTIN/SHELL cruft that used to be needed for sh, which isMartynas Venckus
gone; and killed in csh w. rev. 1.7. ok millert@
2009-07-19tweak previous;Jason McIntyre
2009-07-19Improved layout code.Nicholas Marriott
Each window now has a tree of layout cells associated with it. In this tree, each node is either a horizontal or vertical cell containing a list of other cells running from left-to-right or top-to-bottom, or a leaf cell which is associated with a pane. The major functional changes are: - panes may now be split arbitrarily both horizontally (splitw -h, C-b %) and vertically (splitw -v, C-b "); - panes may be resized both horizontally and vertically (resizep -L/-R/-U/-D, bound to C-b left/right/up/down and C-b M-left/right/up/down); - layouts are now applied and then may be modified by resizing or splitting panes, rather than being fixed and reapplied when the window is resized or panes are added; - manual-vertical layout is no longer necessary, and active-only layout is gone (but may return in future); - the main-pane layouts now reduce the size of the main pane to fit all panes if possible. Thanks to all who tested.
2009-07-19Hook up "text" (executable) output and implement for fuser too.Todd C. Miller
Man page bits adapted from FreeBSD. OK miod@
2009-07-19The abbreviation for .Bf -symbolic is .Bf Sy, not .Bf Sm;Ingo Schwarze
"Gah! Fixed." kristaps@
2009-07-18Kristaps was so happy about .Bl -hang support ("the last major missingIngo Schwarze
formatting feature") that he bumped the version from 1.7 to 1.8. We are now in sync with release 1.8.0. There is lots of work left, though, before we can use this in production...
2009-07-18sync to 1.8.0: a couple of cosmetic fixes:Ingo Schwarze
1) use \(hy instead of \- for .Bl -hyphen (renders the same in -Tascii) 2) clear bold flag after printing the -bullet or -hyphen in .Bl (actually, the flags will be reinitialized in termp_it_post, anyway) 3) do not redo the work of the parser in termp_rv_pre and termp_ex_pre (instead, just assert() validity of the parse tree) 4) do not bother assigning to the offset in termp_ss_post (it will soon be reinitialized in print_node, anyway)
2009-07-18sync to 1.8.0: support -offset [0-9]+n and -offset [0-9]+mIngo Schwarze
(not documented in mdoc.samples, but used in mdoc.samples) while here, do some cleanup in arg_offset and arg_width
2009-07-18sync to 1.8.0: lots of minor changesIngo Schwarze
2009-07-18sync to 1.8.0: support .Bl -hangIngo Schwarze
2009-07-18ps is an argumentIgor Sobrado
2009-07-18sync to 1.8.0: a bad .St argument causes an error, not a warningIngo Schwarze
2009-07-18sync to 1.8.0: white space fixes, no code changeIngo Schwarze
2009-07-18sync to 1.8.0: move mdoc_a2att, mdoc_a2st, and mdoc_a2lib to libmdocIngo Schwarze
2009-07-18sync to 1.8.0: for .Fo, do not print a blank before '('Ingo Schwarze
2009-07-18sync to 1.8.0: two .Vd in SYNOPSIS get a line break in between,Ingo Schwarze
but not a blank line; as before, the last .Vd in SYNOPSIS is still followed by a blank line, and .Vd outside SYNOPSIS breaks no lines
2009-07-18sync to 1.8.0: replace macro function declarations by real ones, and sort themIngo Schwarze
2009-07-18sync to 1.8.0: cleanup: remove offset and rmargin from termpairIngo Schwarze
2009-07-18sync to 1.8.0: remove ambiguous TERMPAIR_SETFLAG macro and set flags manuallyIngo Schwarze
2009-07-18sync to 1.8.0: consolidated Bsx, Dx, Fx, Nx, Ox, Ux into one common functionIngo Schwarze
2009-07-18sync to 1.8.0: avoid duplicate warning about a malformed NAME sectionIngo Schwarze
when the next section following NAME is a custom section
2009-07-18sync to 1.8.0: .Nd is now a BFI, was an ELEM,Ingo Schwarze
and use \(en instead of \- for .Nd
2009-07-18Add three new session options: visual-activity, visual-bell, visual-content. IfNicholas Marriott
these are enabled (and the monitor-activity, bell-actio and monitor-content options are configurated appropriately), when activity, a bell, or content is detected, a message is shown. Also tidy up the bell/activity/content code in server.c slightly and fix a couple of errors.
2009-07-18sync to 1.8.0: <sys/types.h> needed for u_char; <uqs at spoerlein dot net>Ingo Schwarze
2009-07-18Don't assign NULL to an integer type, use 0 instead.Jonathan Gray
No binary change.
2009-07-18restore -S as toggle;Jason McIntyre
from Mark Lumsden ok oga
2009-07-17Make it so using kill-pane to destroy the last pane in a window destroys theNicholas Marriott
window instead of being an error.
2009-07-17- New command display-message (alias display) to display a message in theNicholas Marriott
status line (bound to "i" and displays the current window and time by default). The same substitutions are applied as for status-left/right. - Add support for including the window index (#I), pane index (#P) and window name (#W) in the message, and status-left or status-right. - Bump protocol version. From Tiago Cunha, thanks!
2009-07-17When resizing a screen smaller in alternate screen mode, all the lines neededNicholas Marriott
could be consumed by deleting from the bottom, leaving none to be removed from the top. In this case, don't call grid_view_delete_lines with ny of 0 as this is incorrect and causes a bounds check to fatal error if built with -DDEBUG.
2009-07-17be more careful with parsing format string. we can't do multipleMartynas Venckus
widths or precisions. fixes crash reported by Maksymilian Arciemowicz, where printf(3) took more args from stack than printf(1) passed it. behavior consistent with linucses and ieee 1003.1-2001. ok millert@, otto@
2009-07-17Tidy up new-session and attach-session and change them to work from insideNicholas Marriott
tmux, switching the current client to the new or requested session. Written with Josh Elsasser.
2009-07-17revert 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-17Remove a duplicate key binding, and turn off autorepeat for up/down as it isNicholas Marriott
kind of annoying by default.
2009-07-17If -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-17Oops, it is always a good idea to get arguments the right way round.Nicholas Marriott
2009-07-17A similar for fix for window_choose: don't rely on the callback always beingNicholas Marriott
called to free data, have a separate free callback and call it from the mode cleanup code.
2009-07-17Memory could be leaked if a second prompt or message appeared while another wasNicholas 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-16Remove some duplicate code that was causing the status line to be redrawn evenNicholas Marriott
when it hadn't changed.
2009-07-16make the inet6 output a little more like everything else.Ted Unangst
ok deraadt + a small fix from damien
2009-07-16Fix arguments to switch-client.Nicholas Marriott
2009-07-16use argument name for -T consistently in synopsis and description.Igor Sobrado
ok jmc@