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
Tim Vanderhoek
9729c13eee
Create magic variables that return termcap(5) strings for function keys.
2000-05-12 04:00:23 +00:00
Tim Vanderhoek
7914f69706
Fix an uncommon bug that would cause us to stop accepting input if the
...
user entered a command that filled exactly the remaining screen width.
2000-05-12 03:53:38 +00:00
Tim Vanderhoek
691009407a
Only main.c depends on defrc.h
2000-05-12 03:52:03 +00:00
Nick Sayer
f6c7a9efb8
Small style fix '=' -> ' = '
2000-05-11 20:15:16 +00:00
Nick Sayer
e6121e72f6
Fix compatibility issue in sed. Do so by explicitely adding a
...
newline to the end of any -e argument.
PR: bin/18474
2000-05-11 17:01:52 +00:00
Tim Vanderhoek
9f95308a73
Unwind state on malloc() failure more carefully: avoids memory leak.
2000-05-11 14:57:26 +00:00
Tim Vanderhoek
a4cbe387f3
Make the TAB key tab. Under syscons, shift-TAB also performs a backtab.
2000-05-11 00:56:55 +00:00
Tim Vanderhoek
a708cb4895
Fix a comment and actually expand \t the way the comment suggests.
2000-05-11 00:46:50 +00:00
Alexey Zelkin
b51a864598
Corractly use .Nm and .An/.Aq macros. Replace FreeBSD with .Fx macro
...
e.
2000-05-10 15:46:27 +00:00
Sheldon Hearn
befd5c23b2
The printenv(1) command is now a builtin(1) in csh(1).
2000-05-09 15:02:03 +00:00
Sheldon Hearn
f167d7fb3e
Fix miscellaneous mdoc macro argument limit infringements.
...
PR: 18465
Reported by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-09 14:02:06 +00:00
Tim Vanderhoek
5bbd5cc8f4
Exit if we read two EOFs from the keyboard input stream. Why two and not
...
one? Just 'cause.
PR: misc/14932
2000-05-09 04:13:49 +00:00
Tim Vanderhoek
64e8edb884
Don't segv if viewing "#" and there is no prev-file (long-standing).
...
Staticize a variable that was meant to be static (broken in r.1.11).
PR: bin/11370 Henry Whincup <henry@techiebod.com> (for the segv)
2000-05-09 03:53:13 +00:00
Kris Kennaway
4cc2c0e494
Oops, revert previous commit
2000-05-07 09:23:37 +00:00
Kris Kennaway
42bfb5ed40
Update device references.
2000-05-07 09:23:36 +00:00
David E. O'Brien
3ca52f354e
Add $FreeBSD$ (and test remote commits after the Freefall upgrade)
2000-05-06 01:38:24 +00:00
Poul-Henning Kamp
30450ba43e
Remove unneeded #include <sys/buf.h>
2000-05-05 16:07:10 +00:00