summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Note that stty is a utility and not... err... a program....green2001-11-291-1/+1
| | | | Submitted by: ru
* Stty is a program, not a function.green2001-11-291-1/+1
|
* Add LOMAC options (the "Z" flag in both cases) to display extra informationgreen2001-11-2616-17/+429
| | | | | | in ls(1) and ps(1). Sponsored by: DARPA, NAI Labs
* Remove the printf builtin command from sh(1), which command is notknu2001-11-203-10/+5
| | | | | | | | | | | | used so often that it's worth keeping it as a builtin. Now that all the printf invocations from within the system startup scripts, we can safely remove it. Urged by: sheldonh :) No MFC is planned so far because it may break compatibility and violate POLA.
* Fix style bugs I found, and add a comment.knu2001-11-191-10/+11
|
* Oops sorry, forgot to add a #include.knu2001-11-191-0/+1
|
* - Do not reference argv[1] if no argument is given.knu2001-11-191-7/+34
| | | | | | Reported by: brian - Call error() instead of errx() if compiled as sh(1) builtin.
* Make test(1) a builtin command of our sh(1) for efficiency. Theknu2001-11-175-5/+24
| | | | | | | | | | | binary size increase is 3,784 bytes (about 0.6%). I don't drop the printf builtin while I'm here because some /etc/rc.* scripts seem to use it before mounting /usr where printf(1) resides. Reviewed by: arch (sheldonh) Inspired by: NetBSD, ksh Clued by: ume (on how the printf builtin is used)
* o Update licenses, comments.rwatson2001-11-162-1/+8
| | | | Obtained from: TrustedBSD Project
* Deuglify the usage message by putting the program name after thedd2001-11-151-1/+2
| | | | | | | | "usage:" string. This is how most (all?) other programs in the system do it. PR: 31596 Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
* Don't call setvar() with the VTEXTFIXED flag. A copy is created bytegge2001-11-071-4/+4
| | | | | | | | setvar() and passed to setvareq(). When the VTEXTFIXED flag is set, that copy is never freed, causing a memory leak. PR: 31533 Submitted by: maxim@macomnet.ru
* Use a quad int conversion routine for time_t instead of ulong, capable ofdillon2001-10-281-2/+4
| | | | decoding tar's full time buffer (12 digits).
* Various string fields for certain cpio types are 11 rather then 8dillon2001-10-281-6/+15
| | | | | | | | | characters. Use quad conversion functions rather then long conversion where appropriate to handle the available range. Mainly fixes time_t but there was also a st_size ulong conversion in there that has to be quad or cpio cannot be used to copy files > 2G. MFC after: 1 day
* Remove unnecessary casts in timeval.tv_sec load from st_*timedillon2001-10-281-4/+4
|
* Remove assumption that time_t is an intdillon2001-10-281-1/+3
| | | | MFC after: 1 day
* mdoc(7) police: join OS version with the corresponding macro.ru2001-10-191-2/+2
|
* Repair normally unused is_digit() macro.tegge2001-10-141-1/+1
|
* *** empty log message ***obrien2001-10-012-29/+34
|
* WARNSify.ru2001-09-262-4/+4
|
* The "cat - -" feature was broken by the last commit.ru2001-09-261-5/+15
| | | | | | | Restore the code that avoided closing and reopening stdin. This is also required by POSIX. As a bonus, enable multiple stdin reads with the -benstv flags, by resetting the EOF condition on stdin.
* mdoc(7) police: fixed markup.ru2001-09-251-5/+12
|
* mdoc(7) police: markup nits.ru2001-09-211-6/+10
|
* Don't check uninitialized memory for having the shell control charactertegge2001-09-191-4/+4
| | | | | | | | | | | value CTLARI since this might break expansion of arithmetic expressions. Don't access memory below start of stackblock. Problem analyzed by hunt@iprg.nokia.com, slightly different patch applied. PR: 24443 Submitted by: hunt@iprg.nokia.com
* BASESYNTAX, DQSYNTAX, SQSYNTAX and ARISYNTAX handles negative indexes.tegge2001-09-192-6/+6
| | | | | Allow those to be used to properly quote characters in the shell control character range.
* Adjust some type checks to include CTLQUOTEMARK in the range oftegge2001-09-191-3/+3
| | | | shell control characters.
* Give /bin/cat the ability to connect to and read unix-domain socketsdillon2001-09-152-56/+108
| | | | MFC after: 1 week
* KSE Milestone 2julian2001-09-121-2/+3
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* UPAGES as a constant is gone in KSE. We are going to have to trustpeter2001-09-101-3/+1
| | | | and/or fix ki_rssize.
* Enable BSD style color ls support.mp2001-09-052-0/+2
| | | | | PR: 23161 Submitted by: Anand Ranganathan <anand@blandings.com>
* Update to the tcsh-6.11 version.mp2001-09-051-4/+12
| | | | | | This file could be removed as the alpha changes have been incorporated into the base release. However, it is probably best to leave this here since there are additional FreeBSD architectures in the pipeline that should be added.
* Add new tcsh-6.11 NLS sets for Estonian and Russian.mp2001-09-053-1/+33
| | | | (Polish was also included in tcsh-6.11 but the set1 and set3 files are broken)
* File positions are off_t nowdays, not long, so:ache2001-09-011-3/+3
| | | | | | | | | | | | | fseek -> fseeko ftell -> ftello NOTE: that fseek/ftell not works for >long offsets per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long. [EOVERFLOW] For ftell ( ), the current file offset cannot be represented correctly in an object of type long.
* The file_descriptor argument to -t isn't optional, so don't mark it up so.dd2001-08-311-1/+1
|
* On today's kernels masking with ~KERNBASE is turning out to be lesspeter2001-08-242-4/+4
| | | | | | than useful. It still hits at least 8 digits. Adjust for reality. This is still not satisfactory for the alpha if you add "-O paddr".
* Handle kvm_getprocs() returning nothing. Dont pass -1 to a sizepeter2001-08-241-1/+1
| | | | for malloc().
* Implement `stty ek` as documented.dd2001-08-231-0/+12
| | | | | PR: 24063 Submitted by: Seth Kingsley <sethk@osd.bsdi.com>
* Only capitalise the last `t' in ps's first argument when it'sbrian2001-08-161-1/+5
| | | | | | | actually part of an option argument. Submitted by: Chris Costello <chris@calldei.com> MFC after: 6 weeks
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-1514-42/+14
|
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-144-6/+17
|
* Initialize infp at main()peter2001-08-131-1/+2
|
* Initialize listf at main()peter2001-08-131-1/+2
|
* Spell "FreeBSD" with "F" and "BSD" in uppercase.ru2001-08-131-1/+1
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-132-4/+0
|
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-104-14/+12
|
* can not -> cannotsheldonh2001-08-081-1/+1
|
* mdoc(7) police:ru2001-08-074-25/+18
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* o Correctly define rcsid.mike2001-08-0610-182/+158
| | | | | | | | | | | o Add consts where appropriate. o Rename some variables that were shadowing global declarations. o Remove register storage-classes. o Make errmsg a const, so we can just set error messages instead of using sprintf/strcpy. o Set WARNS=2 Reviewed by: bde, des
* style(9)obrien2001-08-011-1/+1
|
* Remove a misplaced space.obrien2001-08-011-1/+1
|
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-07-262-3/+3
| | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms>
OpenPOWER on IntegriCloud