mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 08:00:48 +01:00
oops..here is the manpage
This commit is contained in:
parent
3377c114e1
commit
9d0ee8a480
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6533
49
usr.bin/watch/snp.4
Normal file
49
usr.bin/watch/snp.4
Normal file
@ -0,0 +1,49 @@
|
||||
.Dd Februar 17, 1995
|
||||
.Dt SNP(4)
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
||||
snp - tty snoop interface.
|
||||
|
||||
.Sh SYNOPSIS
|
||||
#include <sys/snoop.h>
|
||||
|
||||
.Sh DESCRIPTION
|
||||
/dev/snp? are snoop devices which allow user to attach to any tty
|
||||
and watch activities on it. Device can be used by root only.
|
||||
To connect device to tty use special iocontrol SNPSTTY.Argument to
|
||||
it is a structure 'snptty'.
|
||||
struct snptty {
|
||||
int st_type;
|
||||
int st_unit;
|
||||
}
|
||||
|
||||
st_type - type of tty to attach. Currently supported are :
|
||||
ST_PTY - pseudo-tty devices.
|
||||
ST_VTY - virtual ttys (syscons).
|
||||
ST_SIO - serial ttys.
|
||||
|
||||
st_unit - number of tty unit.
|
||||
By specifying ever st_type or st_unit -1 user can detach snp
|
||||
device from tty.
|
||||
|
||||
SNPGTTY - iocontrol returns current tty attached.
|
||||
FIONREAD - iocontrol returns ever positive value equal to number of
|
||||
characters in read buffer. Also special values defined:
|
||||
SNP_OFLOW - device overflow occured,device automatically
|
||||
detached.
|
||||
SNP_TTYCLOSE - tty still has not been attached.
|
||||
SNP_DETACH - snp device has been detached by user or
|
||||
tty device has been closed and detached
|
||||
automatically.
|
||||
|
||||
.Sh SEE ALSO
|
||||
|
||||
watch(8), pty(4), sio(4)
|
||||
.Sh BUGS
|
||||
|
||||
While in line mode,user input can't be seen.
|
||||
Has no ability to write to attached tty device.
|
||||
|
||||
.Sh HISTORY
|
||||
FreeBSD 2.1 by Ugen J.S.Antsilevich <ugen@NetVision.net.il>
|
Loading…
Reference in New Issue
Block a user