Commit Graph

425 Commits

Author SHA1 Message Date
cgd 6c547adbae add VERSION file 1993-11-14 13:07:28 +00:00
cgd 97fe973b31 slight cleanup 1993-11-14 13:07:22 +00:00
jtc 00d77f440a Make POSIX.2 compliant by adding -t (offset radix) flag. 1993-11-13 01:51:00 +00:00
hpeyerl 14197c1c8a make "strings -n 3" work. From tmalaher@nt.com 1993-11-12 18:06:06 +00:00
jtc 5ce3d664fb Use new POSIX.2 compatible regex routines in C library instead of -lgnuregex. 1993-11-11 01:29:52 +00:00
jtc 3ee54fb39e simplify error message handling by using err() function. 1993-11-10 20:06:00 +00:00
jtc 81fd674b7b Fix bug that occured when exec-ing program name containing "%" characters
failed --- the "%" chars would be interpreted as printf directives.
1993-11-10 20:01:20 +00:00
deraadt 2576177364 some nice new things 1993-11-10 15:00:41 +00:00
cgd ce2c5525cf do the right thing with EDITOR and PATH. reported (with fix) by
Roland McGrath <roland@frob.com>
1993-11-10 12:35:06 +00:00
deraadt 85889786ad de-ansify
format better, now readable in most cases on 80-char wide screens
and it looks pretty.
1993-11-10 04:19:03 +00:00
deraadt b52aae9d1e more sane output.
option -t: print remote-host's time
1993-11-10 03:52:18 +00:00
cgd 70e18e726e add rcsid's; tag CSRG-93-11-06 is the previous sources 1993-11-09 05:07:24 +00:00
mycroft a2a43d60e4 Clean up deleted files. 1993-11-09 02:59:50 +00:00
alm bc24dd374e Add 4.4BSD more(1) from UUNET. Patched to support regex(3)
and implement historical more commands.
1993-11-09 02:59:05 +00:00
jtc 0605e44a71 Well behaved POSIX.2 utilities always call setlocale() and getopt(). 1993-11-09 01:46:38 +00:00
alm 723804e46a Added regex(3) support.
The syntax:
:!!text
should now append `text' to the last :command.
1993-11-08 05:05:44 +00:00
jtc 62f30e8257 Changes required to make printf utility POSIX.2 compliant:
* Escape characters in the string needed to be processed as they were
   encountered, otherwise a "\000" octal constant would prematurely
   terminate the formatting string.
 * Implemented the %b, SysV echo(1) compatibility, formatting directive.
1993-11-05 20:12:38 +00:00
jtc 83efb17c8e Checkin minor tweaks before giving a copy to the FreeBSD folks. 1993-11-04 05:43:30 +00:00
andrew 1b0bd76d80 make with -DHISTORIC_PRACTICE to obtain the common EOF behavior of the "n"
command.  Don't be fussy about requiring spaces after the "w" command
though.
1993-11-04 01:36:21 +00:00
mycroft 89a4474a07 Build units(1). 1993-11-03 15:25:15 +00:00
cgd ee26bd5d86 fix inconsistent definition of exitcode. change things so that it
(correctly) exits with code 0 if the doc hasn't been modified.
"wah!  i want nvi..."
1993-11-03 08:27:14 +00:00
mycroft d61899ce79 mid+magic is 26 bits, not 24. 1993-11-03 08:03:16 +00:00
mycroft ec894d851c Correct page sizes for M68k and SPARC. 1993-11-03 07:45:55 +00:00
mycroft 34b10abe06 Add entries for object files. Someone should update GAS to generate new-style
magic numbers; otherwise file(1) will just say `big-endian' or `little-endian',
which is not terribly informative.
1993-11-03 07:33:28 +00:00
mycroft 1b543e994f Don't generate two warnings if OSI isn't configured in the kernel. 1993-11-03 06:17:08 +00:00
mycroft a2cdcbb0e1 Add entries for the 386BSD and BSDI executables that we also run, and
gratuitously capitalize `NetBSD'.
1993-11-03 06:03:15 +00:00
mycroft a0b6a72200 Clean up deleted files. 1993-11-03 05:58:02 +00:00
cgd ab60a0b473 include the NetBSD magic file seperately. call it 'NetBSD' rather
than 'netbsd'.  cvs tree magic by cgd will move it to the right place.
1993-11-03 05:56:58 +00:00
cgd 7cb8a1a24d comment out the check for "8086 relocatable (Microsoft)", because
our dynamically linked programs match that (!!), and because
few are likely to have it files of that type on NetBSD systems
1993-11-03 05:27:48 +00:00
cgd 402e6e1c32 'official' patch from Ozan S. Yigit <oz@ursa.sis.yorku.ca>:
bug:if there are multiple files on the command line, file index is not
reset properly, ie. it falls off the side. sigh. also, somewhere along
the line, i again lost the proper m4wrap/autodiversion semantics
[sorry, eric. :-|] but fixed with this patch.
1993-11-03 05:16:21 +00:00
mycroft 7ec1b16a85 Oops. Don't spew garbage if the type is string. 1993-11-03 04:40:04 +00:00
mycroft 11b47679ef Update to reflect changes. 1993-11-03 04:31:34 +00:00
mycroft 155d28e87e Add explicit endians so file(1) works well across architectures. 1993-11-03 04:09:39 +00:00
mycroft ab61bc03f0 Fix numerous sign-extension problems, and add support for explicitly unsigned
comparisons.
1993-11-03 04:04:19 +00:00
mycroft 9fc3df91d1 No, I don't need anyone to point out that I was asleep at the keyboard.
Last change revoked.
1993-11-03 00:40:19 +00:00
mycroft 3544adb2b5 Correct test for dynamically linked executables. (Someone forgot that the
386 is little-endian.)
1993-11-03 00:24:59 +00:00
jtc 4678be880f Don't dump core when processing more than one file.
Bugfix has been forwarded to Ozan, and should be in his next release.
1993-11-02 17:42:17 +00:00
cgd 19f1d2d611 update to the latest cksum utility from uunet. this one is posix
compliant (i think), and fixes a bogon in the old CRC calculation.
yes, that's right, the CRC's it generates are different.
1993-11-02 07:33:08 +00:00
pk be6ea65f08 Close those file descriptors. 1993-10-31 14:54:29 +00:00
pk 3f26fe8498 Check for EX_DYNAMIC flag in exec header. 1993-10-31 14:41:46 +00:00
glass c33a954998 latest m4 from ozan. now does the right thing w/respect to sendmail 1993-10-30 00:28:42 +00:00
phil 23c2fcd278 Added ns32532 and the sparc magic numbers. 1993-10-28 19:29:48 +00:00
jtc 3a2b9d8c2b Added -print0 (like GNU find). This will allow file names that contain
newlines to be correctly interpreted by programs that process find
output.
1993-10-27 17:52:30 +00:00
cgd 1701238139 add units command, written by Adrian Mariano (adrian@cam.cornell.edu or
mariano@geom.umn.edu), cleaned up, KNF'd, etc., by cgd
1993-10-27 03:31:49 +00:00
mycroft 6be6fca207 Print `-' rather than ` ' for 0 idle time. 1993-10-26 20:52:51 +00:00
jtc 2e3e4d6fc1 Change fopen(fname, "a") to fopen(fname, "w") so that the current message
number is updated in place rather than appended to the end.
1993-10-26 18:24:02 +00:00
jtc ddef4b09bc Remove ${LIBCOMPAT} from DPADD --- it was removed from LDADD a long time ago. 1993-10-26 18:21:36 +00:00
cgd 7536dc1148 Fixed multiple off-by-one bugs which caused the open file printing to
not print the last open file.  patch from David Greenman
<davidg@implode.rain.com>.
1993-10-26 02:04:49 +00:00
cgd 670f052fd7 add support for an obj.${MACHINE} dir, which will be used rather than obj,
if both exist.  basically, precedence is now:
	MAKEOBJDIR or (obj.${MACHINE} then obj)
	.
1993-10-23 02:32:03 +00:00
jtc 79c47ced71 Both compress and gzip installed themselves as "zcat". I've changed the
makefiles so only gzip is installed as zcat (and now uncompress) because
gzip is faster than compress and it is able to detect corrupted files.
1993-10-23 01:13:35 +00:00