Commit Graph

1558 Commits

Author SHA1 Message Date
Joerg Wunsch 232eaee62a Make the $@ macro behave as described in the man page.
This patch has been submitted by Andreas Burmester (i think) on the
German Usenet long ago.  Andreas told me that our m4 has quite more
subtle bugs, so we might consider using NGU m4 instead.
1997-04-13 17:51:32 +00:00
David Nugent 3169e0f139 Use isdialuptty() rather than hard-coded heuristic. 1997-04-13 15:26:04 +00:00
Jordan K. Hubbard deb9eaa91f Add support for GLOBAL style tags. 1997-04-13 06:47:02 +00:00
Jean-Marc Zucconi 8609d4594f Upgrade to the 1997/02/19 version. 1997-04-13 01:13:52 +00:00
Peter Wemm a1b0f30719 Oops. Broke golden rule #1: test everything before commit. :-] 1997-04-12 14:34:02 +00:00
Peter Wemm 0be88738f6 Respect NOTCL, don't link with libtcl for the scripting support if
we're not building it.
1997-04-12 14:28:13 +00:00
Peter Wemm 51e16fc108 Make tclsh conditional on the src/contrib/tcl directory existing, and
allow it to be disabled via NOTCL in /etc/make.conf (similar to other
stuff in src/Makefile, eg: NOGAMES)
1997-04-12 07:09:18 +00:00
David E. O'Brien 2dc545bba5 Add -3 option to usage() statement. 1997-04-11 19:54:09 +00:00
David E. O'Brien 849e394f6b Add ``%{'' and ``%}'' to one of the examples so that you can actually
cut-n-paste the example and have it actually lex and compile.
1997-04-11 10:33:12 +00:00
Bruce Evans 67036295bc Fixed bogus existence check related to searching for a nearby obj directory.
Now the search is as incomplete as elsewhere instead of broken.
1997-04-10 15:15:43 +00:00
Andrey A. Chernov fc092135ab Fix 8bit chars handling 1997-04-08 13:52:53 +00:00
Alexander Langer ef0e2ea4c7 Support for -c, byte count. 1997-04-06 00:54:27 +00:00
Peter Wemm aa9278ffa9 move top.1 -> top.local.1, and generate top.1 so that the man page
is remotely useful
1997-04-05 22:05:46 +00:00
Juli Mallett 8bb9171ccb This commit was generated by cvs2svn to compensate for changes in r24628,
which included commits to RCS files with non-trunk default branches.
1997-04-04 18:41:29 +00:00
Juli Mallett 836b9b6243 Import OpenBSD m4 as of today. 1997-04-04 18:41:29 +00:00
Bruce Evans 9fa50de4c4 Fixed missing ${COPY} in install rule. 1997-04-04 15:09:42 +00:00
Mike Pritchard 1e97ca0116 Remove the etc-magic target since we no longer install the
/etc/magic symlink.
1997-04-04 02:42:53 +00:00
Mike Pritchard 9753286fae The magic file now lives in /usr/share/misc.
Closes PR# 3187.

Submitted by:	Ollivier Robert <roberto@keltia.freenix.fr>
1997-04-04 02:41:01 +00:00
John-Mark Gurney 47a5f49956 minor stylistic change (NULL to '\0')
Submitted-by: Philippe Charnier <charnier@xp11.frmug.org>

Closes PR#2999
1997-04-02 10:44:12 +00:00
John-Mark Gurney 75ce49d645 add comment about the brokeness of some termcap entires that require a
`%' to be just that...

make tput just warn about an unknown type modifier instead of breaking...
this allows you to `tput init' on a tek4107...
1997-04-02 10:27:27 +00:00
John-Mark Gurney 39746e4630 make it so that chat doesn't fail when it can't get terminal params..
this allows it to work on non-tty input...  also don't warn when this
happens as it could get noisy...

Silence is Acceptance
1997-04-02 09:55:26 +00:00
Mike Pritchard 5a4db6eb6c Grammar fix. 1997-04-01 19:09:20 +00:00
David Nugent f72b1ff3be Submitted by: Sergei Chechetkin <csl@whale.sunbay.crimea.ua>
Fix incorrect bracket nesting. Closes PR#3144.
1997-04-01 11:54:06 +00:00
Bruce Evans 35c6f6c2cf Fixed DPADD. 1997-04-01 07:37:28 +00:00
Brian Somers 687d0cdeb3 Remove the syslog stuff, and allow various return values
in uu_lock().  Add uu_lockerr() for turning the results of
uu_lock into something printable.  Remove bogus section in man page
about race conditions allowing both processes to get the lock.
Include libutil.h and use uu_lock() correctly  where it should.

Suggested by:	ache@freebsd.org
1997-03-31 22:51:00 +00:00
Wolfram Schneider 58c960f434 Add a note in BUGS section that shar(1) cannot handle files
without a newline ('\n') as last character.
1997-03-31 17:58:27 +00:00
Marc G. Fournier 26dce0e6e8 Small formatting change to interval() to align columns so that:
toronto       up  5+18:58,     0 users,  load 0.00, 0.00, 0.00
zeus          up 109+13:53,     0 users,  load 0.55, 0.28, 0.15

looks like:

toronto       up   5+18:58,     0 users,  load 0.00, 0.00, 0.00
zeus          up 109+13:53,     0 users,  load 0.55, 0.28, 0.15
1997-03-31 09:36:59 +00:00
Andrey A. Chernov 5790155e89 Use srandomdev() now
Fix error with begin variable calculation
1997-03-30 23:13:59 +00:00
Brian Somers 568b59b9df Move uucplock into libutil and create a manual page. 1997-03-30 12:12:20 +00:00
John Polstra a8e37af87a Fix broken built-in ELF file handling, caused by missing prototypes
and use of off_t.  Correct the types of Elf64_Addr and Elf64_Off.
1997-03-29 22:26:03 +00:00
Bill Paul e49249921c Fix for PR #3141: check for NULL before strdup()ing pw->pw_class.
(I'm not sure why this happens, though I suspect it may be because
the server is configured with only passwd maps instead of both passwd
and master.passwd maps. This is allowed, but I think in this case
pw_class is left NULL, hence the problem.)

Also applied similar patch to chpass/pw_yp.c just for paranoia's sake.
1997-03-29 20:29:12 +00:00
Mike Pritchard 4153d35919 The text describing exit values >1 was formatted incorrectly.
Obtained from: NetBSD-bugs PR# 3406
1997-03-29 20:01:59 +00:00
Bruce Evans c263a0048d Removed `#define KERNEL'. This was a hack-around for nfs.h being broken
in the Lite2 merge to not export some nfs constants.  It started causing
warnings when I added a kernel-only #define for DIRBLKSIZ.

Removed `#define NFS'.  This was an old, bad interface for telling
<sys/mount.h> to export nfs stuff.
1997-03-29 12:50:41 +00:00
Warner Losh 1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
David Nugent 1f5367caee Fix for logic in no-password accounts. 1997-03-27 10:09:09 +00:00
Peter Wemm 9d08e419b9 Fix "-fstype local" that was broken by another bugfix in the Lite2 merge.
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3076
1997-03-27 02:36:26 +00:00
Andrey A. Chernov 6f810dd5fe Add ASCII collate mainly for fallback for EUC-type locales 1997-03-25 16:50:07 +00:00
Andrey A. Chernov 1037a51b7e Add fake codesets 3 & 4
Submitted by: junker@jazz.snu.ac.kr
1997-03-25 16:03:16 +00:00
Wolfram Schneider d05c3da950 Be tolerant to old uuencode programs which encode the ASCII NUL
character as character 32 (space) instead character 64 (`).

See also  'The UNIX-HATERS Handbook', page 82-83.
1997-03-25 14:31:31 +00:00
David Nugent 4a028a883d Don't bypass password prompt for root logins on insecure tty if
the root password is empty.
1997-03-25 05:15:04 +00:00
David Nugent d8a7b3477f strdup() value of term to correctly preserve contents.
Rearrange validation logic so that it works correctly when
compiled with kerberos support. Closes PR#3056.
1997-03-24 21:22:12 +00:00
Andrey A. Chernov c49659eaa6 Initialize RNG only once
Use srandomdev() now
1997-03-24 16:10:26 +00:00
Andrey A. Chernov d9c406718c Remove libcurses, it is pure termcap application 1997-03-24 14:29:46 +00:00
Warner Losh f85d627937 Buffer overflow from Keith Bostic.
Obtained from: BSDi by way of Keith Bostic
1997-03-24 05:51:59 +00:00
Warner Losh 1e545639ed Use mkstemp rather than mktemp to prevent a small race.
OpenBSD has a similar code, but this was indepenent.
1997-03-24 05:50:27 +00:00
Mike Pritchard 1ffa2a8e1b Use the .Tn macro for a couple of generic FreeBSD references.
This has the desired side-effect of preventing a bad hyphenation
of the word FreeBSD in one place.
1997-03-24 01:15:16 +00:00
Joerg Wunsch 8187fe4813 Include `top'. 1997-03-23 18:59:47 +00:00
Joerg Wunsch 511d9c6565 This is the FreeBSD-specific files for top, plus the Makefile
that pulls all the files from contrib.

Obtained from:	The ports collection (mostly).
1997-03-23 18:55:20 +00:00
Mike Pritchard 0b6f152321 Remove the text that says nroff and pr automatically disable
writing to the tty while they are running because they don't.
1997-03-22 17:19:32 +00:00
Bruce Evans 7677efc6a4 Don't generate invalid C++ code (for implicit conversion from `void *' in
assignment).
1997-03-22 01:48:17 +00:00