2332 Commits

Author SHA1 Message Date
jtc
67f034415c Upgraded to be 1003.2-92 compliant. The only functional change is
that -1 is returned when the fork fails.  Updated implementation to
use int rather than deprecated "union wait".  Updated documentation
to describe error / return values.
1993-08-20 23:00:45 +00:00
jtc
7a5661e6ac Fixed typo. Readdir returns a "struct dirent *", not "struct dirent". 1993-08-20 16:46:14 +00:00
jtc
fc04014ae1 Dump is now in /sbin. 1993-08-20 16:32:58 +00:00
mycroft
36d083669a Technically, readdir(3) returns a struct dirent *', not a struct direct *',
not that they aren't the same thing.
1993-08-20 10:03:05 +00:00
jtc
4532d39196 Document the fact that ln now conforms to IEEE 1003.2-92. 1993-08-19 17:34:14 +00:00
jtc
0942acadf0 Document that utility now conforms to IEEE 1003.2-1992. 1993-08-19 17:16:39 +00:00
jtc
a5960e1999 Print correct default output format.
Note that date (with a suitable strftime()), is 1003.2 compliant.
1993-08-19 17:02:40 +00:00
jtc
29222c415a Added -p1003.1-90 and -p1003.2-92 to list of known standards. 1993-08-19 17:01:08 +00:00
jtc
cbc115a0d5 Added the additional `%'' format specifiers and the E'' and `O''
format modifiers that are needed for a 1003.2 compliant date(1).  The
modifiers don't actually do anything at present and are not documented.
It's too confusing to the user to describe localization features when
they aren't implemented yet.  It is safe to do this, as the modifiers
fall back to the default behavior if the locale doesn't support alternate
eras or numeric formats.

But, in anticipation of _some_ locale support, all month and day names and
abbrevs, certain time formats, am/pm, etc. are now accessed through variables.
1993-08-19 16:39:47 +00:00
mycroft
5c2721a0c3 Add old ZMAGIC handling, as in i386 port. 1993-08-19 14:35:46 +00:00
mycroft
4a5baa80a0 Remove cpu_exec_makecmds() macro and declare it as a function. Also, wrap
everything in `#ifdef KERNEL'.
1993-08-19 14:34:25 +00:00
mycroft
5aa52f5be0 Set USRTEXT to NBPG. 1993-08-19 14:32:24 +00:00
mycroft
8fe0af721f Add COMPAT_NOMID. 1993-08-19 14:29:28 +00:00
andrew
4e65827b6c Moved vm_map_create()'s out-of-maps panic to a more appropriate place. 1993-08-19 03:13:24 +00:00
brezak
d9d60a264e Add speeds of 19200, 38400, 57600, 115200 1993-08-18 13:00:39 +00:00
brezak
2326181767 /netbsd is the kernel name. 1993-08-18 12:55:13 +00:00
brezak
9ea8dd1822 Set group to kmem. 1993-08-18 12:54:50 +00:00
brezak
48d617a9d6 Use LOG_INFO instead of LOG_NOTICE for informational messages. Correctly set line speed. 1993-08-18 12:54:16 +00:00
brezak
4b6877546a Identify the PPPDISC on a line. 1993-08-18 12:52:39 +00:00
jtc
ed37f93ef0 As per Chris Torek's suggestion, define CLOCKS_PER_SEC and CLK_TCK to 100.
When we get sysconf, we can define them in terms of the kernel's notion of
interrupts per second if we so choose.  Until then, the constant value
seems to satisfy the requirements presented by ISO C and POSIX, even if it
may lie about the true number of clocks per second.
1993-08-18 01:02:58 +00:00
jtc
c41b22b4f6 Removed CLK_TCK, it's value is not machine dependant.
It's supposed to be defined in <time.h>, not <limits.h> anyway.
1993-08-18 00:22:44 +00:00
jtc
17bda641e5 The result of clock() is measured in CLOCKS_PER_SECs, not CLK_TCKs. 1993-08-17 20:37:57 +00:00
jtc
d4cfab9dd1 Define CLOCKS_PER_SEC. 1993-08-17 20:33:56 +00:00
jtc
37f6fbfafe /usr/ucb -> /usr/bin, /usr/msgs -> /var/msgs 1993-08-17 20:02:27 +00:00
mycroft
30beb79c09 Make sure we don't recurse into subdirectories if Makefile specified `install'
target.  (It's usually blank and is specifically to avoid doing this...)
1993-08-17 17:00:39 +00:00
jtc
3ed5680e46 Use err() routine for error messages.
If string does not match \( \) subexpression, return a null string.
1993-08-17 16:01:23 +00:00
jtc
db7c6323d1 Make 1003.2-1992 compliant by implementing -f (force) option. 1993-08-17 01:03:49 +00:00
jtc
e4e27724a6 Make wc 1003.2-1992 compliant by adding -m option (currently a noop, as
we don't support multibyte chars).
Remove blatant lie from manpage: the order of the output is, and always
has been, fixed.  The order of the command line arguments makes no difference.
1993-08-17 00:37:10 +00:00
jtc
04b0d37be1 Document that string comparisons are done using the locale specific
collation sequence.
1993-08-16 23:22:49 +00:00
jtc
e9c8ee33b0 expr is supposed to do string comparisons using the locale specific
collation sequence, so use strcoll instead of strcmp.
1993-08-16 23:20:22 +00:00
jtc
7bab32a746 1003.2: 4.15.4: The output always shall be terminated by a newline character. 1993-08-16 23:08:51 +00:00
jtc
2ea901d347 Make cut 1003.2 compliant by adding -b and -n options. This was trivial,
as we don't support multibyte characters yet.
1993-08-16 22:44:50 +00:00
jtc
e4127f0401 Document the fact that cat is a superset of 1003.2's cat. 1993-08-16 22:08:57 +00:00
jtc
b71c2887f2 Document the fact that basename and dirname conform to 1003.2-1992.
Remove description of old, pre-POSIX behavior wrt. suffixes.
1993-08-16 22:03:50 +00:00
jtc
35fdf4ad74 Declare ntohl, ntohs, htonl, and htons functions.
Use GCC's inline assembly iff we are using GCC.
Use bswap instruction if using gcc and defined(KERNEL) &&
	((defined(I486_CPU) || defined(I586_CPU)) && !defined(I386_CPU))
1993-08-16 18:30:35 +00:00
jtc
200ad8d9bd Don't include "DEFS.h" more than once.
Added .asciz rcsid's to all files.
1993-08-16 17:06:27 +00:00
glass
2b5ecfd1ab cute bug that mycroft fixed in the hp300 stuff 1993-08-16 16:36:47 +00:00
mycroft
39715a6423 Remove *netbsd, not *vmunix. 1993-08-16 16:23:38 +00:00
mycroft
14af0bbdda Add missing space after path name. 1993-08-16 16:04:53 +00:00
jtc
b977f15be3 Touch up manpages. 1993-08-16 15:57:47 +00:00
jtc
0de7806863 Add STANDARDS section, utime is now 1003.1 compliant. 1993-08-16 15:42:14 +00:00
glass
ce39daad77 'clock' is now part of the standard config system instead of being done
early and in a hacked way.  the movement of startrtclock() to below
cpu_startup() allows this.
1993-08-16 10:42:37 +00:00
glass
a5a10a9e7c 'clock' is now part of the standard config system instead of being done
early and in a hacked way.  the movement of startrtclock() to below
cpu_startup() allows this.
1993-08-16 10:42:19 +00:00
mycroft
669b9e506a Last change was almost correct, but we have to check that the pager actually
has the page.  If not, we go up the shadow chain.
1993-08-16 07:27:06 +00:00
mycroft
ca08320ae9 We shouldn't be diddling POBJS and CLEANFILES. bsd.lib.mk already does the
Right Thing.
1993-08-16 04:16:33 +00:00
mycroft
6fdbcf4e88 For some reason, substitution on variables doesn't seem to work in a target
list.  I don't think I want to know why.
1993-08-16 03:32:58 +00:00
mycroft
990ccb9207 Separate rules for .o and .po files. The previous method just caused too
many problems.
1993-08-16 02:44:19 +00:00
mycroft
121103eb35 Don't define afterdepend if no SRCS. 1993-08-16 01:41:01 +00:00
mycroft
032b0c7d6b Call cpp', not gcc'. 1993-08-16 01:34:27 +00:00
mycroft
ee517430bf SRCS is for source files, not object files! 1993-08-16 01:16:12 +00:00