Commit Graph

39 Commits

Author SHA1 Message Date
ru
b15a893144 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
rwatson
b8bc5d059a o Strip BINMODE from Makefile. Installing watch with 0500 provides no
added security benefit, as it doesn't provide extra privilege.
  Protection against inappropriate snooping is done by protecting
  /dev/snp* properly.
2001-03-22 04:10:51 +00:00
ru
42350947e7 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
obrien
46d04a9db4 Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
ru
c3189e713e mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
charnier
d88054857f Add missing .El.
-Wall cleaning.
2000-01-23 20:27:32 +00:00
phantom
b85877548f ``tty'' is not required parameter 1999-10-30 14:52:24 +00:00
peter
27eff20bc0 Fix warning: return type of main' is not int' 1999-09-15 01:58:44 +00:00
peter
b6784c4210 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
nik
7effc709bc Add $Id$, to make it simpler for members of the translation teams to
track.

The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:12:29 +00:00
charnier
c94dce23b1 .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
charnier
510da8d3e5 Use err(3). 1997-10-27 12:21:10 +00:00
imp
15c4d207bc compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
bde
b2f7dfd03d Removed old bogus prerequisite <sys/select.h>. Cleaned up #include mess. 1997-03-19 04:44:07 +00:00
roberto
fd5ca16eb8 1. change tty handling from sgttyb to termios,
2. fix a potential buffer oflow,
3. makes watch(8) conform to sysexits(3).

Not a strong 2.2 candidate even if it would be nice.

Reviewed by:	joerg, imp
1997-03-13 08:35:45 +00:00
peter
32d6b795de Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
wosch
00e37028d0 Sort cross references. 1997-01-20 00:03:00 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
jkh
4526dad8be Remove breakage of 1.8.2.2, choose slightly better character for quit. 1996-12-30 09:01:50 +00:00
jkh
beca9e8573 Use RAW, not CBREAK 1996-12-17 15:26:40 +00:00
fenner
fc6e0bc742 Fix a typo in the man page (the "-n" flag was added to the synopsis in
a comment).
1996-12-02 16:21:20 +00:00
jkh
3b6d602861 I have added a '-n' flag to the watch(8) command. This option
disables the ability to interactively select a new tty.  I have also
removed a check for uid == 0 because it gets in the way of using suid
mode based access control.  Watch (8)is only runnable by root, so this
does not really change things much.

Closes PR#2131

Submitted-By: adrian@virginia.edu
1996-12-02 12:32:46 +00:00
peter
f56698a460 Set ${DPADD}, use +=, add $Id$ 1996-09-02 23:38:58 +00:00
mpp
0da347e402 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
jkh
8b5d603a61 Properly save and restore the terminal characters! 1996-03-01 18:21:41 +00:00
mpp
029ea9012d Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
jkh
ce0300d5db Map ^C and ^\ (INTR and QUIT) to ^Q so that you can actually send these
guys to a watched process.  Useful if you're monitoring someone who's
started doing something you'd really like them to stop immediately. :)
Suggested by:	Phillip White <philw@megasoft.tic.ab.ca>
1995-12-16 10:07:10 +00:00
ache
4582be105a Add setlocale LC_TIME 1995-10-26 23:15:14 +00:00
ache
c851a57a26 Add missing ospeed initialization 1995-08-04 07:17:24 +00:00
rgrimes
5a145b5eb1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
ugen
f3b7169642 same 1995-02-27 19:48:19 +00:00
pst
1108d67e59 Update to use new calling conventions 1995-02-25 20:14:31 +00:00
ugen
aca7bd6905 Fix(it was 1 character actually:) 1995-02-23 11:18:35 +00:00
pst
a603d3e09b Rewrite manual page to use mandoc correctly and fix english grammar. 1995-02-22 23:47:51 +00:00
jkh
50cf8653d9 Remove bogus reference to snp.4. Somebody kinda screwed up their move! :) 1995-02-18 17:10:40 +00:00
ugen
582c213f01 Manpage for snoop device itself. 1995-02-17 17:53:52 +00:00
ugen
ff25f1ad11 Add manpage to makefile 1995-02-17 16:41:43 +00:00
ugen
0ce66ecd03 Watch fresh-made manpage.. 1995-02-17 16:40:32 +00:00
ugen
489f81b8d4 This is watch - programm to work with /dev/snp,
it still lacks manpage-i will commit it today later.
For now to test try: watch [ttyname] :)
1995-02-17 14:36:03 +00:00