summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-07-22enum tty_cmd is only used as an index into the array of command functionNicholas Marriott
pointers, so remove it and use the function pointers directly to represent themselves.
2009-07-22There are relatively few arguments to tty_cmd_* functions now, so tidy them upNicholas Marriott
by using a struct rather than hiding everything with varargs.
2009-07-22tty_cmd_raw is only used once, for raw UTF-8 output, so rename it toNicholas Marriott
tty_cmd_utf8character and eliminate the size argument.
2009-07-22enter_user() is only called in one way, rendering the third parameterTheo de Raadt
useless; from mark@cyodesigns.com
2009-07-21Adjust field width to fit longest key when listing.Nicholas Marriott
2009-07-21Remove leftover debug logging of password.Nicholas Marriott
2009-07-21Make some functions which return unused values void (mostly found by lint) andNicholas Marriott
tweak a redundant expression in window_pane_set_mode.
2009-07-21Nix a few unused attributes on arguments which are no longer unused.Nicholas Marriott
2009-07-21Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found byNicholas Marriott
lint.
2009-07-21__progname is not const, pointed out by deraadt.Nicholas Marriott
2009-07-21Tidy up keys: use an enum for the key codes, and remove the macros which justNicholas Marriott
wrap flag sets/clears/tests.
2009-07-21add missing flag to synopsis.Igor Sobrado
2009-07-21Allow systat(1) to resolve names by adding a new -N flag. (The default wasStuart Henderson
changed some time ago). Noticed by landry@, discussed with canacar@ and others. ok deraadt@
2009-07-20Now that #P could be in the status line, flag it for redraw when the activeNicholas Marriott
pane changes.
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.