summaryrefslogtreecommitdiffstats
path: root/bin/csh
Commit message (Collapse)AuthorAgeFilesLines
* This implements the RLIMIT_SBSIZE ("sbsize") administrative limits forgreen1999-10-091-0/+1
| | | | | userland. Currently, it can be enforced by login and csh. More shells supporting sbsize are welcome.
* Correct some hard sentence breaks. Only those surrounding the previoussheldonh1999-09-141-7/+10
| | | | | | | | commit and those which cause ugly nroff output have been fixed, since the purpose of the style guideline which they contravene is to reduce the sizes of deltas. Reported by: bde
* Fix SEE ALSO section:phantom1999-09-131-2/+4
| | | | | | | . add printenv(1) . correct reference to "CSH introduction" Reviewed by: mpp
* Improve shell documentation:sheldonh1999-09-082-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | * Consistently misspell built-in as builtin. * Add a builtin(1) manpage and create builtin(1) MLINKS for all shell builtin commands for which no standalone utility exists. These MLINKS replace those that were created for csh(1). * Add appropriate xrefs for builtin(1) to the csh(1) and sh(1) manpages, as well as to the manpages of standalone utilities which are supported as shell builtin commands in at least one of the shells. In such manpages, explain that similar functionality may be provided as a shell builtin command. * Improve sh(1)'s description of the cd builtin command. Csh(1) already describes it adequately. Replace the cd(1) manpage with a builtin(1) MLINKS link. * Clean up some mdoc problems: use Xr instead of literal "foo(n)"; use Ic instead of Xr for shell builtin commands. * Undo English contractions. Reviewed by: mpp, rgrimes
* $Id$ -> $FreeBSD$peter1999-08-2738-38/+38
|
* Various spelling/formatting changes.kris1999-05-0810-24/+24
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* First set of fixes to keep egcs happy. These include {} around singleimp1999-04-254-8/+11
| | | | | | | | | | statement if blocks[*] when the else could be ambiguous, not defaulting to int type and removal of some unused variables. [*] This is explicitly allowed by style(9) when the single statement spans more than one line. Reviewed by: obrien, chuckr
* Use getcwd in stead of using getwd so that we try harder to avoidimp1998-12-161-2/+2
| | | | | | overflowing a buffer. Obtained from: Either OpenBSD or a discussion in bugtraq.
* Document the printf built-in.nectar1998-07-271-1/+13
|
* csh built-in printf now expands arguments. e.g.nectar1998-07-271-1/+14
| | | | | | | printf '%d\n' `echo 23` now works as expected. PR: bin/2969 Submitted by: Gareth McCaughan <gjm11@dpmms.cam.ac.uk>
* Make sure we pass the length - 1 to readlink, since it adds its ownimp1998-06-091-5/+3
| | | | | NUL at the end of the path. Inspired by: OpenBSD's changes in this area by theo de raadt
* Restore include of sys/types.h and sys/param.h.charnier1998-05-139-9/+18
|
* Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.charnier1998-05-0615-115/+85
|
* .Sh AUTHOR -> .Sh AUTHORScharnier1998-03-191-7/+15
| | | | Use .An/.Aq
* Don't assume sigset_t and int are equivalent.jraynard1998-02-287-31/+31
|
* setpwent now has a void return type, so remove the now bogus cast.steve1998-02-011-3/+3
|
* Remove simultaneous include of <sys/param.h> and <sys/types.h>.eivind1997-12-102-5/+3
| | | | | Reorder includes to be alphabetical some places since I already was in here.
* save errno in sigchld handlereivind1997-10-071-1/+3
| | | | Obtained from: Theo deRaadt <theo@openbsd.org> (OpenBSD rev 1.6)
* vsprintf -> vnsprintf paranoia.eivind1997-10-071-2/+2
| | | | Obtained from: Todd Miller <millert@openbsd.org> (OpenBSD rev 1.3)
* Don't honor $HOME if >= MAXPATHLENeivind1997-10-071-2/+3
| | | | Obtained from: Todd Miller <millert@openbsd.org> (OpenBSD csh.c rev 1.3 and 1.4)
* More minor nits (mostly using memove instead of memcpy).steve1997-08-086-16/+13
|
* More $@ -> ${.TARGET} that I missed earlier.steve1997-08-082-8/+8
|
* Changes include: sccsid -> rcsid, bcopy -> memcpy, don't use thesteve1997-08-0725-540/+606
| | | | | | register keyword, and -Wall cleaning. Obtained from: similar changes in NetBSD
* Revert $FreeBSD$ to $Id$peter1997-02-2238-38/+38
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1438-38/+38
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Sort cross references.wosch1997-01-131-3/+3
|
* Replace collate_range_cmp call with its codeache1996-10-311-2/+19
|
* delete doubled words, e.g.: "the the" -> "the"wosch1996-10-052-4/+4
|
* Close files up to getdtablesize() instead of up to NOFILE.bde1996-09-281-3/+3
| | | | csh was one of the 3 programs in /usr/src that (mis)used NOFILE.
* Convert to newly added collate compare functionache1996-08-121-36/+4
|
* Use collate for alpha character rangesache1996-08-121-3/+37
|
* Fix unsetenv of locale variableache1996-08-111-5/+5
|
* Fix some minor formatting problems in some examples.mpp1996-07-031-3/+3
| | | | Obtained from: Partially obtained from NetBSD-bugs mailing list
* Correct some cross references and some path names.mpp1996-04-061-2/+2
|
* Add missing reaction on LC_ALL and LC_COLLATEache1995-10-233-7/+14
|
* Fix csh to determine event number properly, i.e. stop by ^*-% too.ache1995-08-101-2/+2
| | | | | This fix match with what manpage said and other systems csh's do. Submitted by: Bill Fenner <fenner@parc.xerox.com>
* Move first PATH initialization after sensing for interactive,ache1995-07-071-10/+12
| | | | first relative path warning was disabled in old case
* Do the same check for interactive shell (PATH warning)ache1995-07-071-2/+3
| | | | like in csh.c
* Produce importpath warning only for true interactive shells,ache1995-07-071-2/+3
| | | | close PR 598
* Additionly print strerror(errno), when getwd() fails to startache1995-06-181-2/+2
| | | | | in initial directory. Obtained from: idea from NetBSD
* Fix error:ache1995-06-181-5/+12
| | | | | | which /bin/ls .//bin/ls Obtained from: NetBSD
* When filec active, TCSANOW was used in any case instead ofache1995-06-181-5/+5
| | | | | sensing TCSADRAIN/TCSAFLUSH Obtained from: NetBSD
* Remove trailing whitespace.rgrimes1995-05-3015-61/+61
| | | | Reviewed by: phk
* Describe -m optionache1995-05-061-2/+11
|
* You will find enclosed some changes to make gcc -Wall more happy injoerg1995-03-192-4/+5
| | | | | | | | | /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier)
* 1000000 usec -> 1 sec 0 usec; fix.jkh1995-02-161-2/+2
| | | | Submitted by: "Philippe Charnier" <charnier@lirmm.fr>
* Added $Id$dg1994-09-2438-0/+60
|
* The handling of err.h and const.h were in a real tangle and didn'tjkh1994-08-071-7/+1
| | | | | | | work if you didn't explicitly depend first; this should both simplify things and make it work in all circumstances. Reviewed by: Submitted by:
* Fix some dependency bobbles.wollman1994-08-061-0/+2
|
* Fix makefiles for our macros.wollman1994-08-051-1/+1
|
OpenPOWER on IntegriCloud