summaryrefslogtreecommitdiffstats
path: root/usr.sbin/watch
diff options
context:
space:
mode:
authorugen <ugen@FreeBSD.org>1995-02-17 16:40:32 +0000
committerugen <ugen@FreeBSD.org>1995-02-17 16:40:32 +0000
commit763438f018bbd6e3863adc7ef347d2b1b7d90a1c (patch)
tree3105ae679eae307e35a18478965f87529ccfba95 /usr.sbin/watch
parentc0479ff88e0f5c8be81e7157b67177b51973df6b (diff)
downloadFreeBSD-src-763438f018bbd6e3863adc7ef347d2b1b7d90a1c.zip
FreeBSD-src-763438f018bbd6e3863adc7ef347d2b1b7d90a1c.tar.gz
Watch fresh-made manpage..
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 0000000..a5f497d
--- /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>
OpenPOWER on IntegriCloud