aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* flex: add missing ifdef magic to create/hide prototypesUlrich Spörlein2010-10-241-1/+23
| | | | | | | | | | This unbreaks build for some software with higher WARNS flags. Reviewed by: rpaulo PR: bin/139319 (parts already committed in previous revision) Notes: svn path=/head/; revision=214272
* Fix typo in last commit.Gleb Smirnoff2010-10-211-1/+1
| | | | | | | Submitted by: bcr Notes: svn path=/head/; revision=214174
* Document possibility to read from stdin.Gleb Smirnoff2010-10-211-1/+5
| | | | Notes: svn path=/head/; revision=214140
* Make it possible to read input from stdin.Gleb Smirnoff2010-10-211-2/+4
| | | | | | | | | Without this change I don't see a way to unpack a multivolume archive without wasting disk space for a temporary file. Notes: svn path=/head/; revision=214137
* mdoc: make pages render with mandocUlrich Spörlein2010-10-211-1/+1
| | | | | | | | | It's a bit more pedantic regarding .Bl list elements. This has an added benefit of unbreaking the ipfw(8) manpage, where groff was silently skipping one list element. Notes: svn path=/head/; revision=214132
* Get rid of hand-rolled closefrom(3).Ed Schouten2010-10-201-2/+1
| | | | Notes: svn path=/head/; revision=214115
* Remove setpgid() call before executing child process.Ed Schouten2010-10-201-1/+0
| | | | | | | | | | | | Using a separate process group here is bad, since (for example) job control in the TTY layer prevents interaction with the TTY, causing the child process to hang. Mentioned on: current@ MFC after: 2 weeks Notes: svn path=/head/; revision=214105
* MFV: nc(1) from OpenBSD 4.8.Xin LI2010-10-191-1/+1
| | | | | | | | | | | While I'm there, bump WARNS level to 2 as the vendor have the right printf format string now. MFC after: 1 month Obtained from: OpenBSD Notes: svn path=/head/; revision=214047
* Replace spaces by a tab after the date.Frederic Culot2010-10-181-1/+1
| | | | | | | | Reported by: gavin@, brucec@ Approved by: sahil@ (mentor) Notes: svn path=/head/; revision=214027
* "b64decode -r" did not handle arbitary breaks in base64 encodedEdwin Groothuis2010-10-181-5/+31
| | | | | | | | | | | | | | | | | | | | | | | data. White space should be accepted anywhere in a base64 encoded stream, not just after every chunk (4 characters). Test-scenario: VmVsb2NpdHkgUmV3YXJkcw== and VmVsb2NpdHkgUmV3YXJkcw == should both produce "Velocity Rewards" PR: bin/124739 Submitted by: Mark Andrews <marka@isc.org> MFC after: 2 weeks Notes: svn path=/head/; revision=214010
* Stylify of uudecode(1)Edwin Groothuis2010-10-181-29/+35
| | | | | | | | | | Part of PR bin/124739. PR: bin/124739 Submitted by: Mark Andrews <marka@isc.org> Notes: svn path=/head/; revision=214002
* Add myself to calendar.freebsd.Frederic Culot2010-10-171-0/+1
| | | | | | | Approved by: sahil@ (mentor) Notes: svn path=/head/; revision=213990
* Correct some typos in comments, no functional changes.Benedict Reuschling2010-10-164-10/+10
| | | | Notes: svn path=/head/; revision=213927
* Update manual with regarding to the status of calendars/calendar.judaic.Edwin Groothuis2010-10-142-5/+4
| | | | Notes: svn path=/head/; revision=213875
* s/sytem/system in comments, no functional changes.Benedict Reuschling2010-10-138-8/+8
| | | | | | | Reviewed by: alfred@ Notes: svn path=/head/; revision=213799
* Don't define the input() function ifdef YY_NO_INPUT.Rui Paulo2010-10-131-0/+2
| | | | | | | | | This was previously done for the input() function. Submitted by: Norberto Lopes <nblopes.ml at gmail.com> Notes: svn path=/head/; revision=213764
* Upgrade xz to git snapshot as of 20101010Martin Matuska2010-10-111-1/+3
| | | | | | | | Approved by: delphij (mentor) MFC after: 1 month Notes: svn path=/head/; revision=213700
* Add -D (deterministic) option to ar.Tim Kientzle2010-10-094-9/+40
| | | | | | | | | | | | When set, it forces all timestamps and owners to zero and modes to 0644. Useful for producing libraries that are bitwise identical across multiple build runs. Submitted by: Erik Cederstrand Reviewed by: Kai Wang Notes: svn path=/head/; revision=213643
* Remove superfluous cast in usr.bin/netstat/sctp.c.Dimitry Andric2010-10-081-1/+1
| | | | | | | | | Found by: clang Submitted by: Norberto Lopes, nlopes dot ml at gmail dot com Approved by: rpaulo (mentor) Notes: svn path=/head/; revision=213620
* mdoc: drop redundant .Pp and .LP callsUlrich Spörlein2010-10-088-10/+0
| | | | | | | They have no effect when coming in pairs, or before .Bl/.Bd Notes: svn path=/head/; revision=213573
* Add the ability to display specific manual pages if passed on theGordon Tetlow2010-10-072-0/+21
| | | | | | | | | | | | commandline. This mirrors the old (undocumented) GNU man functionality. Also document this feature in the implementation notes section of the manpage. Submitted by: arundel Approved by: wes (mentor implicit) Notes: svn path=/head/; revision=213507
* Remove hack needed by 6.x machines and older machines to run newerWarner Losh2010-10-061-22/+1
| | | | | | | | | makes on FreeBSD/pc98. The need for this hack has passed. If you are one of the rare people that may need this, then you should setenv MACHINE=pc98 as a workaround. Notes: svn path=/head/; revision=213494
* Use more portable errx instead of errc. The latter doesn't buy usWarner Losh2010-10-061-4/+2
| | | | | | | | anyting anyway, since the error EAGAIN's error message doesn't add anything to the error strings that are there now. Notes: svn path=/head/; revision=213493
* Add myself to calendar.freebsd and committers-src.dot.Sergey Kandaurov2010-10-061-0/+1
| | | | | | | Approved by: avg (mentor) Notes: svn path=/head/; revision=213482
* Fix regex for some socket- and acl-related syscall values.Alexander Leidinger2010-10-061-2/+2
| | | | | | | | | Submitted by: Mikhail <hidden.node@gmail.com> PR: 149295 MFC-after: 2 weeks Notes: svn path=/head/; revision=213479
* If LANG/LC_CTYPE/LC_ALL is set and the localized man page contains a pageGordon Tetlow2010-10-061-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | also in the base set, the man utility when invoked with -a would display pages for each locale in the same tree: $ LANG=en_GB.ISO8859-15 man -wa man /usr/share/man/en.ISO8859-15/man1/man.1.gz /usr/share/man/man1/man.1.gz /usr/share/man/en.ISO8859-15/man7/man.7.gz /usr/share/man/man7/man.7.gz Use continue to break out of the loop for the current locale. This results in behavior more closely matching the old GNU man implementation: $ LANG=en_GB.ISO8859-15 man -wa man /usr/share/man/en.ISO8859-15/man1/man.1.gz /usr/share/man/en.ISO8859-15/man7/man.7.gz This will still search for a copy of the file in other manual path locations. If there was a /usr/local/man/man1/man.1.gz file, it would still be displayed. This is also consistent with the GNU man implementation. Submitted by: arundel Approved by: wes (mentor implicit) Notes: svn path=/head/; revision=213470
* Recognize both ! and ^ as markers for negated character classes.Tim Kientzle2010-10-061-2/+2
| | | | | | | Submitted by: Mykola Dzham Notes: svn path=/head/; revision=213469
* SEE ALSO should sorted by manpage section first.Christian Brueffer2010-10-051-2/+2
| | | | Notes: svn path=/head/; revision=213460
* Add reference to intro(1) in SEE ALSO section.Gordon Tetlow2010-10-051-0/+1
| | | | | | | | PR: docs/151216 Approved by: wes (mentor, implicit) Notes: svn path=/head/; revision=213454
* Show hostcache statistics.Ruslan Ermilov2010-10-051-0/+3
| | | | | | | Submitted by: Maxim Dounin Notes: svn path=/head/; revision=213440
* Retire GNU man in favor of the newly written BSDL version.Gordon Tetlow2010-10-031-1/+3
| | | | | | | Approved by: wes (mentor) Notes: svn path=/head/; revision=213391
* Fix up whatis/apropos issue displaying all output on a single due toGordon Tetlow2010-10-021-2/+2
| | | | | | | | | | forgotten quotes. Submitted by: Brandon Gooch Approved by: wes (mentor, implicit) Notes: svn path=/head/; revision=213349
* Implementaiton of man, manpath, whatis, and apropos written entirely in sh.Gordon Tetlow2010-10-016-0/+1510
| | | | | | | | | | | | | | | | | | | | | Features of this new version in favor of the old one: BSD licensed -- old one is GPL. Imports configuration from /etc/man.conf and LOCALBASE/etc/man.d/*.conf allowing ports to extend the base functionality. The pluggable configuration can supplement the manual search path (retiring use.perl), add locales, and override language specific toolsets (attempt to merge the japanese/man port into the base system as much as possible). Much effort has been made to make this version mirror the functionality of the existing implementation. For 99% of users, it should be a drop in replacement. PR: gnu/143271, gnu/4419 Reviewed by: dougb (previous versions) Approved by: wes (mentor) Notes: svn path=/head/; revision=213317
* If an RCS file is truncated, rcsfile_getdelta() will return NULL. InsteadJohn Baldwin2010-09-301-0/+8
| | | | | | | | | | | | | of faulting, check for NULL. However, returning an error would cause csup to just abort the entire update. Instead, break out of the loop and return ok. The attempts to update the file will trigger a MD5 failure which will cause csup to download the entire file as a fixup. Reviewed by: lulf MFC after: 1 week Notes: svn path=/head/; revision=213300
* tr: Fix '[=]=]' equivalence class.Jilles Tjoelker2010-09-291-1/+1
| | | | | | | | | | | | | | A closing bracket immediately after '[=' should not be treated as special. Different from the submitted patch, a string ending with '[=' does not cause access beyond the terminating '\0'. PR: bin/150384 Submitted by: Richard Lowe MFC after: 2 weeks Notes: svn path=/head/; revision=213284
* Remove copyright strings printed at login time via login(1) or sshd(8).Ed Maste2010-09-281-7/+0
| | | | | | | | | | | | | It is not clear to what this copyright should apply, and this is in line with what other operating systems do. For ssh specifically, printing of the copyright string is not in the upstream version so this reduces our FreeBSD-local diffs. Approved by: core, des (ssh) Notes: svn path=/head/; revision=213250
* Add manpages for clang and tblgen. These were generated from upstream'sDimitry Andric2010-09-274-2/+715
| | | | | | | | | | tools/clang/docs/tools/clang.pod and docs/CommandGuide/tblgen.pod, respectively. Approved-by: rpaulo (mentor) Notes: svn path=/head/; revision=213224
* Make WARNS=6 clean.Marius Strobl2010-09-242-28/+23
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=213099
* Try to adhere to style.Makefile(5).Marius Strobl2010-09-231-4/+6
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=213075
* Remove an explicit assignment of the CFLAGS variable intended forMarius Strobl2010-09-231-1/+0
| | | | | | | | | debugging purposes only. MFC after: 3 days Notes: svn path=/head/; revision=213053
* In the past gunzip(1) write()'s after each inflate return. This isXin LI2010-09-231-0/+2
| | | | | | | | | | | | | | | | | not optimal from a performance standpoint since the write buffer is not necessarily be filled up when the inflate rountine reached the end of input buffer and it's not the end of file. This problem gets uncovered by trying to pipe gunzip -c output to a GEOM device directly, which enforces the writes be multiple of sector size. Sponsored by: iXsystems, Inc. Reported by: jpaetzel MFC after: 2 weeks Notes: svn path=/head/; revision=213044
* And now the 2nd part of the patch: Also fix the year.Edwin Groothuis2010-09-221-1/+1
| | | | | | | | PR: 150504 Submitted by: Douglas Berry <bitnix@bitnix.ca> Notes: svn path=/head/; revision=213033
* Fix location of the Battle of the Plains of AbrahamEdwin Groothuis2010-09-221-1/+1
| | | | | | | | | PR: 150504 Submitted by: Douglas Berry <bitnix@bitnix.ca> MFC after: 1 week Notes: svn path=/head/; revision=213032
* Add myself as a ports committerSunpoet Po-Chuan Hsieh2010-09-221-0/+1
| | | | | | | Approved by: pgollucci (mentor) Notes: svn path=/head/; revision=213001
* Add Simplified Chinese messages for BSD grep.Xin LI2010-09-202-0/+14
| | | | Notes: svn path=/head/; revision=212927
* Upgrade our Clang in base to r114020, from upstream's release_28 branch.Dimitry Andric2010-09-201-4/+8
| | | | | | | Approved-by: rpaulo (mentor) Notes: svn path=/head/; revision=212904
* Fix the grammar after I added a second environmental variable.David E. O'Brien2010-09-191-1/+1
| | | | | | | Submitted by: wxs Notes: svn path=/head/; revision=212832
* Increase the hostname display width. Many machines are namedDavid E. O'Brien2010-09-161-2/+2
| | | | | | | | with >12 characters. This still allows for 80 column output with load averages of 99.99, 99.99, 99.99. Notes: svn path=/head/; revision=212771
* + Add the SCRIPT environmental variable to the sub-shell. Its value isDavid E. O'Brien2010-09-162-0/+20
| | | | | | | | | | | the name of the typescript file. + Add the 'command' argument (if supplied on the command line) to the typescript file. This creates a more complete typescript when invoked this way - more equal to invoking script without supplying the 'command' argument. Notes: svn path=/head/; revision=212770
* Fix indenting of the previous commit.Rui Paulo2010-09-161-4/+4
| | | | Notes: svn path=/head/; revision=212728