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
cgd
9ded154964
slight fix from Mark Weaver <Mark_Weaver@brown.edu>
1993-10-23 00:23:07 +00:00
jtc
5587236c81
From Jeremy Scofield -- correctly terminate ranges with backquoted endpoint.
1993-10-22 22:40:17 +00:00
pk
6f8b7828cd
Oops, we do have a man page.
1993-10-22 21:10:42 +00:00
pk
32c8052648
ldd: list shared library dependencies.
1993-10-22 21:09:57 +00:00
jtc
2ddbb97f0f
#include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
...
declarations can be removed from <stdlib.h>.
1993-10-13 18:33:45 +00:00
jtc
029a63116f
Streamline the char/word/line counting logic in anticipation of multibyte
...
character support.
1993-10-12 23:32:20 +00:00
jtc
a3d7805594
Like cat, set the return-value variable "rval" instead of exiting when
...
we encounter run-time errors.
Update usage message.
1993-10-12 22:39:43 +00:00
cgd
8b2f878d38
get rid of some (bad) setreuid() calls, which caused a security problem.
...
bug fix from Rick J Weldon <rick@badboy-jr.hq.af.mil>, and also confirmed
by looking at the latest rdist sources.
1993-10-09 01:11:39 +00:00
cgd
f771d07953
no more librpc
1993-10-08 02:34:16 +00:00
brezak
4eae27f3eb
Whilst hacking the Net/2 version of finger to work on Solaris 2.2 (we
...
needed a finger on that platform which grokked the office/phone # GCOS
info), I decided to put mail status in (as the solaris version has
that).
The attached patch adds:
- manual page typos fixed: finger doesn't scan .forward, contrary to
what the man page says (and really shouldn't either, IMHO - that's
what telnet host SMTP & VRFY are for :)
- added a mail check (printed between login info and the project).
three different messages possible:
- if you have no mail:
No Mail.
- if you have mail, but there's no unread mail:
Mail last read DDD MMM ## HH:MM (TZ)
- if you have new mail:
New mail received DDD MMM ## HH:MM (TZ)
Unread since DDD MMM ## HH:MM (TZ)
- fixed the manual page.
lm@yallara.cs.rmit.OZ.AU (Luke Mewburn)
1993-10-07 19:58:28 +00:00
cgd
d6ff5db170
converted to use gnu malloc, and depend on it correctly
1993-10-07 07:23:44 +00:00
cgd
4b30c543a0
always use libcrypt
1993-10-07 02:16:39 +00:00
jtc
c39233bfc4
Got bored, converted yet another manpage to use the -mandoc macroes.
1993-10-06 19:16:41 +00:00
cgd
5f5f68f982
the config file is in /etc, not /var/adm (which doesn't exist)
1993-10-05 00:51:20 +00:00
jtc
64c09c1d3c
Comma separate items in SEE ALSO section.
...
It's crond(8), not cron(8).
1993-10-04 23:16:31 +00:00
jtc
a157cf6721
Comma separate items in SEE ALSO list.
1993-10-04 22:44:10 +00:00