Commit Graph

107 Commits

Author SHA1 Message Date
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