Commit Graph

2926 Commits

Author SHA1 Message Date
Ruslan Ermilov
16e9510051 Unbroke `make -s' case.
PR:		13676
Submitted by:	wollman
1999-09-10 07:39:25 +00:00
Sheldon Hearn
c644db6aa2 Improve shell documentation:
* Consistently misspell built-in as builtin.

* Add a builtin(1) manpage and create builtin(1) MLINKS for all shell
  builtin commands for which no standalone utility exists.  These MLINKS
  replace those that were created for csh(1).

* Add appropriate xrefs for builtin(1) to the csh(1) and sh(1) manpages,
  as well as to the manpages of standalone utilities which are supported
  as shell builtin commands in at least one of the shells. In such
  manpages, explain that similar functionality may be provided as a
  shell builtin command.

* Improve sh(1)'s description of the cd builtin command. Csh(1) already
  describes it adequately. Replace the cd(1) manpage with a builtin(1)
  MLINKS link.

* Clean up some mdoc problems: use Xr instead of literal "foo(n)"; use
  Ic instead of Xr for shell builtin commands.

* Undo English contractions.

Reviewed by:	mpp, rgrimes
1999-09-08 15:40:46 +00:00
Mark Murray
b255e811b2 Fix Common Error brokenness. 1999-09-06 20:22:47 +00:00
Bill Fumerola
389017e544 -Wall: remove unused variable, initialize variable to avoid gcc stupidity. 1999-09-06 20:21:19 +00:00
Bill Fumerola
3bbeaf7f43 Don't depend on the fact that variables default to int. 1999-09-06 20:15:56 +00:00
Bill Fumerola
15b09e6540 Cast pw_change and pw_expire to long and fix the format specifier accordingly. 1999-09-06 20:07:12 +00:00
Peter Wemm
0c2b3c31aa Unifdef -DPASSWD_IGNORE_COMMENTS. This wasn't really optional and
we have enough pseudo-options already.
1999-09-06 17:30:03 +00:00
Sheldon Hearn
5ff829fdbf Add xrefs to the {f,net,sock}stat.1 manpages. While I'm in there, fix
the sockstat.1 document title, which still remembers when sockstat was
called lsock.

Reviewed by:	mpp
1999-09-06 13:14:24 +00:00
Peter Wemm
dd16ab1dfe Zap $Locker$ 1999-09-06 11:25:35 +00:00
Peter Wemm
f7406d04ca Zap $Source$ 1999-09-06 07:34:27 +00:00
Peter Wemm
d63cfe5faf $Revision$ -> $FreeBSD$ 1999-09-06 07:33:51 +00:00
Peter Wemm
6364229cbb Zap $Revision$ 1999-09-06 07:33:18 +00:00
Peter Wemm
c20af5da01 Tidy up $Log$ debris 1999-09-06 07:32:15 +00:00
Chris Costello
45e46bb14a Remove unused variables. 1999-09-05 23:27:53 +00:00
Peter Wemm
1389c7307f $Id$ -> $FreeBSD$ 1999-09-05 19:13:04 +00:00
Alexey Zelkin
0fdf8af9d7 mdoc(7) style fixes
PR:		docs/13409
Reviewed by:	mpp
1999-09-05 05:50:38 +00:00
Mark Murray
c8d0d39eb8 Perl support in vi is broken if perl has thread support built in.
Document this. Minor nitpick in other comments.
1999-09-04 10:27:12 +00:00
Mark Murray
d8f5c86825 Build this from contrib/ now. 1999-09-04 09:52:36 +00:00
Tim Vanderhoek
20d6e5fe6e Thorough revamp of how input commands are processed. This allows customization
of user keys (documentation pending).  The only key whose semantics have
changed is the capital 'N' key, which now performs a repeat-search in the
opposite direction (just like in vi).

This commit is a little bulkier than what I had originally planned.  I'm not
completely happy with the direction it went, but it's definately an
improvement, and the alternative is to continue becoming irrelevant compared
to GNU less.  (Does anyone even _use_ /usr/bin/more these days?)
1999-09-03 22:31:21 +00:00
Nik Clayton
33f9210c19 Correct the information about Lincoln's assasination (shot on 14-4, died
on 15-4).

The Nagasaki bomb was dropped on August 9th, not August 8th.

Submitted by:   Tony Sumner <solon@macaulay.demon.co.uk>
1999-09-03 17:33:11 +00:00
Daniel Baker
c87eca8b08 column counter (cnt) not reset to 0 on display of '\r' which could cause
unnecessary forced linewraps on some terminals.

Submitted by:	David McNett <nugget@slacker.com>
1999-09-01 23:07:29 +00:00
Chris Costello
f72286af57 Properly document -P and -p flags. 1999-09-01 22:56:44 +00:00
Chris Costello
8ceb6dbdf7 Remove unused variable `ch'. 1999-09-01 22:26:36 +00:00
Daniel Baker
b4d6ab014c Corrected apparent omission in program logic which was causing the
insertion of redundant crlf's.  Eliminated the venetian-blind effect
in walled text.

Submitted by:	David McNett <nugget@slacker.com>
1999-09-01 22:21:24 +00:00
Tim Vanderhoek
82691dfd5c Slay a grammar gremlin. 1999-09-01 20:25:44 +00:00
Poul-Henning Kamp
0e8a43c502 unifdef -Uvax -Uhp300 -Uluna68k -Umips -Utahoe 1999-09-01 11:25:25 +00:00
Mark Murray
8e831169b9 FreeBSD District court of Appeals - TN3270 vs Ports
Judge:		TN3270, you are charged with being superfluous to
		requirement, and have been found guilty.
		Defence, do you have any final words?
Defence lawyer:	Yes,..
		*!BLAM!*
Judge:		Contempt of court!! That blood is disgusting! Sergeant?
Sergeant:	Sah!?
Judge:		Get that mess out of here.
Sergeant:	Sah!!
Judge:		Anyone else have anything else to say?
		...
Judge:		Executioner!
Executioner:	My lord?
Judge:		Carry out the sentence, forthwith!
Executioner:	As my lord wishes...
		*!BLAM!* *!BLAM!* *!BLAM!*
Judge:		Any more matters for the court today?
		...
1999-08-31 08:55:39 +00:00
Mark Murray
e0eed6c8af Remove tn3270 from the build, preparatory to a short trial and a
brutal sentence. Once the dateline has crossed the repository,
tn3270 is history. Folk who want it, please use the new port.
1999-08-30 20:57:06 +00:00
Peter Wemm
7d39118a94 Nearly missed this one. Turn off -DTERMCAP otherwise it defines a bunch
of conflicting symbols with ncurses.
1999-08-30 10:03:27 +00:00
Peter Wemm
1da5e923ab We're using ncurses now. 1999-08-30 08:28:47 +00:00
Peter Wemm
18bfeb3d34 Take a shot at making this work under termcap/terminfo ncurses. It
cheats a bit by accessing the termcap string buffer.  A better solution
is needed.
1999-08-30 08:27:31 +00:00
Peter Wemm
046fbf6fe9 Make this compile.. (Why do we have tn3270 in the tree anyway?) 1999-08-30 08:23:33 +00:00
Peter Wemm
b34453922a talk depended on side effects of curses includes. 1999-08-30 08:21:17 +00:00
Peter Wemm
3879bee426 systat is way too comfortable with curses internals... 1999-08-30 08:18:09 +00:00
Peter Wemm
c7096a251d tconv is broken, it's libmytinfo dependent. 1999-08-30 08:16:31 +00:00
Bruce Evans
158562983e Yet another previously forgotten merge from Lite2. (Describe
`opaque', fix reversed description of `nodump', and don't use
`nodump' as an example of adding a `no' prefix since the double
negative would be confusing (it's still confusing -- the implicitly
documented `nonodump' flag doesn't exist).)
1999-08-30 03:40:26 +00:00
Mike Pritchard
49364d3cb3 Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR:		docs/13418
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-08-28 23:23:38 +00:00
Peter Wemm
a1a4f1a0d8 $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Sheldon Hearn
513c0475ca Add -m option to specify a creation mode whcih is not affected by
the umask of the calling process.

PR:	13365
Reported by:	James Howard <howardjp@wam.umd.edu>
Reviewed by:	bde
1999-08-27 10:40:27 +00:00
Sheldon Hearn
85ab7ba1e0 Add `-i'' option, which is the same as `-''. The -i option is the
recommended option in the manpage, but the - option remains for
backward compatibility and is documented as such.

PR:	13363
Reported by:	James Howard <howardjp@wam.umd.edu>
Reviewed by:	bde
1999-08-27 08:59:32 +00:00
Nick Sayer
b6c989ff40 1. Add support for months and years in relative time spec (now + 1 year)
2. Rip out dateadd() and re-do the plus operator handler to use mktime()
instead (per wollman).

Reviewed by:	wollman
1999-08-26 16:18:38 +00:00
Dmitrij Tejblum
27ff174015 Declaration of strtouq() is not missing from stdlib.h, so don't redeclare
it.
1999-08-25 14:22:20 +00:00
Warner Losh
b59bb23b3d Use the final version of the patch for the overflow, not the next to
final.

Noticed by: eivind
1999-08-22 17:24:25 +00:00
Tim Vanderhoek
a6ad7c7f78 Fix a temp file race occurring only when -j is used.
Noticed by:	ru
Obtained from:	OpenBSD
1999-08-22 05:28:13 +00:00
Brian Somers
7ad5a72536 Mention rwhod(8) in the SEE ALSO section 1999-08-21 20:26:59 +00:00
Warner Losh
e0d8eea175 Fix possible buffer overflow with finger and fingerd.
Submitted by: Lukasz Luzar <lluzar@noname.kki.krakow.pl> and
	Eivind Eklund <eivind@yes.no>

This patch is actually a combination of those two patches.
1999-08-21 18:25:38 +00:00
Warner Losh
a761a4653a Clear all file flags when taking ownership of devices. Do not ignore
chown failures in some places, but instead log them like we do all
other errors.
1999-08-21 18:19:49 +00:00
Chris Costello
f437b38cf7 Fix a bunch of broken cross-references 1999-08-18 05:55:22 +00:00