Commit Graph

136 Commits

Author SHA1 Message Date
wiz 1da7ff99f7 Since we have rlim_t, use it.
Approved by kleink.
2002-05-28 22:12:25 +00:00
wiz 1815854042 __STDC__ is always defined on NetBSD. 2002-05-25 23:29:16 +00:00
christos 971f33821d % set verbose echo
% echo foo >& bar
% cat bar
guess what you get:
echo foo
foo
2002-03-08 17:15:30 +00:00
christos 5d5763b4f5 Fix:
% set N2=`echo 1; echo 2; \
?                       echo 3`
% echo $N2
1 2
so that
% echo $N2
1 2 3
2002-03-08 16:37:45 +00:00
ross dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
ross 0271045b3e type in ^ directly, instead of \(ua which isn't in all the fonts 2002-02-06 12:51:13 +00:00
christos d1fe293a6b stderror does not return. 2002-01-30 20:53:33 +00:00
itohy 6ba4cdcf16 Fix problem where
% echo $20000000000
	Segmentation fault (core dumped)
2002-01-30 07:02:01 +00:00
wiz 3ebcdc5e43 Whitespace nits. 2001-12-20 19:31:48 +00:00
christos 8c43d5ed6d make sure that rlim_cur >= rlim_max in all the setrlimit(2) cases. 2001-12-17 16:38:12 +00:00
wiz 3fc2bda98b Document set time variables, and the format strings recognized.
Based on the patch provided by Jonathan Perkins in PR 14465.
2001-12-12 13:10:44 +00:00
lukem 537f55c6b7 fix WARNS=2 2001-11-03 13:35:39 +00:00
wiz 98af901532 Whitespace, punctuation fixes. Sort sections. 2001-10-17 21:50:57 +00:00
wiz 8e36d79b4f Use setprogname. Patch by Petri Koistinen. 2001-09-16 12:20:33 +00:00
wiz b771e65ba1 ANSIfication and KNF improvements by Petri Koistinen in bin/13689,
with some fixes by me.
2001-09-14 14:03:59 +00:00
wiz 0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
fair 7f36bd20e2 Add references to getrlimit(2) and setrlimit(2) under the csh built-in
"limit" command, so as to more completely document the workings of this
command, per PR 11658.
2001-03-16 08:45:33 +00:00
christos 5aaa548267 echo;echo;echo; should echo 2001-03-14 18:01:22 +00:00
christos 51b56986d6 eliminate nested extern decls. 2001-01-06 23:56:26 +00:00
simonb 39096410f1 Need alvec global variable now. 2000-12-14 00:13:07 +00:00
scw a1dfcb96e7 Sprinkle some `extern' qualifiers for initialised globals. 2000-12-13 22:29:41 +00:00
lukem 091dffc1a7 fix borken Xr 2000-11-07 01:45:04 +00:00
christos 12bd7d8870 Correct stupid cast problem. Pointed out by simon burge. 2000-11-03 02:27:35 +00:00
christos e5dfea2ff4 Avoid turning into a random file writing tool when using here-doc's.
Reported to BUGTRAQ by proton <proton@ENERGYMECH.NET>.
2000-10-31 16:53:10 +00:00
is dde594130e Format string auditing by Bill Sommerfeld. 2000-10-08 09:33:31 +00:00
ad 5b09090e8e insure -> ensure 2000-10-05 12:35:33 +00:00
christos 3d0237efed fix globbing problem when importing $PATH from environment. Reported by
Michael Shalayeff.
2000-09-04 17:48:14 +00:00
christos 0bf6fd0c59 decouple us from stdio's BUFSIZ and boost BUFSIZE to 4K 2000-05-31 22:48:44 +00:00
mason fccb8467cd Improved style: "For definiteness" becomes "For example". 2000-05-21 00:48:45 +00:00
tron 64aaf6d18b Avoid segmenation fault if an external command is invoked in parse only
mode. Problem noted by Josh Lynch PR bin/8732.
1999-11-02 19:35:44 +00:00
bouyer d406538de6 xref sysctl(8) (for proc.<pid>.rlimits) 1999-09-28 14:54:41 +00:00
hubertf c684000231 Document csh's -m switch.
Patch submitted in PR 5802 by Greg A. Woods <woods@planix.com>
1999-07-30 01:08:12 +00:00
kleink cb603a5d83 Remove a bogus whitespace match in the builtin kill(1)'s `-s' parsing;
noticed by Chris Demetriou.
1999-05-19 14:37:05 +00:00
cgd 75f8cf07ab fix incorrect operation caused by the previous checkin. 1999-05-09 00:00:20 +00:00
christos 0abc804e19 Fix unaligned access memory problem introduced from the -s fix. 1999-05-08 23:12:29 +00:00
mycroft 3685172739 More punctuation glitches. 1999-04-20 05:49:50 +00:00
mycroft 89f51b033e Fix formatting of kill commands. 1999-04-20 05:44:42 +00:00
mycroft 62af15cbc6 Fix a few obvious formatting glitches: missing paragraph break, highlighted
parens.
1999-04-20 05:31:55 +00:00
itohy f1a39637c9 cleanup 1999-03-23 09:29:51 +00:00
garbled f124765044 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:25:43 +00:00
christos 3762d826ae include <limits.h> instead of <machine/limits.h> 1999-03-19 12:58:55 +00:00
christos fc32dd30b5 add braces for gcc-2.8.1 1999-03-19 12:58:33 +00:00
christos 04f335f21e - don't use union wait
- printf portability
- add braces for gcc-2.8.1
1999-03-19 12:58:00 +00:00
christos 1a5157a6e0 printf format portability. 1999-03-19 12:57:10 +00:00
christos 1452d0f916 braces for gcc-2.8.1 1999-03-19 12:56:16 +00:00
mrg 69b1acad99 minor KNF nits, space damage. 1999-01-31 08:00:50 +00:00
ross 97f8529d3c Document the bizarre right-to-left grouping of csh expression terms. 1999-01-24 09:44:23 +00:00
itohy e50ba7ea8f Fixed ancient bug in csh(1) "filec" implementation.
We need not wait for a while any longer after pressing ESC or ^D.

Problem description:
If a user types characters during performing completion (ESC)
or listings (^D), the chars are inserted at weird position of
the command line.
This makes the command line unusable and irritates the user.
I noticed this on 386BSD(98), probably six years ago.

This change fixes the bug by implementing salvage of the characters.
The salvaged chars are added at the end of the command line.
An extra ioctl(FIONREAD) is required to work-around a glitch on
kernel tty driver.
1998-12-26 02:11:39 +00:00
kleink 0210c46b17 Built-in kill: also accept symbolic signal names prefixed with "SIG". 1998-12-11 14:28:58 +00:00
thorpej 341bd18b4a Add some braces to make egcs happy. 1998-08-19 01:31:46 +00:00