Commit Graph

168 Commits

Author SHA1 Message Date
ache
2fbb47bdb5 Activate ja nls if WANT_KANJI
Fix 'make release'
Suppress 'make distribute'
2000-04-24 08:14:16 +00:00
obrien
ce5fa178d7 Pass "WANT_KANJI" from make.conf to the compiler. 2000-04-23 18:08:49 +00:00
obrien
aab240f546 MBYTEDEBUG not needed for "WANT_KANJI"
Submitted by:	Hajimu UMEMOTO <ume@mahoroba.org>
2000-04-23 18:08:10 +00:00
obrien
f58793f0c1 Until it's impact is better understood, only active KANJI/DSPMBYTE/MBYTEDEBUG
if "WANT_KANJI" is defined in /etc/make.conf.

Submitted by:	Hajimu UMEMOTO <ume@mahoroba.org>
2000-04-21 18:45:06 +00:00
ache
1116936479 Fix 'make distribute' 2000-04-21 12:34:41 +00:00
ache
55171d94c4 Disable ja NLS until clarifying what needed else to support it 2000-04-21 10:14:09 +00:00
ache
926637962b Activate NLS.
Optimize NLS by not wasting space copying the same .cat but use symbolic links
instead.
2000-04-20 08:58:11 +00:00
ache
74cdb5de65 Activate finnish set 2000-04-20 07:08:43 +00:00
obrien
0dc8fec632 Add NLS files. Finish and Greek are WIPs.
Submitted by:	ache
2000-04-20 06:50:23 +00:00
obrien
9b9890351a Use our system malloc(). 2000-04-19 15:15:44 +00:00
obrien
9f147019b8 Install /bin/tcsh also. 2000-04-19 15:15:19 +00:00
obrien
6d573144b3 Upgrade csh. 2000-04-18 07:31:36 +00:00
sheldonh
91b0fd96fd Revert the previous commit. I knew I should leave non-mdoc stuff alone. 2000-03-03 09:53:52 +00:00
sheldonh
244b8ead7d Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
sheldonh
306562fd67 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 10:43:09 +00:00
unfurl
12e06e6273 From the PR:
The description of -X option in csh(1) manpage uses a wording
  that references the descriptions of -x, -v and -V.  This might
  be a little confusing.  Changed this to a complete description
  that does not reference other paragraphs.

PR:		16762
Submitted:	Giorgos Keramidas <keramida@ceid.upatras.gr>
2000-02-17 03:40:21 +00:00
unfurl
358fcd050f From the PR:
The first paragraph of "Argument list processing" says that an
  argument of - will make csh be a login shell.  However, running
  csh with only a - as an argument fails with the error message.

csh(1) corrected to reflect this.

PR:		16754
Submitted by:	Giorgos Keramidas <keramida@ceid.upatras.gr>
2000-02-17 03:23:39 +00:00
green
14b89019c6 This implements the RLIMIT_SBSIZE ("sbsize") administrative limits for
userland.  Currently, it can be enforced by login and csh.  More
shells supporting sbsize are welcome.
1999-10-09 20:47:59 +00:00
sheldonh
d003c4a860 Correct some hard sentence breaks. Only those surrounding the previous
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
1999-09-14 11:46:04 +00:00
phantom
167f52768b Fix SEE ALSO section:
. add printenv(1)
. correct reference to "CSH introduction"

Reviewed by:	mpp
1999-09-13 19:16:47 +00:00
sheldonh
4000b20086 Improve shell documentation:
* 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
1999-09-08 15:40:46 +00:00
peter
66312e4a8d $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
kris
713dd62834 Various spelling/formatting changes.
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
1999-05-08 10:22:15 +00:00
imp
321c551969 First set of fixes to keep egcs happy. These include {} around single
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
1999-04-25 21:13:34 +00:00
imp
499ab4bd0d Use getcwd in stead of using getwd so that we try harder to avoid
overflowing a buffer.

Obtained from: Either OpenBSD or a discussion in bugtraq.
1998-12-16 04:44:32 +00:00
nectar
80ac8b0511 Document the printf built-in. 1998-07-27 21:31:19 +00:00
nectar
2d26d6b5aa csh built-in printf now expands arguments. e.g.
printf '%d\n' `echo 23`
now works as expected.
PR:		bin/2969
Submitted by:	Gareth McCaughan <gjm11@dpmms.cam.ac.uk>
1998-07-27 21:15:52 +00:00
imp
c530c6747a Make sure we pass the length - 1 to readlink, since it adds its own
NUL at the end of the path.
Inspired by: OpenBSD's changes in this area by theo de raadt
1998-06-09 03:38:43 +00:00
charnier
bf2e3ba402 Restore include of sys/types.h and sys/param.h. 1998-05-13 07:29:15 +00:00
charnier
c4d26d7f83 Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc. 1998-05-06 06:51:42 +00:00
charnier
f055275992 .Sh AUTHOR -> .Sh AUTHORS
Use .An/.Aq
1998-03-19 07:26:37 +00:00
jraynard
b2f5411271 Don't assume sigset_t and int are equivalent. 1998-02-28 10:50:02 +00:00
steve
c3bc523e8e setpwent now has a void return type, so remove the now bogus cast. 1998-02-01 17:11:07 +00:00
eivind
2208ac1acf Remove simultaneous include of <sys/param.h> and <sys/types.h>.
Reorder includes to be alphabetical some places since I already was in
here.
1997-12-10 22:18:54 +00:00
eivind
5e2703d7ee save errno in sigchld handler
Obtained from:	Theo deRaadt <theo@openbsd.org> (OpenBSD rev 1.6)
1997-10-07 16:43:16 +00:00
eivind
de07534fa8 vsprintf -> vnsprintf paranoia.
Obtained from:	Todd Miller <millert@openbsd.org> (OpenBSD rev 1.3)
1997-10-07 16:33:22 +00:00
eivind
5e35aa322b Don't honor $HOME if >= MAXPATHLEN
Obtained from:	Todd Miller <millert@openbsd.org> (OpenBSD csh.c rev 1.3 and 1.4)
1997-10-07 16:27:48 +00:00
steve
2ae4bfe0cf More minor nits (mostly using memove instead of memcpy). 1997-08-08 00:54:05 +00:00
steve
fe3edcd2a1 More $@ -> ${.TARGET} that I missed earlier. 1997-08-08 00:49:25 +00:00
steve
8eb2ceeba6 Changes include: sccsid -> rcsid, bcopy -> memcpy, don't use the
register keyword, and -Wall cleaning.

Obtained from: similar changes in NetBSD
1997-08-07 21:42:17 +00:00
peter
83b3c2c161 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
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.
1997-01-14 07:20:47 +00:00
wosch
71f5160702 Sort cross references. 1997-01-13 00:25:51 +00:00
ache
357edcf415 Replace collate_range_cmp call with its code 1996-10-31 07:22:48 +00:00
wosch
000fb64288 delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
bde
45b84eb11a Close files up to getdtablesize() instead of up to NOFILE.
csh was one of the 3 programs in /usr/src that (mis)used NOFILE.
1996-09-28 14:32:01 +00:00
ache
58f9b78e5e Convert to newly added collate compare function 1996-08-12 21:32:15 +00:00
ache
77e622e5f2 Use collate for alpha character ranges 1996-08-12 02:08:43 +00:00
ache
6f7ebd36bf Fix unsetenv of locale variable 1996-08-11 23:10:38 +00:00
mpp
583e210496 Fix some minor formatting problems in some examples.
Obtained from:  Partially obtained from NetBSD-bugs mailing list
1996-07-03 01:28:34 +00:00
mpp
9fcf3504c2 Correct some cross references and some path names. 1996-04-06 09:47:30 +00:00
ache
f564fd22e6 Add missing reaction on LC_ALL and LC_COLLATE 1995-10-23 23:08:26 +00:00
ache
015e766f81 Fix csh to determine event number properly, i.e. stop by ^*-% too.
This fix match with what manpage said and other systems csh's do.
Submitted by: Bill Fenner <fenner@parc.xerox.com>
1995-08-10 05:13:42 +00:00
ache
56b16b74bf Move first PATH initialization after sensing for interactive,
first relative path warning was disabled in old case
1995-07-07 23:14:36 +00:00
ache
bd0186909e Do the same check for interactive shell (PATH warning)
like in csh.c
1995-07-07 23:13:11 +00:00
ache
8656368e5c Produce importpath warning only for true interactive shells,
close PR 598
1995-07-07 22:45:26 +00:00
ache
dac9b56c4e Additionly print strerror(errno), when getwd() fails to start
in initial directory.
Obtained from: idea from NetBSD
1995-06-18 14:34:48 +00:00
ache
4ceec44820 Fix error:
which /bin/ls
.//bin/ls
Obtained from: NetBSD
1995-06-18 14:20:16 +00:00
ache
b47fb59bab When filec active, TCSANOW was used in any case instead of
sensing TCSADRAIN/TCSAFLUSH
Obtained from: NetBSD
1995-06-18 14:08:44 +00:00
rgrimes
1888033949 Remove trailing whitespace.
Reviewed by:	phk
1995-05-30 00:07:29 +00:00
ache
a682acd0f3 Describe -m option 1995-05-06 13:52:29 +00:00
joerg
c6030c6511 You will find enclosed some changes to make gcc -Wall more happy in
/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)
1995-03-19 13:29:28 +00:00
jkh
1323b9b07e 1000000 usec -> 1 sec 0 usec; fix.
Submitted by:	"Philippe Charnier" <charnier@lirmm.fr>
1995-02-16 09:17:27 +00:00
dg
8722740e7f Added $Id$ 1994-09-24 02:59:15 +00:00
jkh
f97b56dcb0 The handling of err.h and const.h were in a real tangle and didn't
work if you didn't explicitly depend first; this should both simplify
things and make it work in all circumstances.
Reviewed by:
Submitted by:
1994-08-07 21:28:27 +00:00
wollman
775b0042f2 Fix some dependency bobbles. 1994-08-06 01:51:03 +00:00
wollman
0e5400218f Fix makefiles for our macros. 1994-08-05 17:02:31 +00:00
rgrimes
e3cfc8ce61 BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00