summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2012-01-17Allow pkill to use the -l option. This displays which processes have beenlum
signalled using the "Long" format, like pgrep. Original diff from FreeBSD, modified somewhat on tech@, with feedback from nicm@ Man page input from jmc@
2012-01-17Change the exit value on errors to be more 4.4BSD like. Use the sum oflum
errors up to a maximum of 127, then to do not increment anymore, though programme execution continues. Use 127 as a maximum because error codes above this are: 1. bad because of signed bugs in programs. 2. used as the traditional shell $? representation of "kill by signal" where $? = 128 + signal. (from deraadt@ and guenther@ respectively)
2012-01-17Did Richard Stallman suggest the name change AND the new name "mg"? This islum
the only place where I can find a reference to Richard suggesting the name itself, I suspect it is an error. Unfortunately Richard cannot remember. No definitive information from tech@ (yet) Also make some lines wrap better.
2012-01-16Fix a memory leak in pkcs11_rsa_private_encrypt(), reported by Jan Klemkow.Miod Vallat
While there, be sure to buffer_clear() between send_msg() and recv_msg(). ok markus@
2012-01-16Backout activation of the new apropos(1)/whatis(1)/makewhatis(8).Ingo Schwarze
In its current state, it causes too much slowdown, in particular during system builds, and there are other regressions. That cannot be fixed quickly while it's enabled. Problems pointed out by espie@, backout requested by deraadt@, diff "looks good" to espie@.
2012-01-15Document what remains of the 2BSD heritage.Ingo Schwarze
All facts found on the CSRG CD 1 in the 2bsd directory. Feedback and ok jmc@, ok sobrado@. Note the large number of 3BSD -> 2BSD changes. Kirk McKusick asked Cynthia Livingston (cael@, of USENIX, who converted most manuals from man(7) to mdoc(7) for the 4.3BSD-Net/2 release and added lots of historical information around that time) what happened in this respect, and she answered that she often wrote "appeared in 3BSD" when she was unsure of when a utility was added. Thanks to Kirk and Cynthia for that clarification.
2012-01-15Calculate last position correctly for UTF-8 wide characters, reported byNicholas Marriott
Matthias Lederhofer.
2012-01-15Two details improving the quality of the Xenocara mandoc database,Ingo Schwarze
also helping a bit in ports land: 1) Do not skip manuals for section mismatches; use the section where the file is actually located. 2) Always use the file name as an .Nm search key.
2012-01-15When we only rotate a log file once a month, the "next rotate" outputPeter Hessler
shows the current month, even when that date has passed. Fix to show the correct rotation date. pointed out by jeremy@ OK jeremy@, guenther@, miod@
2012-01-15Document the EXIT STATUS and remove an outdated related comment.Ingo Schwarze
While here, * as usual, the "first appeared" clause requires fixing, and * mention the date of the original implementation, using information from the CSRG archive CD 1. Triggered by a question asked by lum@, feedback and ok jmc@.
2012-01-14add/fix HISTORY and AUTHORSIngo Schwarze
2012-01-14remove unused variables, from Michael W. Bombardieri, thanks!Alexandre Ratchov
2012-01-10Continue using the traditional name makewhatis(8),Ingo Schwarze
do not rename to mandocdb(8): Even though there is some additional functionality, the basic purpose remains the same. Requested by espie@; "decide fast" deraadt@.
2012-01-10Rename file from mandocdb.8; no change of content yet.Ingo Schwarze
2012-01-10Fix the way the mixer figures out which groups of streams haveAlexandre Ratchov
common channels and thus need to share their dynamic range. Fixes, unnecessarily decreased volume in some theoretical cases.
2012-01-10hide "device disappeared" messages unless -d is usedAlexandre Ratchov
2012-01-10When a sub-device is created (-s), check if a hardwareAlexandre Ratchov
device was already created (-f) before trying to use the default one, otherwise all sub-devices end up attached to the default device. Noticed by peters at schwertfisch.de, thanks!
2012-01-09Stop -W from complaining about MLINKs; only warn when a fileIngo Schwarze
seems inaccessible by its main title. This reduces the number of warnings in base to about 140, which is already low enough to find a couple of actual problems among the noise.
2012-01-09Rename whatis.{db,index} back to mandoc.{db,index}Ingo Schwarze
such that makewhatis(8) called from pkg_delete(1) does not fail trying to open old-style whatis.db files as btree(3). Suggested by espie@ deraadt@ millert@
2012-01-08Fix memory leak in ssh_ecdsa_verify(); from Loganaden Velvindron, ok markus@Miod Vallat
2012-01-07fix double-free in new session handlerDamien Miller
2012-01-07Improve handling of relative paths, letting invocations like theIngo Schwarze
following one reindex certain files in a local tree: makewhatis -d mytree mytree/*/foo*.*
2012-01-07tweak previous;Jason McIntyre
2012-01-07Add rtable id and thread id to struct kinfo_proc (and fix process id)Philip Guenthe
and add an 'rtableid' keyword to ps. Add rtable id, thread id, and socket splice info to struct kinfo_file2 and make fstat display socket splice information. Remove old KVM_PROC2 and kinfo_proc2 interfaces; bump libkvm major Socket splice info and corrections from bluhm@ "Lovely" deraadt@
2012-01-05Enable the new apropos(1), whatis(1), and makewhatis(8).Ingo Schwarze
Unlink the old apropos(1), whatis(1), and makewhatis(8) from the build. Call the new tools from pkg_create(1) and pkg_add(1). "Please enable it now." deraadt@
2012-01-05Do not truncate the production database when starting to build a new one,Ingo Schwarze
because that would break apropos(1) during the build, and if the build fails, you would be left without any database at all. Instead, build the database in temporary files in the same directory and rename(2) them into place when they are ready. Suggested by deraadt@. There is still a tiny race between the two rename(2)s; if that's a problem, we can solve it later using locking. Put this in now such that we can move on.
2012-01-05improve EXAMPLES; feedback and ok jmc@Ingo Schwarze
2012-01-05Small tweaks for precision; lots of feedback from jmc@.Ingo Schwarze
Update usage() as well; reminded by jmc@. Mention the manwhere(1) predecessor in 1BSD; suggested by kristaps@. OK jmc@.
2012-01-05When iterating a TAILQ list replacing elements,Ingo Schwarze
get a pointer to the next element before freeing the previous one, do not access free'd pointers. Problem found the hard way by fgsch@ running "man -a x" with malloc.conf -> S on amd64. ok deraadt@
2012-01-05-execdir only supports the first form of -exec with ; suffix, not the newStuart Henderson
form with {} + suffix; make this clear in the manual. Text suggested by jmc@
2012-01-05Fix typos in comment (s,exacty,exactly,)Stuart Henderson
2012-01-05memleak on error pathDamien Miller
2012-01-04Heads of .It macros in -diag lists are not parsed,Ingo Schwarze
even though .It macros in general are parsed. Fixing a bug reported by deraadt@, based on an incomplete fix by kristaps@, and update the test suite to catch this issue.
2012-01-03Support .St -isoC-2011 to refer to ISO C11.Ingo Schwarze
From Ulrich Spoerlein, tweaked by kristaps@. Werner Lemberg added the same .St argument to groff today.
2012-01-03- use more consistent markupJason McIntyre
- reformat the list of primaries such that the two -exec items are listed without vertical whitespace seperating them
2012-01-02Add support for "find ... -exec foo {} \+".Pascal Stumpf
From the manpage: If terminated by a plus sign (``+''), the pathnames for which the primary is evaluated are aggregated into sets, and utility will be invoked once per set, similar to xargs(1). If any invocation exits with non-zero exit status, then find will eventually do so as well, but this does not cause find to exit early. The string ``{}'' must appear, and must appear last. Each set is limited to no more than 5,000 pathnames, and is also limited such that the invocation of utility does not exceed ARG_MAX. Code comes from NetBSD, written by John Hawkinson. Tested by eivinde at terraplane dot org and myself for quite some time. ok miod@
2012-01-02update currency exchange rates;Jason McIntyre
2012-01-01Add the missing EXIT STATUS section and lots of new informationIngo Schwarze
regarding HISTORY and AUTHORS. ok jmc@
2011-12-31Fix HISTORY and AUTHORS of another 1BSD utility that i missed at first;Ingo Schwarze
information found on the CSRG archive CDs, 1bsd directory and SCCS files; feedback and ok sobrado@, ok jmc@.
2011-12-31Add a man page section on window names and pane titles, from FelixNicholas Marriott
Rosencrantz.
2011-12-30Show how to set default-path to revert to tmux's old behaviour of openingStuart Henderson
new windows in the current working directory at the time tmux was started, it's not obvious. naddy@ agrees this is a useful inclusion.
2011-12-29Add CNL and CPL escape sequences.Nicholas Marriott
2011-12-28Complete documenting the HISTORY of what remains of the 1BSD heritage;Ingo Schwarze
actually, the number of programs is quite small, about ten all told. feedback mckusick@, feedback and ok sobrado@, ok jmc@
2011-12-28As pointed out by Dan Rosenberg our telnet client has the sameJonathan Gray
overflow when using encryption as the recent FreeBSD advisory. Use the same approach taken in FreeBSD to protect against malicious servers. ok miod@
2011-12-28These utilities were already part of 1BSD, and some authors are known.Ingo Schwarze
All facts from the CSRG archive CD 1, also available from minnie.tuhs.org. Feedback and OK sobrado@, ok jmc@. Kirk McKusick writes: "Bill usually used "Bill Joy" when listing author information. Only occationally did he choose to use William Joy. So, I would recommend using Bill Joy." So i'm using that here even though some of the original files related to this commit do contain the form "William Joy".
2011-12-28Some parsing improvements from kristaps@:Ingo Schwarze
* Accept multiple lines in cat page NAME parsing. * Do not trim the description to 70 characters in the database. * Instead, limit the length of the description during output. * In man(7), accept \-\- as a Nm-Nd separator; occurs in 3p.
2011-12-27Allow $HOME as default-path in tmux.conf so the same config file can be usedStefan Sperling
on different machines regardless of where the user's home directory is. ok nicm
2011-12-27Add \033[s and \033[u to save and restore cursor position.Nicholas Marriott
2011-12-27Move some global variables/statics to locals, from Michael WNicholas Marriott
Bombardieri.
2011-12-27Extend history that can be captured to INT_MIN rather thanNicholas Marriott
SHRT_MIN. From Chris Johnsen.