Commit Graph

2199 Commits

Author SHA1 Message Date
Poul-Henning Kamp
3d65e4d1f8 Like most Unices FreeBSD should have a larger tty field at least
as large as UT_LINESIZE (/usr/include/utmp.h). If the tty name is logged
with this size why isn't the w command reporting it?

(We should probably report the tty/cua prefix then as well ? /phk)

PR:		4187
Reviewed by:	phk
Submitted by:	Jorge M. Goncalves <ee96199@tom.fe.up.pt>
1998-04-19 18:32:01 +00:00
Poul-Henning Kamp
c5d1ef4169 The current version of netstat does not print the interface
name for AF_LINK routing entries. This makes debugging
network problems more difficult.
PR:		4182
Reviewed by:	phk
Submitted by:	Craig Leres <leres@ee.lbl.gov>
1998-04-19 18:18:25 +00:00
Poul-Henning Kamp
d459926593 Ctags write to buffer beyond the end of it when the source file
doesn't end with '\n'. It brings segmentation fault.

PR:		4812
Reviewed by:	phk
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
1998-04-19 18:00:49 +00:00
Poul-Henning Kamp
f934279d20 mt should report the compression status.
PR:		5276
Reviewed by:	phk
Submitted by:	Matt Dillon <dillon@best.net>
1998-04-19 17:28:14 +00:00
Daniel O'Callaghan
7e3662b819 PR: 4866
Submitted by:	fenner
Make man page reflect reality.
1998-04-14 22:08:48 +00:00
Peter Wemm
46fec6d189 Add mktemp directory 1998-04-14 07:40:47 +00:00
Peter Wemm
4ca332d5bf Bring in an old faithful tool I've been using for just over 4 years now
(originally on a different OS without mkstemp()), albeit somewhat
bashed and hacked into something that doesn't look too much like
the original any more.  It should be upwardly compatable with
OpenBSD's mktemp(1) but does a couple of extra things.

I've taken OpenBSD's mktemp.1 man page and adapted it to suit.
1998-04-14 07:39:57 +00:00
Poul-Henning Kamp
acf1dcdc9c Better SYNOPSIS
PR:		6294
Reviewed by:	bde, phk
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 06:42:18 +00:00
Poul-Henning Kamp
651cabf8b3 add strings(1) to what(1) "SEE ALSO"
PR:		6289
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-04-14 06:31:23 +00:00
Steve Price
2d5be945b8 Document the use of sendmail options on the commandline.
PR:		4778
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:59:29 +00:00
Steve Price
2a453c238f Don't let secs variable wrap if <= 2.
PR:		6290
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:23:54 +00:00
Peter Wemm
eb1c943900 Add a new -F flag which is a superset of -f. It will cause tail to
stat() the file being followed and do a close/reopen if the file has been
renamed and/or rotated.  This is damn useful for leaving running on files
in /var/log when newsyslog(8) rotates them.
1998-04-06 16:13:49 +00:00
Philippe Charnier
52e8a120a3 Prevent rdist from dumping core: do not free() pointer before using it.
Add rcsid. Document -D flag (debug mode). Remove unused includes.
PR:bin/3158 (part 1)
1998-04-06 06:18:32 +00:00
Daniel O'Callaghan
5c1bad3122 PR: bin/6193
Submitted by:	Max Euston <meuston@jmrodgers.com>
Make times between 0000-0059 and 1200-1259 show as 12:xx, not 0:xx
1998-04-01 21:34:10 +00:00
Mark Murray
9de765d73b Rats. I was too fast here. Re-enable SUID mode for the non-Kerberos
case.
1998-03-26 19:43:06 +00:00
Mark Murray
42873e5755 Quite a while back KTH (who are the good folks who wrote our KerberosIV)
announced a K4 weakness with their rsh/rlogins. We were not put in any
danger by this, as we were not using KTH rlogin/rsh, but the patches
in themselves, had some good points. This lot means we can run our
rlogin without it being SUID root. Win win win. There are other KTH
cleanups as well.
1998-03-26 18:03:41 +00:00
Mark Murray
17515961ec Remove unneeded crud. 1998-03-26 17:55:27 +00:00
Eivind Eklund
bd41cae5e3 Remove special global tags support; we don't do it that way anymore. 1998-03-26 16:12:14 +00:00
John Birrell
df93fef29b Ouch, that nm is aout which is not alpha-friendly. Make it i386
specific.
1998-03-24 01:43:45 +00:00
Bruce Evans
8faed1b0dc Ifdefed conditionally-unused variables. 1998-03-23 14:14:24 +00:00
Philippe Charnier
306005e78c .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
Philippe Charnier
a31bd3d64c Add rcsid. Sort #includes. 1998-03-23 07:47:31 +00:00
Philippe Charnier
3508975f96 Add const to rcsid. 1998-03-23 07:46:23 +00:00
Philippe Charnier
6363467d81 .Nm nice -> .Nm. 1998-03-23 07:45:40 +00:00
Philippe Charnier
522571b32e Add rcsid. Correct -Wall warning. 1998-03-23 07:41:49 +00:00
Steve Price
a76f172954 Reword using who.1 as a good example of where to start.
Submitted by:	bde
1998-03-22 17:39:08 +00:00
John Birrell
1b31c7dd49 Remove a bunch of unsupported machines, and the 'other' case where
some subdirs were only processed for install and clean (which caused
builds to fail on alpha). Install and clean should always follow
SUBDIRS.
1998-03-22 08:55:28 +00:00
Peter Wemm
01c855ca0a merge ppp-2.3.3 changes onto mainline 1998-03-21 20:47:53 +00:00
Bruce Evans
7eda6c03ce Honour -static in LDFLAGS.
Install using ${INSTALL}, not `install'.  Install generated files using
${COPY}, not -c.  Install using a single command when this is easy.
1998-03-21 12:51:44 +00:00
Bruce Evans
e1d3476a8e Don't use beforedepend to break things. The usual fix of putting
generated sources in SRCS breaks because compile_et uses an evil
include of one .c file in another.  Use a worse fix.  Perhaps
DPSRCS is useful after all.

Don't put *.y in SRCS.  Put the generated file in SRCS instead.
This fixes incomplete dependencies (mkdep can't work on *.y).

Don't override the default .l.c rule.  Just use LFLAGS.

Fixed some style bugs.
1998-03-20 16:21:39 +00:00
Bruce Evans
861999b4c1 Updated MISSING list. 1998-03-20 12:34:21 +00:00
John Birrell
5c931089a9 Some things only work on i386. 1998-03-13 19:41:06 +00:00
Peter Wemm
6593044822 Import intial version of an a.out/elf tool wrapper/selector. It is
not active yet, just a work-in-progress.
1998-03-10 05:20:58 +00:00
John Birrell
4933ffaed9 cksum does a 32-bit checksum, so it needs to use u_int32_t variables,
not u_long. With this change, cksum stops core dumping on alpha (not
a good sign!) and actually computes the same values as it does on i386.
1998-03-10 05:03:49 +00:00
Andrey A. Chernov
0c312497c7 Localize it 1998-03-08 20:56:43 +00:00
Wolfram Schneider
8b91ab6a61 Change default temporary directory (TMPDIR) from /tmp to /var/tmp.
Mosts users seems to have a larger /var/tmp partition
than /tmp - IMHO silly but who cares?
1998-03-08 16:09:31 +00:00
Wolfram Schneider
a294b5d81b Improve shell variable substitution. 1998-03-08 15:28:37 +00:00
Peter Wemm
e8eb82a81c Rewrite script as a select loop rather than as a twin reader/write process.
This allows simple logging of keys sent to a session (turned on with -k).
Also allow specifying the script file flush interval.
1998-03-08 14:19:18 +00:00
Wolfgang Helbig
2c7dad3eea Replaced by ncal 1998-03-08 09:19:48 +00:00
John Dyson
4d5459f794 Support a couple of new "-s" stats. 1998-03-07 23:40:23 +00:00
Andrey A. Chernov
9b0c02c058 Prevent passwd locking database forever waiting for user input
Submitted by: Antti Kaipila <anttik@iki.fi>
1998-03-07 21:42:07 +00:00
John Birrell
36dbb7ddef Fix a #ifndef that became a #ifdef and changed the default
behaviour of rpcgen.

Noticed by: bde
1998-03-07 05:43:59 +00:00
Bruce Evans
99c91e5acc Fixed `make -jN' for large N. Just put the generated file y.tab.h in
SRCS and add a dummy rule to create it.  This and cleaning of yacc
output files should all be handled by bsd.prog.mk.
1998-03-06 14:25:45 +00:00
Bruce Evans
8408ce6f64 Fixed `make -jN' for large N, as usual. 1998-03-06 14:02:04 +00:00
Bruce Evans
10b2c6839a Fixed `make -jN' for large N. Just put all generated headers in SRCS. 1998-03-06 13:51:18 +00:00
Steve Price
0ad8c69ad4 Fix a few minor typos and style nits.
PR:		5883
Submitted by:	hnokubi@yyy.or.jp
1998-03-01 18:58:03 +00:00
Alexander Langer
098fd386f6 Use .Nm rdist for second .Nm occurrence in synopsis. 1998-03-01 00:18:25 +00:00
Alexander Langer
cb72607e75 Use .Nm id' instead of .Nm' for the synopsis lines.
PR:		5876
1998-02-28 21:37:54 +00:00
James Raynard
09831267df Don't assume sigset_t and int are equivalent. 1998-02-28 16:02:24 +00:00
Mike Smith
fce0b07815 Don't claim XMS isn't implemented (it is).
Attempt to explain the "X11 support not compiled in" diagnostic.
Submitted by:	philip@rmit.edu.au (Philip Musumeci)
1998-02-26 07:53:02 +00:00