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
mycroft
ee9e50eacb
Be more retentive about use of NOTREACHED and noreturn.
1998-07-28 11:41:40 +00:00
mycroft
9dc385beb1
Delint.
1998-07-28 05:31:22 +00:00
mycroft
5924694d3a
Delint (partially).
1998-07-28 02:47:19 +00:00
mycroft
cdbd74da57
Delint (partially).
1998-07-28 02:23:37 +00:00
mycroft
ac70c0c5ed
Slight code reduction.
1998-07-27 17:55:17 +00:00
mycroft
4d669802e4
const propagation.
1998-07-27 15:25:06 +00:00
mycroft
778e6e0151
const poisoning.
1998-07-26 19:34:10 +00:00
mycroft
be432ed479
const poisoning.
1998-07-26 14:49:36 +00:00
kleink
fc5d36f8e4
GLOB_QUOTE is dead; per POSIX, backslash quoting of special characters being
...
enabled is the default behaviour.
1998-06-19 22:58:04 +00:00
msaitoh
07a4bb0c95
fix some bugs.
1998-06-11 00:58:31 +00:00
msaitoh
ecf9000778
fix a bug.
1998-05-28 14:56:42 +00:00
msaitoh
d5977957e6
fix "/bin/login" to '/usr/bin/login"
1998-05-28 13:35:05 +00:00
kleink
892884f299
* Add support for POSIX "kill [-s signame] pid" syntax; actually fixes PR 5327.
...
* Complete the "kill -l [exitstatus]" syntax.
* Sync with the documentation and no longer permit the use of full signal
names in the "kill [-sig] pid" syntax, e.g. -SIGHUP.
1998-05-10 18:32:46 +00:00
fair
f7c833c469
KNF + copyright assignment to TNF
1998-05-08 18:43:54 +00:00
fair
8cab837598
fix nroff error per PR#5347
1998-04-27 20:50:37 +00:00
lukem
f1a5689fa6
refer to COPTS not CFLAGS
1998-04-13 14:08:27 +00:00
fair
000297a954
Fix PR#3585 - csh printed a negative percentage of CPU used when the total
...
CPU usage was more than 6 hours (integer overflow problem).
1998-04-08 22:38:18 +00:00
fair
0f668275d6
Fix csh to use <paths.h> _PATH_DEFPATH as the default path, absent a PATH
...
from the environment.
1998-04-08 22:35:54 +00:00
kleink
67e49b4bed
Need <time.h> for time() prototype.
1998-04-01 13:50:14 +00:00
kleink
b61a8b646b
GLOB_ABEND -> GLOB_ABORTED
1998-03-31 20:45:25 +00:00
mrg
a6b580d769
make sincereal "static int" rather than just "static"
1998-03-29 04:36:29 +00:00
christos
20d0140fb0
use obj dirs.
1997-12-21 15:51:20 +00:00
lukem
580476ab8d
add dependancy line to fix parallel compilation
1997-10-22 01:22:58 +00:00
enami
b130b4f87b
- Fix .Nm usage (same of .Nm is replaced with .Sx, .Em, .Ic etc).
...
- Use .Sx to refer section.
1997-10-20 08:46:18 +00:00
mycroft
6de13662f1
Remove bogus use of S_IFLNK.
1997-10-19 17:38:05 +00:00
mycroft
e96e918e60
Use bsd.subdir.mk as appropriate.
1997-10-11 09:34:07 +00:00
christos
e230a48b57
CFLAGS->CPPFLAGS
1997-10-10 19:47:50 +00:00
christos
23edbe3557
Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
...
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
jtc
c56d18f4cb
/var/spool/mail -> /var/mail
1997-07-09 02:54:38 +00:00
jtc
408b1c68b0
/usr/spool/mail -> /var/spool/mail
1997-07-09 02:37:59 +00:00
christos
8ea378c6ac
Rename err.h to errnum.h to avoid collision with err.h
...
Fix compiler warnings.
1997-07-04 21:23:50 +00:00
pk
6d865e0768
Use .Xr (from PR#3627)
1997-06-23 20:30:24 +00:00
mikel
90490d03b2
fix xrefs: sigvec(2) -> sigaction(2), killpg(2) -> killpg(3).
1997-05-12 08:00:09 +00:00
gwr
10e180cc49
Back out the .PATH.c changes. The .depend problem (and others)
...
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr
012e528f2e
Use .PATH.c: ...
1997-05-06 20:44:56 +00:00
mouse
412433b44c
alternate -> alternative, per PR 2643
1997-03-08 13:26:20 +00:00
tls
76adbe2bd3
kill register
1997-01-13 17:53:15 +00:00
christos
0805134891
Fix bug reported by Chris Torek: use TCSADRAIN instead of TCSANOW, to avoid
...
dropping characters.
1996-11-08 19:34:37 +00:00
christos
8af8970502
Quote all imported environment variables, so that we don't core dump with
...
set term='unknown*'
./csh
or we don't have security problems with:
set path=('`/bin/rm -fr *`' /usr/local)
./csh
Reported by Donn Seeley...
1996-10-31 23:50:53 +00:00
christos
0c75083000
- Use ../usr.bin/printf/printf.c
...
- Fix built-in which to set the status code correctly.
1996-09-30 20:03:52 +00:00
jtc
a29e2412d6
Fix formatting of description of @ command; From PR #2577
1996-06-30 23:16:32 +00:00
christos
a8a54fa636
fix bug where
...
child% suspend
parent% bg
parent% fg
Fg would not work anymore, it would say Suspended (tty input).
1996-02-09 02:28:29 +00:00
jtc
0ab192c94c
Update lseek() constants:
...
L_SET -> SEEK_SET
L_INCR -> SEEK_CUR
L_XTND -> SEEK_END
1995-09-27 00:38:38 +00:00
christos
ec16f0d3d8
Fixed bug where 'which /bin/csh' reports .//bin/csh, by copying the
...
current tcsh code.
1995-05-23 19:47:16 +00:00
mycroft
556d212c3d
Use POSIX signal semantics. Change p_pid and p_jobid to pid_t's.
1995-04-29 23:21:28 +00:00
mycroft
7b38403c89
Use POSIX signals.
1995-03-21 18:35:32 +00:00
mycroft
c39128a12d
Remove dead externs.
1995-03-21 14:51:58 +00:00
mycroft
ffe9a4ccf0
Update to use timer{add,sub}().
1995-03-21 13:55:23 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
mycroft
f5ad44b6ac
Use S_IS*().
1995-01-30 19:30:13 +00:00
mycroft
4d643bf207
Remove `.' from default PATH.
1995-01-20 18:21:16 +00:00
mycroft
2425ddde47
Remove the gratuitous `security' warnings.
1995-01-15 09:47:36 +00:00
cgd
b32916a5d5
new way of specifying man pages.
1994-12-22 09:23:05 +00:00
cgd
7e7441ee3e
add USD.doc to subdir list on install
1994-12-18 11:42:39 +00:00
cgd
5dad143982
from James Jegers <jimj@miller.cs.uwm.edu>: quiet -Wall, and squelch
...
some of the worst style errors.
1994-12-04 07:11:37 +00:00
mycroft
baccf0fbd1
Eliminate uses of some obsolete functions.
1994-09-23 11:16:28 +00:00
mycroft
9dccee4f46
Remove a couple of changes we no longer need.
1994-09-21 00:40:40 +00:00
mycroft
6174c16ac6
Merge 4.4-Lite version.
1994-09-21 00:12:43 +00:00
mycroft
6946a8eec4
Clean up deleted files.
1994-09-21 00:11:21 +00:00
mycroft
cee2bad89f
Merge 4.4-Lite version.
1994-09-21 00:10:23 +00:00
mycroft
a83bf514ca
Import original 4.4-Lite version.
1994-09-20 05:39:48 +00:00