Commit Graph

3349 Commits

Author SHA1 Message Date
Ruslan Ermilov
00eea183e1 - Reflect `gateport' variable type change.
- Make it compile with -Wall.

PR:		18619
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
Reviewed by:	ru
2000-06-24 15:34:31 +00:00
Ruslan Ermilov
a02450722b Get rid of segfault in a `site %s' case.
Submitted by:	Max Khon <fjoe@iclub.nsu.ru>
2000-06-23 14:39:23 +00:00
Sheldon Hearn
ce1fc2b2df Fix problems introduced in the previous commit:
*	Do not use explicit paragraphing (Pp) to separate list items.
*	Do not use semi-colons to punctuate list items; the use or
	periods eases maintenance.
*	Do not mark up external shell commands as internal commands
	(Ic).
*	Do not introduce new hard sentence breaks.
2000-06-23 09:08:45 +00:00
Thomas Gellekum
96ba60ede2 Install a VGA font for the X11 mode. Use a line like
xset fp+ /usr/libdata/doscmd/fonts
in your .xsession to activate it.

Document X11_FONT option in .doscmdrc.

Open window if $DISPLAY is set.
2000-06-23 08:57:17 +00:00
Jonathan Lemon
ea9bd2df1d If the kevent() registration fails (probably due to the underlying
filesystem not being kq-aware), then fall back to using sleep.  This
allows tail to work with NFS filesystems again without chewing up CPU time.

When given the -F flag, resort to sleep/stat after the file was moved
or deleted.  This allows a window where the file being tailed does not
exist at all, which is typically the case during log rotation.  Switch
back to using kq (if possible) after the file is reopened.
2000-06-22 18:46:03 +00:00
Brian Feldman
84ad3d8fc4 Make cmp -s work properly if skip values are given. Also, exit(1)
is now exit(DIFF_EXIT).

PR:		18597
Submitted by:	Anatoly Vorobey <mellon@pobox.com>
Committed at:	Usenix terminal room
2000-06-20 20:28:40 +00:00
Alexander Langer
532f29dc34 Fix typo(s) I overlooked in my last commit.
(This aid in pin pointing -> This aids in pinpointing).

Submitted by:	sheldonh
2000-06-20 15:40:50 +00:00
Stefan Eßer
8834b38862 Fix obvious cut-n-paste error.
Submitted by:	Thomas Ludwig <tludwig@urbanet.ch>
2000-06-20 15:36:38 +00:00
Josef Karthauser
141d77b8cb Switch over to using the new fflagstostr and strtofflags library calls. 2000-06-17 14:19:33 +00:00
Alexander Langer
98fae40bf0 /etc/weekly --> /etc/periodic/weekly/310.locate
PR:		19268
Submitted by:	Uwe Pierau <uwe.pierau@tu-clausthal.de>
Reviewed by:	asmodai
2000-06-14 17:41:31 +00:00
Hajimu UMEMOTO
bc67101b31 Make sure to use native IPv4 addrerss even if getaddrinfo()
returns IPv4 mapped IPv6 address.  FTP is nervous about address
family.
Submitted by itojun and slightly modified to fit our ftp(1).
2000-06-14 15:26:58 +00:00
Ollivier Robert
c4b8db0095 Make find -Wall -Wredundant-decls clean.
Submitted by:	nrahlstr
2000-06-14 07:43:52 +00:00
Alexander Langer
a709b8e635 mdoc improvements and better readability of the text.
PR:		18811
Submitted by:	Christian Weisgerber <naddy@unix-ag.uni-kl.de>
Reviewed by:	asmodai
2000-06-13 12:25:20 +00:00
Hajimu UMEMOTO
6c62dafbff Mention about -4 and -6 options. 2000-06-12 18:30:16 +00:00
Ollivier Robert
c76bc8f3bf This patch adds the -mindepth and -maxdepth options to find(1), which
behave as in GNU find (and of course as described in the manual page
    diff included).  I think these options would be useful for some people.

    Some missing $FreeBSD$ tags are also added.

    The patch was slightly modified (send-pr mangling of TABS).

PR:		bin/18941
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
2000-06-12 11:12:41 +00:00
Jeroen Ruigrok van der Werven
987170f752 Document SVR4 branding is supported.
PR:		19131
Submitted by:	Mike Barcroft <mike@q9media.com>
2000-06-12 11:12:19 +00:00
Ollivier Robert
9d2796c3ec The find -perm option currently supports an exact match,
or if the mode is preceded by a '-', it checks for a match
        in at least the bits specified on the command line.  It is
        often desirable to find things with any execute or setuid or
        setgid bits set.

PR:		bin/10169
Submitted by:	Monte Mitzelfelt <monte@gonefishing.org>
2000-06-12 10:36:52 +00:00
Guy Helmer
7111b0acef O_NONBLOCK was used as a command with a bogus arg to fcntl(2).
Change it to F_SETFD with an arg of 0 to clear O_NONBLOCK.

PR:		bin/8681
Submitted by:	koyama takahiro <tah@d1.dion.ne.jp>
Prompted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-06-09 19:38:28 +00:00
David E. O'Brien
eaee96e94a Add links to "edit" to ease tech support's job. 2000-06-06 22:55:41 +00:00
Jeroen Ruigrok van der Werven
1b24d0eff5 Fix example.
PR:		18953
Submitted by:	Mark Ovens <mark@ukug.uk.freebsd.org>
2000-06-04 09:11:22 +00:00
Bruce Evans
81ae6b6341 Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated
and $< and $@ are even documented as deprecated.
2000-06-03 11:39:38 +00:00
Poul-Henning Kamp
fb7a8c91b8 Duh! get the scaling right. 2000-06-01 08:49:46 +00:00
Poul-Henning Kamp
0e5064d228 Rescale the IOstat bars, modern disks are faster than old disks. 2000-06-01 08:26:13 +00:00
Paul Saab
e02ce429fa Nuke more from the repository. 2000-05-29 13:31:51 +00:00
Kris Kennaway
72741b445a Silence warnings. 2000-05-27 22:38:03 +00:00
Jake Burkholder
e39756439c Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by:		msmith and others
2000-05-26 02:09:24 +00:00
Hajimu UMEMOTO
9ba97db25b Don't pass scope-id to EPRT command.
Reviewed by:	sumikawa
2000-05-25 15:27:31 +00:00
Jake Burkholder
740a1973a6 Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.

Suggested by:	phk
Reviewed by:	phk
Approved by:	mdodd
2000-05-23 20:41:01 +00:00
Paul Saab
2f20458059 Install a manpage for more. 2000-05-23 08:26:15 +00:00
Paul Saab
c586c5db07 Detach usr.bin/more and install a link from less. less will behave
like more if invoked as more.  The old more has not been removed.
2000-05-23 08:16:25 +00:00
Hajimu UMEMOTO
07da07565e Replace isurl() with isipv6addr().
Reported by:	Koji Kondo <koji@jp.above.net>
Obtained from:	NetBSD
2000-05-22 17:18:38 +00:00
Paul Saab
5b6a15c73d Dont use/install the formatted man file. 2000-05-22 10:43:56 +00:00
Paul Saab
6f7d2d90ce bmake glue for less.
Reviewed by:	peter
2000-05-22 10:00:00 +00:00
Brian Feldman
c8b1db2ed8 In the modern world, things are much faster than when more(1) was created.
Scrolling sideways is fast, and a "...skipping..." message making everything
blink does much more harm than good.
2000-05-21 18:35:28 +00:00
Kris Kennaway
6ad135868c fork() -> vfork()
This would have been commit #2 which was "Obtained from: BSD/OS" except
their code is buggy (they call err() if the execl() fails, which will
incorrectly call exit()), so instead this is:

Obtained from:	NetBSD
2000-05-19 09:42:53 +00:00
Tim Vanderhoek
b75cda591f Use different filenames.
Submitted by:   bin/16927, Mike Heffner
2000-05-17 22:46:47 +00:00
Tim Vanderhoek
1cdf1085c1 Catchup with the times:
- Avoid use of word that Americans don't know how to spell
 - Avoid use of capital letters when referring to command names
 - Bookmarks do span files
 - Use .Qq where appropriate.  I didn't use .Sq or .Dq where `' and ``''
   appear, since it's not clear to me what modern usage of those two
   macros is.
 - Say simply: ``See .Xr xxx 1'' rather than ``See the .Xr xxx 1 command''.
   This former style has undoubtedly increased in popularity due to
   html and hyperlinks, but it's always been around (esp. for manpage
   sections other than section 1).
 - Use .St
 - Dedocument use of `-' to mean that `more` should read from its
   standard input.  The modern preferred way to read from standard
   input is by specifying /dev/stdin.  This is not a prelude to changing
   more's behaviour within the short term (ie. at least 3-4 years).
2000-05-16 17:19:32 +00:00
Tim Vanderhoek
da94aa4ef2 From PR submitter:
compress uses setfile() to make flags, ownership and mode of the output
 the same as those of the original. However, if the filesystem holding the
 output file doesn't support these operations, compress prints a warning.
 This bites a bit with NFS directories, which always fail the chflags()
 operation. If the file system doesn't support the operation, then the
 flags data wasn't valid on the original file anyway, so the warning is
 spurious.

Submitted by:	bin/16981 (Peter Edwards <peter.edwards@ireland.com>)
2000-05-16 04:58:34 +00:00
Chris Piazza
3797b581a9 Remove addition of -g to CFLAGS 2000-05-16 04:23:54 +00:00
Tim Vanderhoek
9c854c8b44 I'm not sure what posessed me to initialize wraplines to FALSE in the prev
commit, but it's obviously supposed to be initialised to TRUE.
2000-05-15 16:39:58 +00:00
Poul-Henning Kamp
78cb0ab485 Oops, byte offset was as off_t. 2000-05-15 08:43:25 +00:00
Poul-Henning Kamp
e03983a32c Let cmp(1) grow in -x option to print differences in contemporarry hex
format rather than the mixed decimal/octal format of -l.
2000-05-15 08:30:43 +00:00
Will Andrews
f4180808d2 Update make(1) manpage to include information about the new loud
debugging facility I introduced earlier today.
2000-05-14 23:03:45 +00:00
Will Andrews
ea9b438956 Add loud debugging facility (-dl option) which allows programmers/developers
to override @-prefixed commands in Makefiles.  It is especially useful for
debugging ports and/or complex Makefiles in such a manner that is basically
a last resort, but is quite effective if the output is well-handled.

I'll update the manpage after dinner.  ;-)

Better patch submitted by:	steve
Reviewed by:			phk, steve, chuckr, obrien,
				Lyndon Nerenberg <lyndon@orthanc.ab.ca>
2000-05-14 22:24:28 +00:00
David E. O'Brien
3c841ca5e3 Fix minor style nits. 2000-05-14 21:13:57 +00:00
David E. O'Brien
c0d2c03648 Install otp-md{4,5} bits.
PR:		14911
Submitted-by:	Lyndon Nerenberg <lyndon@orthanc.ab.ca>
2000-05-14 21:13:10 +00:00
Tim Vanderhoek
d25d4bbea9 Allow bookmarks to cross files. 2000-05-14 03:30:59 +00:00
Tim Vanderhoek
4795f6d5cd Backout previous commit to this file: it dies in buildworld environment.
I probably forgot to put an ${.OBJDIR} somewhere.  I'll redo the change
later when I get a chance to test that thesis.
2000-05-12 18:10:17 +00:00
Tim Vanderhoek
d5a2fca477 Improve hack from previous commit to this file: exit if we get successive
EOFs from reading stderr (eg. not from argv[1]).
2000-05-12 04:04:27 +00:00
Tim Vanderhoek
b864402b12 Use termcap(5) function key sequences rather than hardcoding for syscons.
Now page-up/down work from xterms.
2000-05-12 04:02:13 +00:00