aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/watch
diff options
context:
space:
mode:
authorUgen J.S. Antsilevich <ugen@FreeBSD.org>1995-02-17 16:40:32 +0000
committerUgen J.S. Antsilevich <ugen@FreeBSD.org>1995-02-17 16:40:32 +0000
commit15c592c7f28e2ff102edc6aa4cdfc5c8bed58543 (patch)
tree3105ae679eae307e35a18478965f87529ccfba95 /usr.sbin/watch
parent926f20c9737d5801ab5aef65f7173c9093341f57 (diff)
downloadsrc-15c592c7f28e2ff102edc6aa4cdfc5c8bed58543.tar.gz
src-15c592c7f28e2ff102edc6aa4cdfc5c8bed58543.zip
Watch fresh-made manpage..
Notes
Notes: svn path=/head/; revision=6524
Diffstat (limited to 'usr.sbin/watch')
-rw-r--r--usr.sbin/watch/watch.852
1 files changed, 52 insertions, 0 deletions
diff --git a/usr.sbin/watch/watch.8 b/usr.sbin/watch/watch.8
new file mode 100644
index 000000000000..a5f497da9955
--- /dev/null
+++ b/usr.sbin/watch/watch.8
@@ -0,0 +1,52 @@
+.Dd Februar 17, 1995
+.Dt WATCH 8
+.Os
+.Sh NAME
+watch - tty snoop watching utility.
+
+.Sh SYNOPSIS
+
+ watch [-ciot] [<tty name>]
+
+.Sh DESCRIPTION
+ watch utility allows user to see all data coming to the tty,almost
+ the same way as user on this tty.
+ Only root can run watch.
+
+The following options are available:
+
+-c Reconnect on close. When tty on which watching was made closed,
+ utility will automatically reattach itself to the same tty.
+ By default utility will ask user to enter new tty name if running
+ in interactive mode or exit while non-interactive.
+
+-i Force interactive mode.Interactive mode is a default if utility
+ started from tty. If output redirected to file, you can still force
+ it into interactive mode by this option.
+
+-o Reconnect on overflow. The behaviour of utility on overflow is same
+ as for tty close. For more info see snp(4).
+
+-t Timestamp.Print date and time each time, tty watching started.
+
+ The <tty name> is one of following types:
+ ttyp?,ttyq?,ttyr? - pseudo tty devices.
+ ttyv? - virtual ttys (syscons).
+ tty0?,ttyd? - serial lines.
+ Each name can be preceeded by "/dev/".
+ Also recognized:
+ pty[NUM] - pseudotty's.
+ vty[NUM] - virtual ttys.
+ sio[NUM] - serial lines.
+
+ While running interactive, all user input discarded except :
+ Ctrl+C - Exit watch.
+ Ctrl+X - Change attached tty.
+ Ctrl+W - Clear screen.
+
+.Sh SEE ALSO
+snp(4),pty(4),sio(4)
+.Sh BUGS
+No terminal emulation involved,all user output comes to the screen as-is.
+.Sh HISTORY
+FreeBSD 2.1,By Ugen J.S.Antsilevich <ugen@NetVision.net.il>