summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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.
2011-12-27Reset flags on every loop or it is displayed too often, from ChrisNicholas Marriott
Johnsen.
2011-12-26Document whatis(1) -S and -s; leading, trailing, and double colonsIngo Schwarze
in the MANPATH; and the new whatis.index file. Include some synching to apropos(1) and to the usage() string. Use some feedback from jmc@.
2011-12-26Do not skip manuals shared across architectures when building databases.Ingo Schwarze
2011-12-26Copy from src/usr.bin/whatis, not changing the content yet.Ingo Schwarze
Since the code is moving from src/usr.bin/whatis/whatis.c to src/usr.bin/mandoc/apropos.c, the manual will move with it. The old copy will be removed after switching over. ok jmc@
2011-12-25Update the whatis.db database format.Ingo Schwarze
While here, reference apropos(1) from the description, inspired by the makewhatis(8) manual.
2011-12-25State default usage before listing arguments of a utility;Ingo Schwarze
from kristaps@, ok jmc@.
2011-12-25Plug a memleak and constify some strings; from kristaps@.Ingo Schwarze
2011-12-25Accept "makewhatis" as an alias for "mandocdb".Ingo Schwarze
2011-12-25Use the traditional name "whatis.db" for the mandocdb(8) databases.Ingo Schwarze
Requested by deraadt@, ok kristaps@. CAUTION: If you run "sudo mandocdb" after this, the old apropos(1) and whatis(1) will not work any longer. To get temporary copies of the new ones, run: cd /usr/bin; rm -f apropos whatis; ln -s mandoc apropos; ln -s mandoc whatis
2011-12-25For binary compatability of the databases across architectures,Ingo Schwarze
use pointers to arrays, not pointers to structs. It is now possible to create databases on sparc64 and use them on i386 and vice versa. Kristaps@ can't think of anything else that might be required, either. Put this in now such that we can move on.
2011-12-25Implement test mode (makewhatis -t), required for pkg_create(8).Ingo Schwarze
Always do all consistency checks; when any one fails, decide whether to print a message, or skip the file, or both, or none. While here, do some cleanup as well: * Bail out on conflicting options. * Do not crash with -a if there are plain files in the root dir. * Collect some related variables into structs. Feedback and OK kristaps@.
2011-12-24Support leading, trailing and double colons in MANPATHIngo Schwarze
to prepend, append or insert the man.conf(5) default path; compatible with GNU manpath(1), implementation by kristaps@, heavily tweaked by me.