*BSD News Article 98448


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!nntprelay.mathworks.com!howland.erols.net!newsfeed.internetmci.com!in1.uu.net!165.254.2.53!nonexistent.com!not-for-mail
From: Nathan Dorfman <nathan@senate.org>
Subject: Re: snooping on tty's
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: Email abuse@news2.new-york.net if this posting is inappropriate
Content-Transfer-Encoding: 7bit
Organization: Senate Industries
Message-ID: <ECC5L4.5CJ@nonexistent.com>
References: <33B04590.59E2B600@club-web.com>
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.2.1-RELEASE i386)
Mime-Version: 1.0
X-Trace: 867248966 5401 nathan [204.141.125.38]
X-Nntp-Posting-Host: senate.org
Date: Wed, 25 Jun 1997 14:29:27 GMT
Lines: 20
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43494

Mark Segal wrote:
> 
> Has anyone actually got snoop (ie snp on a tty) to work? and if so,
> HOW?! :).
> --
> Mark Segal
> mark@club-web.com
> System Administrator - Club-Web Inc.

Easy. Recompile your kernel with support for the snoop pseudo-device.
Then, MAKEDEV snp0, then use the watch program. What I'd like to know
is is it possible to have two snoops at a time? I have /dev/snp0 and
/dev/snp1 but watch still says that it cant open the snoop device if
the first one is busy.
-- 
#####################   For PGP key, telnet senate.org 5000
#  Nathan Dorfman   #        or finger nathan@senate.org
# Senate Industries # /'-- www.senate.org | ftp.senate.org -- `\
##################### \________________________________________/