Commit Graph

425 Commits

Author SHA1 Message Date
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
cgd 1ac3fb6639 widen "Type" field of vmstat -m by 2 characters 1993-10-02 03:26:52 +00:00
jtc 78fc17bf42 Fix grammar error. 1993-10-01 22:42:23 +00:00
jtc 4bbb2333ff Added setlocale(LC_ALL, "") --- all POSIX.2 utilities are supposed to
do this --- although this won't change the behavior of this utility
until we have message catalogs implemented.
Pass through FlexeLint.
1993-10-01 22:41:28 +00:00
jtc 9acd4cced0 Added setlocale(LC_ALL, "") --- all POSIX.2 utilities are supposed to
do this --- although this won't change the behavior of this utility
until we have message catalogs implemented.
Passed through FlexeLint.
1993-10-01 22:23:58 +00:00
jtc 99cd400e2e Use *->fts_errno instead of errno after fts_read(). The fts manpage
indicates that the fts_errno will be set to the correct value, but there
are no guarentees about errno.
1993-10-01 01:03:22 +00:00
jtc 3751e964dc Always use `install -d' to make sure destination directory exists & has
correct ownership and permissions.
1993-10-01 00:35:19 +00:00
pk 0915419517 -I/sys --> -I${DESTDIR}/sys, to support cross-compilation. 1993-09-25 13:19:49 +00:00
mycroft 1749f47c4a Display bytes/second rather than kbytes/sec, and use 3 digits of
precision for transfer time.
1993-09-23 23:15:42 +00:00
jtc 10c0a04cce Added asa utility. 1993-09-23 21:07:37 +00:00
jtc b2be4a7753 The POSIX.2 (POSIX2_FORT_RUN) asa utility, used to format the output of
FORTRAN programs into something usable by a line printer, etc..
1993-09-23 21:04:15 +00:00
jtc ac5c852d4b Make sure we use rstat's protocol's values of FSCALE. We were picking up
the FSCALE from sys/param.h which caused all of the load averages from
remote machines to be incorrect.
1993-09-23 18:37:28 +00:00
jtc 3e7bd7ef44 Document "blank" character class. 1993-09-21 23:39:21 +00:00
jtc f83d35d084 Remove cruft from getopt processing (`-' need not be special cased).
Include appropriate header files to bring prototypes into scope.
Use setlocale() to set locale, and strcoll() for comparisions even though
this won't work until full localization support is completed.
Document the fact that comm now conforms to POSIX.2.
1993-09-21 23:20:34 +00:00
jtc ed96eac23a Document the fact that cmp now conforms to POSIX.2. 1993-09-21 22:37:52 +00:00
jtc 8ad38f4118 Changed to conform to POSIX.2:
EOF message printed to stderr.
Removed bogositys wrt. getopt() processing (special casing `-' is unnecessary).
Updated usage message to document fact that -s and -l options are mutually
exclusive.
1993-09-21 22:35:56 +00:00
mycroft a50f6940ae Well, Andrew's message was totally useless, but there was indeed a bug in
the case where no tabs are inserted.  All hail modulus arithmetic.  The real
fix for this is trivial, but I made a couple of stylistic changes also.
1993-09-21 00:44:36 +00:00
jtc d3027df0ae Include header files to bring appropriate header files into scope. 1993-09-20 23:53:24 +00:00
jtc 9bdffa97b2 Converted to use -mandoc macros. 1993-09-16 23:21:10 +00:00
jtc b3709e3893 Fix typo: magic(5), not magic(__SECTION__) 1993-09-16 22:47:28 +00:00
cgd 8002428397 fix for "touch -t CCYYMMDDhhmm[.SS]". the CC part didn't work. from
Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
1993-09-16 21:44:35 +00:00
cgd 62d3b2073c fix to the 'size' primary; -size <n>c didn't work. from
Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
1993-09-16 21:41:30 +00:00
jtc 5068ba496f Add cross references to "SEE ALSO" section. 1993-09-16 01:56:34 +00:00
jtc 1ace33786c Add "SEE ALSO" cross references.
rwho was changed so a host is considered "down" if it hasn't sent a
response in 11 minutes (it used to be 5) but the manpage was never
updated.
1993-09-16 01:50:33 +00:00
jtc d4b99cd909 Add rup to SEE ALSO section.
Data files are stored in /var/rwho, not /usr/var/rwho.
1993-09-16 01:42:41 +00:00
jtc 4071edc949 Change Sun-OS to SunOS. Every other instance of in manual our manual
is typeset that way.
Remove BUG about sorting options not being supported as rwall never had
sorting.  Probably caused when manpage for rup or rusers was used as a
template.
1993-09-16 01:31:18 +00:00
jtc 29d9ea22b8 Change Sun-OS to SunOS. Every other instance of in manual our manual
is typeset that way.
1993-09-16 01:30:19 +00:00
jtc be9cb2234b Remove explicit declarations of isfoo() functions, because we fixed
ctype.h to declare the isfoo() functions.
Remove isblank, as our C library now provides it.
1993-09-14 01:17:46 +00:00
brezak 392d33e338 Remove filenames with -x flag, too. 1993-09-07 16:12:15 +00:00
mycroft f61c0b9f80 vtroff --> troff
From Sascha Wildner.
Also, change reference to vlp to lpr.
1993-09-05 22:48:37 +00:00
deraadt 7db7c789ae teach rlogin about new higher baud rates, from <bob@speakez.com> 1993-09-05 19:05:01 +00:00
cgd a426a86fe5 note that communism has gone away in hungary...
from Szabolcs Sziget <pink@bagira.fsz.bme.hu>
1993-09-05 00:59:37 +00:00
jtc acb2374c70 Link elvis manpage to vi, view, and ex. 1993-09-04 02:29:29 +00:00
jtc 73216f16dd Document the fact that logger is POSIX.2 compliant. 1993-08-28 04:57:17 +00:00
jtc ad53c09584 Document the fact that logname is POSIX.2 compliant.
Simplify command line argument processing.
1993-08-28 04:52:11 +00:00
jtc ca2f4c2507 Document the fact that id is POSIX.2 compliant.
This manpage must have been derrived from the logname manpage, remove
logname cruft.
1993-08-28 04:39:51 +00:00
jtc 6db5d071a8 Document the fact that head is POSIX.2 compliant. 1993-08-28 04:34:32 +00:00
jtc b1c840c324 Document the fact that fold is POSIX.2 compliant.
Update usage string.
1993-08-28 04:30:00 +00:00
jtc 8493051c26 Document the fact that env is POSIX.2 compliant.
Change "command" to "utility", as env can only execute stand-alone utilitys
as apposed to built-in commands.
1993-08-28 04:19:10 +00:00
jtc 62fde1efe8 Document that true and false are POSIX.2 compliant. 1993-08-28 03:45:02 +00:00
jtc 80d3a747c7 Document the fact that tty is POSIX.2 compliant. 1993-08-28 03:23:48 +00:00
jtc 8443922025 Document the fact that uname is POSIX.2 compliant. 1993-08-28 03:20:25 +00:00
jtc fe20100606 Changed to be POSIX.2 compliant. 1993-08-28 02:34:04 +00:00
jtc f7c6bf575a Minor tweaks: including header files to bring prototypes into scope,
explicitly declaring function return values, etc. to make gcc -Wall
shut up.
1993-08-27 22:30:10 +00:00
jtc 5e2ed6648a Note that uuencode is POSIX.2 compliant. 1993-08-27 22:25:56 +00:00
jtc 10a20d067c Implement mailx's askbcc option. 1993-08-27 20:31:51 +00:00
jtc aae6837578 Install mail as mailx too.
It's not quite POSIX compliant, but it only needs a few tweaks here and there.
1993-08-27 20:31:07 +00:00
jtc 7b5c7989f0 Changed to be POSIX.2 compliant. 1993-08-27 20:22:04 +00:00
jtc f3781892d9 Changed to be POSIX.2 compliant.
Don't crash with -l option if program executed in less than one tick.
1993-08-27 19:05:29 +00:00
brezak 550ea769ff Add -x flag to remove stabs, compiler idents and local symbols. 1993-08-27 02:33:34 +00:00
jtc 9b167d5a52 Fix formatting bug. 1993-08-26 23:02:54 +00:00
jtc 34a64dcb50 rpcgen is just a protocol compiler, it doesn't need -lrpc 1993-08-23 21:21:49 +00:00
cgd f0ba70d26a make various vm counters part of the "standard" nlist (for mw) 1993-08-23 10:33:07 +00:00
cgd e57d888eed fix from chmr@edvz.tu-graz.ac.at (Christoph Robitschko)
to get things right if obj is a symlink and points to nowhere.
1993-08-23 05:29:31 +00:00
cgd 4543c1ebfd changes from 0.9-ALPHA2 to 0.9-BETA 1993-08-23 04:59:38 +00:00
jtc 0942acadf0 Document that utility now conforms to IEEE 1003.2-1992. 1993-08-19 17:16:39 +00:00
jtc 37f6fbfafe /usr/ucb -> /usr/bin, /usr/msgs -> /var/msgs 1993-08-17 20:02:27 +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 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 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
mycroft 032b0c7d6b Call `cpp', not `gcc'. 1993-08-16 01:34:27 +00:00
mycroft 3c52920854 Put back RCS identifier. 1993-08-14 20:00:00 +00:00
mycroft 65caf7fdfd #include <sys/ioctl.h>, to get FIONREAD. 1993-08-14 13:47:51 +00:00
mycroft 651eb610f5 Fix rcsid conflict. 1993-08-14 10:32:15 +00:00
alm 5ef7fe2b6a Was testing against rm_so instead of rm_eo. So now:
$ echo aabb | sed 's/\(.*\)\1/(\1)/g'
(a)(b)(c)
1993-08-14 03:06:53 +00:00
mycroft 2a5ddbd2a3 Clean up deleted files. 1993-08-13 12:07:47 +00:00
cgd 937eaf8b16 get rid of AT&T's cpio. we shouldn't be distributing it. see
note in 'source' archive for further clarification.
1993-08-13 12:06:47 +00:00
alm b6b50355eb removed GNU_REGEX directive
catch infinite substitution for the following cases:
echo hi | sed 's/$/a/g' (prints hia)
echo hi | sed 's/h*/x/g' (terminates with error: infinite substitution)
1993-08-13 02:26:38 +00:00
mycroft d68fbfdb4f Test _POSIX_VERSION, not __386BSD__, for getcwd() junk. 1993-08-10 15:44:23 +00:00
mycroft d08fc14ef2 Use `realinstall', not `install', for special case, to avoid some lossage
when NOMAN is set.
1993-08-10 00:50:50 +00:00
mycroft 3158f25b88 Don't declare _putchar(). (Curses does it.) 1993-08-10 00:08:52 +00:00
mycroft 330f671351 Use termios rather than sgttyb. 1993-08-10 00:07:05 +00:00
mycroft 7a5112319b Fix rcsid conflict. 1993-08-10 00:05:51 +00:00
mycroft 4834e0c778 Don't reset CFLAGS. 1993-08-09 23:59:59 +00:00
deraadt b028be3a86 teach file about the m68k and m68k4k a.out formats 1993-08-09 09:55:18 +00:00
cgd cd56dd1638 merge in changes from netbsd-0-9-ALPHA2 1993-08-07 07:53:27 +00:00
cgd 5d4118791b do block commenting, if comment begins with slash-star-newline. 1993-08-07 06:56:49 +00:00
mycroft 616b65b637 Add 4.4-specific code in `#ifdef notyet's. 1993-08-07 04:50:32 +00:00
mycroft 1a8be6e1aa New version from uunet. Uses mmap(). 1993-08-07 04:44:25 +00:00
mycroft 6a2f04d860 New version from uunet. Minor changes. 1993-08-07 04:35:30 +00:00
mycroft 48796ec59b New version from uunet. Uses mandoc macros. 1993-08-06 19:34:17 +00:00
mycroft a78a8ce534 Incorporate new version using getbsize(), with -k flag added. 1993-08-06 17:05:08 +00:00
deraadt f85c326074 for new fts library 1993-08-06 01:53:33 +00:00
deraadt 4e14c1b196 incorrect rcsid[] declarations fixed 1993-08-06 01:47:17 +00:00
deraadt ab8f70aa6d because of fts library update 1993-08-06 01:36:45 +00:00