summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Since the width is always 2, it is enough to put just oneume2009-06-181-2/+2
| | | | | | trailing space is enough. MFC after: 1 week
* Fix column width of weekday names for multibyte locales.ume2009-06-171-9/+18
| | | | | | Noticed by: nyan Discussed with: matusita, takawata MFC after: 1 week
* Add revoke(1).ed2009-06-154-0/+123
| | | | | | | | While hacking on TTY code, I often miss a small utility to revoke my own (pseudo-)terminals. This small utility is just a small wrapper around the revoke(2) call, so you can destroy your very own login sessions. Approved by: re
* Make the chpass Makefile honour NO_FSCHG.ed2009-06-151-3/+4
| | | | | | | | | | The chpass Makefile tried to set the fschg flag on the binaries, even if NO_FSCHG was passed to the installworld. This meant that if I installed FreeBSD into a Jail, I couldn't installworld from within the Jail anymore. Now that it listens to NO_FSCHG, we can just make it bail out when it fails, just like PRECIOUSPROG does.
* Add volatile to sig_atomic_t where it was missing.des2009-06-141-1/+1
| | | | MFC after: 1 week
* Include <sys/module.h> for modfind().ed2009-06-141-0/+1
| | | | Submitted by: Pawel Worach
* Fix bug in zphys offset calculation I introduced while retypingbland2009-06-091-1/+1
| | | | original patch.
* Chase ZFS v13 import changes.bland2009-06-091-1/+2
| | | | | | | This is a temporary fix until we find a way to avoid fstat to be broken each time we change the znode. Approved by: lulf
* Change the behaviour of -F slightly; it now persists (forever) inbrian2009-06-057-107/+144
| | | | | | | | | | | | | | | | | | trying to open files rather than giving up when it encounters an error. ENOENT errors are not reported. As a result, files that are moved away then recreated are not at risk of being 'lost' to tail. Files that are recreated and temporarily have unreadable permissions will be shown when they are fixed. This behaviour is consistent with the GNU version of tail but without the verbiage that goes with the GNU version. This change also fixes error messages accompanying -f and -F. They no longer report problems with (null)! MFC after: 3 weeks
* [patch] calendar.music: Chuck Berry was born in St. Louis, Missouri, not ↵edwin2009-06-041-1/+1
| | | | | | | | | | | | | | | | | California The /usr/bin/calendar program reports that Chuck Berry was born in San Jose California but he was not born in California. Chuck Berry was born in St. Louis, Missouri in 1926 on October 18. http://www.chuckberry.com/about/bio.htm http://www.khaldea.com/charts/chuckberry.shtml http://en.wikipedia.org/wiki/Chuck_Berry PR: conf/128215 Submitted by: comet--berkeley (aka Pablo Picasso) <comet@transbay.net> MFC after: 2 days
* Remove window(1) from the base system.ed2009-06-02103-16640/+0
| | | | | | | | | | | | | | | Some time ago Tom Rhodes sent me an email that he was willing to perform various cleanups to the window(1) source code. After some discussion, we both decided the best thing to do, was to move window(1) to the ports tree. The application isn't used a lot nowadays, mainly because it has been superseeded by screen, tmux, etc. A couple of hours ago Tom committed window(1) to ports (misc/window), so I'm removing it from the tree. I don't think people will really miss it, but I'm describing the change in UPDATING anyway. Discussed with: trhodes, pav, kib Approved by: re
* Add support for the build options that are currently in the port:dougb2009-06-011-0/+5
| | | | | | | WITH_BIND_IDN WITH_BIND_LARGE_FILE WITH_BIND_SIGCHASE WITH_BIND_XML
* - Add Hungarian cataloggabor2009-06-012-1/+186
|
* Change the "-4" option flag to "-e" since it does not refer to IPv4rmacklem2009-06-012-5/+5
| | | | | | and to make it consistent with the flag used by nfsd and mountd. Approved by: kib (mentor)
* Convert the two dimensional array to be malloced and introducebz2009-06-011-11/+14
| | | | | | | | | | | | | | | | an accessor function to get the correct rnh pointer back. Update netstat to get the correct pointer using kvm_read() as well. This not only fixes the ABI problem depending on the kernel option but also permits the tunable to overwrite the kernel option at boot time up to MAXFIBS, enlarging the number of FIBs without having to recompile. So people could just use GENERIC now. Reviewed by: julian, rwatson, zec X-MFC: not possible
* Unbreak buildworld.zec2009-05-311-0/+1
| | | | (not waiting for an approval from mentor (julian) due to emergency)
* rm, find -delete: fix removing symlinks with uchg/uappnd set.jilles2009-05-301-1/+1
| | | | | | | | | | | | Formerly, this tried to clear the flags on the symlink's target instead of the symlink itself. As before, this only happens for root or for the unlink(1) variant of rm. PR: bin/111226 (part of) Submitted by: Martin Kammerhofer Approved by: ed (mentor) MFC after: 3 weeks
* Use prototype for usage(). This makes perror(1) WARNS=6 clean.delphij2009-05-281-2/+2
| | | | Approved by: gnn
* Correct off-by-one issue in truss(1) which happens when system call numberdelphij2009-05-289-9/+9
| | | | | | | | is nsyscalls. PR: bin/134916 Submitted by: Steven Hartland <steven hartland multiplay co uk> MFC after: 2 weeks
* Update ee(1) in the base system to version 1.5.0.ed2009-05-276-7/+9
| | | | | | | | | | | | | | | | | This version is now licensed under a 2-clause BSD license, instead of the Artistic license. I've reverted a lot of local modifications we made to ee, because they have been integrated upstream as well. Only local modifications include: - $FreeBSD$ ID. - Pathname to init.ee. - catopen() call, to honor LC_MESSAGES instead of LANG. To keep SVN happy, I'm putting an application/octet-stream mime type on the KOI8 translations. Reviewed by: current@
* Delete the old USB stack. The new stack has settled in and has all thethompsa2009-05-271-4/+1
| | | | drivers/functionality and then some.
* Add support for the arbitrary named jail parameters used by jail_set(2)jamie2009-05-272-11/+22
| | | | | | | | | | | | | | and jail_get(2). Jail(8) can now create jails using a "name=value" format instead of just specifying a limited set of fixed parameters; it can also modify parameters of existing jails. Jls(8) can display all parameters of jails, or a specified set of parameters. The available parameters are gathered from the kernel, and not hard-coded into these programs. Small patches on killall(1) and jexec(8) to support jail names with jail_get(2). Approved by: bz (mentor)
* Merge local changes to ee(1) into contrib space.ed2009-05-268-6540/+6
| | | | | | | | The source file, manual page and English translation are now directly obtained from the contrib/ directory. This makes it a lot easier to merge a newer version of ee(1) into the tree. Thanks to: des and jhb
* Remove unused curses replacement implementation from ee(1) sources.ed2009-05-262-3989/+0
|
* Bump the document date to reflect the recent address range enhancements.brian2009-05-251-1/+1
| | | | Suggested by: throdes
* Fix kdump build when building it by hand.ed2009-05-251-1/+1
| | | | | | | | | I don't entirely like this approach, but it will only be temporarily, namely until we get rid of COMPAT_43TTY. I do want <sys/ioctl_compat.h> to cause a compiler error when included, because it's just there for binary compatibility. Reported by: Andrzej Tobola <ato iem pw edu pl>
* Add the "-4" option to nfsstat, so that it will reports statsrmacklem2009-05-252-7/+369
| | | | | | for the experimental nfs subsystem when that option is specified. Approved by: kib (mentor)
* Implement "addr1,+N" ranges - not dissimilar to grep's -A switch.brian2009-05-254-18/+39
| | | | | PR: 134856 Submitted by: Jeremie Le Hen - jeremie at le-hen dot org
* A few more style changes as well as a more broad allowance forgnn2009-05-201-27/+19
| | | | | | | errors to be given by the caller. Change output to be easier for use in scripts. Submitted by: bce
* o style.Makefile(5): remove SRCS.maxim2009-05-201-1/+0
|
* Fix a few style(9) nits.gnn2009-05-191-7/+9
| | | | Submitted by: danfe
* Add a new program, perror, which takes an errno as a command line argumentgnn2009-05-194-0/+133
| | | | | and outputs the associated textual message in the same way that perror(3) would if called within a program.
* find: do not silently disable -L when -delete is usedavg2009-05-191-5/+5
| | | | | | | | | | | | | | | | | | First of all, current behavior is not documented and confusing, and it can be very dangerous in the following sequence: find -L . -type l find -L . -type l -delete (the second line is even suggested by find(1)). Instead simply refuse to proceed when -L and -delete are both used. A descriptive error message is provided. The following command can be safely used to remove broken links: find -L . -type l -print0 | xargs rm -0 To do: update find(1) PR: bin/90687 Obtained from: Anatoli Klassen <anatoli@aksoft.net> Approved by: jhb (mentor)
* Reduce diff against my local version: replace malloc+memset() cases to calloc().delphij2009-05-1510-22/+12
|
* Fix print_syscall_ret parameter order.dds2009-05-131-1/+1
|
* Fix compilation error introduced in r192025.dds2009-05-131-1/+2
|
* Add -c option to summarize number of calls, errors, and system time.dds2009-05-1213-145/+247
| | | | Reviewed by: alfred
* Add support for old TTY ioctls to kdump.ed2009-05-091-0/+1
| | | | | | | At first I allowed ioctl_compat.h to be included, but it just returned an empty file. I had to do this, to keep kdump happy. I really want to raise a compiler error when including this header, so now it will just throw an error if you don't set COMPAT_43TTY.
* Add my birthdayskreuzer2009-05-071-0/+1
| | | | Approved by: wxs (mentor)
* Add my birthday to the calendar.rene2009-05-051-0/+1
| | | | Approved by: remko
* Add myself as a mentee of dwmalone for the committers graph. Also add mysnb2009-05-051-0/+1
| | | | | | birthday to the calendar. Approved by: dwmalone (mentor)
* Merge vendor/file/dist@191739, bringing FILE 5.00 to 8-CURRENT.obrien2009-05-042-242/+2
|\
| * Flatten the file vendor area.obrien2009-01-01129-7944/+0
| | | | | | | | Remove the svn:keywords property from the vendor files.
| * Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,bde1997-07-061-365/+72
| | | | | | | | | | pascal and vmstat.sparc. All changed files on the vendor branch should already have been imported.
* | Mention -h in usage() and manpage. Rename term_{r,e} to term_{so,se}.rdivacky2009-05-022-25/+27
| | | | | | | | | | Suggested by: ru Approved by: ed (mentor)
* | Fixed multi-byte character support to actually work.ru2009-04-301-6/+6
| |
* | Fixed missing dependency.ru2009-04-301-1/+1
| |
* | Report the next directory being scanned when a ^T is pressed (or anyimp2009-04-301-0/+15
| | | | | | | | | | | | | | SIGINFO). Provides some progress report for the impatient. This won't report that we're blocking in our walk due to disk/network problems, however. There's no really good way to report that condition that I'm aware of...
* | Add MLDv2 statistic IDs to netstat for IPv6 stack.bms2009-04-291-3/+3
| |
* | Couple of changes based on feedbackrdivacky2009-04-211-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | o Change mr/me to so/se [1]. o Introduce a -h option to disable highlighting. [2] o Spell STDOUT_FILENO as such and pass NULL to tgetent() to handle the case of unset TERM. [3] Suggested by: naddy mips.inka.de (Christian Weisgerber) [1] Requested by: danfe, deischen [2] Suggested by: jmallett [3] Approved by: ed (mentor)
OpenPOWER on IntegriCloud