Commit Graph

29 Commits

Author SHA1 Message Date
Ed Schouten
932ef5b5cd Reintroduce the snp(4) driver.
Because the TTY hooks interface was not finished when I imported the
MPSAFE TTY layer, I had to disconnect the snp(4) driver. This snp(4)
implementation has been sitting in my P4 branch for some time now.
Unfortunately it still doesn't use the same error handling as snp(4)
(returning codes through FIONREAD), but it should already be usable.

I'm committing this to SVN, hoping someone else could polish off its
rough edges. It's always better than having a broken driver sitting in
the tree.
2008-11-05 15:04:03 +00:00
Ed Schouten
2e37c8eacb Convert the snp(4) driver to use cdevpriv.
Now we have a single /dev/snp device node, which can be opened by
watch(8) multiple times. Even though snp(4) will be dead as of next
week, it's nice having this in SVN, because:

- We may want to MFC it to RELENG_7.
- By the time we fix snp(4) again, it's already there, existing watch(8)
  binaries should already work.

Just like bpf(4), I'm adding a symlink from snp0 to snp to remain binary
compatible.
2008-08-15 13:07:07 +00:00
Ruslan Ermilov
6ed0b39d28 Restore the ability to detach from a tty via SIOCSTTY and document
recent changes in a manpage.

Reviewed by:	cognet
2005-09-19 13:48:45 +00:00
Ruslan Ermilov
9cbda59000 Sort sections. 2005-01-21 08:36:40 +00:00
Thomas Moestl
67bc3e2af3 Update to match recent snp fixes.
Reviewed by:	dd
2002-11-11 10:59:28 +00:00
Ruslan Ermilov
76e0d06131 mdoc(7) police: laundry. 2002-08-13 14:12:31 +00:00
Jens Schweikhardt
80e2ef88e9 Correct a few grammar bogons.
MFC after:	3 days
2002-07-31 09:32:22 +00:00
Mike Pritchard
f87717fa8b Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
Dima Dorfman
0987daa1f8 Remove the stuff about only the superuser being able to use this (see
snp.c 1.64), and add a note to the BUGS section warning the reader
that this manual page is stale and may be inaccurate.
2001-11-24 17:06:20 +00:00
Dima Dorfman
d3573aab8e Talk about what the user needs to do to get the snp devices, and how
watch(8) will try to help them by loading the module.

PR:		25420
2001-11-24 17:02:58 +00:00
Ruslan Ermilov
32eef9aeb1 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
Ruslan Ermilov
3d45e180f4 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:31:11 +00:00
Ruslan Ermilov
3136363f3e Prepare for mdoc(7)NG. 2000-12-29 09:18:45 +00:00
Ruslan Ermilov
4b66483fd8 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 18:41:33 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Philippe Charnier
aaf1f16e39 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs.
Use .An/.Aq.
1998-03-12 07:31:21 +00:00
Mike Pritchard
dd5527c607 Use the .Fx macro for FreeBSD references for releases prior to 2.0.
Use the .Tn macro for generic FreeBSD references.  Cleanup other
formatting problems noticed while making the above changes.
1997-03-21 20:14:15 +00:00
Bruce Evans
c85c53625d Fixed synopsis (after the cleanup of <sys/snoop.h>, there are no other
prerequisites; previously <sys/ioctl.h> was bogus and some prerequisites
weren't documented).
1997-03-19 04:58:33 +00:00
Peter Wemm
e25aeca937 Revert $FreeBSD$ back to $Id$ 1997-02-22 13:26:29 +00:00
Jordan K. Hubbard
1130b656e5 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
Wolfram Schneider
0b992c1d66 Sort cross references. 1996-12-26 16:16:37 +00:00
Wolfram Schneider
e627b39bac delete doubled words, e.g.: "the the" -> "the" 1996-10-05 18:37:31 +00:00
Mike Pritchard
4a8d02835c Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
Paul Traina
90e614df0f Fix a minor grammar bug. 1995-02-28 00:24:47 +00:00
Ugen J.S. Antsilevich
446cbcf7ed Snoop device stuff
* Make snoop see the output in tty ECHO mode
 * Allow writing to observed tty (very funny)
 * Fix and extend watch util.
 * Fix and update manpages
1995-02-27 19:45:57 +00:00
Paul Traina
8340e9ceab Update to reflect new calling conventions 1995-02-25 20:15:20 +00:00
Paul Traina
7fec27e124 Correct error in structure definition 1995-02-23 01:27:17 +00:00
Paul Traina
533f4c5076 Clean up man page 1995-02-23 01:25:48 +00:00
Ugen J.S. Antsilevich
a53227ff18 Move ipfirewall.4 & snp.4 facility manpage
to share/man/man4
1995-02-17 18:48:36 +00:00