summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2011-03-04kill is_rx_elem_unknown.Federico G. Schwindt
damien@ ok. ports checked by sthen@.
2011-03-04Two fixes by Micah Cowan: make mouse work properly beyond >127 on signedNicholas Marriott
char architectures and properly parse $TMUX by stopping the socket path at the first comma.
2011-03-04add -H (opposite of -h) to always print name. ok deraadt millertTed Unangst
2011-03-03Use dirfd() instead of peeking into struct dirent for dd_fd, which isTodd C. Miller
non-standard.
2011-03-03Fix a typo that meant we did not reset the background colour when it wasNicholas Marriott
omitted in a 256-colour SGR ([48;5m). From Yusuke ENDOH.
2011-03-03Add a -P option to detach to HUP the client's parent process (usuallyNicholas Marriott
causing it to exit as well).
2011-03-02mention -U as global position-independent parameterAlexandre Ratchov
from Remco <remco at d-compu.dyndns.org>, thanks!
2011-03-02Add the socket splicing fields of struct socket to netstat -vPAlexander Bluhm
output for debugging. ok markus@, claudio@
2011-03-02- use a common FIELD_ADDR macro, instead of rolling 78 identical copies.Jasper Lievisse Adriaanse
ok canacar@
2011-03-01add missing word; Jeff RossTheo de Raadt
2011-02-16make hostbased auth with ECDSA keys work correctly. Based on patchDamien Miller
by harvey.eneman AT oracle.com in bz#1858; ok markus@ (pre-lock)
2011-02-13As noticed by Clint Pachl <pachl at ecentryx dot com>,Ingo Schwarze
it is easy to miss a blank character in an example, so explicitely state that whitespace causes the issue; while here, mention that shell metacharacters cause danger as well; ok otto@ sthen@ jmc@
2011-02-12fix from pr 6207. a bit more of an explanation: we write the correctOkan Demirmen
number of bits when connecting via a SOCKS 5 proxy over ipv6, but we also need to read the same number depending on the received address type. this issue is not noticeable with ssh's SOCKS 5 support since it always set the address type as ipv4. this fixes connections via SOCKS 5 proxies which set their address type as ipv6 when using ipv6. after review with, and ok, nicm@
2011-02-10Size on split-window is -l not -s. Doh.Nicholas Marriott
2011-02-10Tbl code maintenance by kristaps@.Ingo Schwarze
- Remember the line-number of a tbl_span, and use it in messages. - Put *_span_alloc() functions right into the *_addspan() ones, since these are the only places they are called from.
2011-02-07Between groff-1.15 and groff-1.20.1, the .Ns macro was changed to noIngo Schwarze
longer suppress spacing when used at the beginning of an input line, and mandoc now follows the same behaviour as new groff. Thus, sweep the tree and remove useless .Ns. Most places found by jmc@; ok jmc@ kristaps@.
2011-02-06Do not break the line between the arguments of .Bsx .Dx .Fx .Nx .Ox .Ux.Ingo Schwarze
Original patch from kristaps@, but i fixed a regression regarding .Bk.
2011-02-06Some pre-handlers produce output, so reorder the code to set upIngo Schwarze
keep flags before they are called. Without this bugfix, .Bk was ineffective in some cases. "looks reasonable" kristaps@
2011-02-06- nm -s omitted the symbol list for first object file in an archive. fix thisJasper Lievisse Adriaanse
by forcing show_symtab() to restore its original file offset after processing. fix from pr #6385. ok miod@
2011-02-06If .Ns is specified on its own line, ignore it, like groff does;Ingo Schwarze
from kristaps@.
2011-02-06Fix NULL dereference with "sudo -g group" when the sudoers rule hasTodd C. Miller
no runas user or group listed.
2011-02-06Remove duplicated prototypes.lum
ok miod@
2011-02-04openssh-5.8Damien Miller
2011-02-04fix uninitialised nonce variable; reported by Mateusz KocielskiDamien Miller
2011-02-03LC_TYPE -> LC_CTYPE; from Alexander PolakovJason McIntyre
2011-02-03Don't require -d with -x or -y since it could be in the config file.Nicholas Marriott
2011-02-03add a reference to the "An Algorithm for Differential File Comparison" paper;Jason McIntyre
diff originally from Daniel Dickman, but otto suggested this paper ok otto millert
2011-02-02Put correct path for tutorial into man page. oops.lum
2011-02-02Move mg(1) tutorial file into a release, instead of languishing in src.lum
ok nick@ schwarze@ miod@ kjell@
2011-01-31cut'n'pasto; from bert.wesarg AT googlemail.comDamien Miller
2011-01-31Redraw pane borders when switching to last pane.Nicholas Marriott
2011-01-31When in a <PRE>, don't print out the <BR> before lines that haveIngo Schwarze
leading whitespace; from kristaps@.
2011-01-31Remove unnecessary conditional: term_alloc() cannot return NULL;Ingo Schwarze
from kristaps@.
2011-01-30Make .Bx accept not more than two arguments.Ingo Schwarze
Convert the first character of the second argument to uppercase. Append the second argument with a hyphen. Improves chpass(1), column(1), fstat(1), ... from kristaps@
2011-01-30Like in groff, if .%B is specified, quote .%T; from kristaps@.Ingo Schwarze
2011-01-30Implement the \N'number' (numbered character) roff escape sequence.Ingo Schwarze
Don't use it in new manuals, it is inherently non-portable, but we need it for backward-compatibility with existing manuals, for example in Xenocara driver pages. ok kristaps@ matthieu@ jmc@
2011-01-30Free old argument even if setting to NULL.Nicholas Marriott
2011-01-29Accept tcgetattr/tcsetattr failure, fixes problems with fatal() if theNicholas Marriott
terminal disappears while locked.
2011-01-28Use input_clear to reset the APC, DCS, OSC state or it could be reusedNicholas Marriott
improperly by a later state. From Kevin Goodsell.
2011-01-26Unused declaration.Nicholas Marriott
2011-01-26Simplify the way jobs work and drop the persist type, so all jobs areNicholas Marriott
fire-and-forget. Status jobs now managed with two trees of output (new and old), rather than storing the output in the jobs themselves. When the status line is processed any jobs which don't appear in the new tree are started and the output from the old tree displayed. When a job finishes it updates the new tree with its output and that is used for any subsequent redraws. When the status interval expires, the new tree is moved to the old so that all jobs are run again. This fixes the "#(echo %H:%M:%S)" problem which would lead to thousands of identical persistent jobs and high memory use (this can still be achieved by adding "sleep 30" but that is much less likely to happen by accident).
2011-01-26Use LIST_* not SLIST_*.Nicholas Marriott
2011-01-25When clearing the entire screen, clear lines that are used into theNicholas Marriott
history like xterm does. Requested ages ago by someone I've forgotten.
2011-01-25Check if the index is in use and fail before creating the child process,Nicholas Marriott
rather than leaving a stray child on failure.
2011-01-25Avoid double blank line before a table preceded by .PP.Ingo Schwarze
ok kristaps@
2011-01-25Since tbl_data() can now produce multiple spans, let parsebuf()Ingo Schwarze
generate man(7) or mdoc(7) nodes for all these spans, not only for the last one. Restores the horizontal lines in the cpu(4/hppa) tables. ok kristaps@
2011-01-25Do not skip data after horizontal lines in the layout.Ingo Schwarze
Instead, let one line of input data add two new spans to the tbl tree during one single call of tbl_data(). Note that this causes the horizontal line to get parsed into the tbl tree, but not yet used in the output, which will be fixed next. Avoids data loss in cpu(4/hppa). ok kristaps@
2011-01-25correct horizontal spacing of data cellsIngo Schwarze
correct alignment of centered cells adjust horizontal rule width to the new spacing ok kristaps@
2011-01-25Ignore .ns (no-space mode), .ps (change point size), .ta (tab control)Ingo Schwarze
for now. All of these just cause a bit too much or too little whitespace, but no serious formatting problems.
2011-01-24Skip carriage return before newline, if any.Ingo Schwarze
As pointed out by Joerg Sonnenberger, this is useful because we use mmap(3) and look for '\n' by hand. "check it in" kristaps@