Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jun 2004 09:14:42 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        current@freebsd.org
Subject:   Re: Recent tty changes and snp 
Message-ID:  <77506.1087024482@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 11 Jun 2004 14:48:09 CDT." <20040611194808.GA55868@dan.emsphone.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20040611194808.GA55868@dan.emsphone.com>, Dan Nelson writes:
>
>I think the snp device got left out of the recent struct tty changes; I
>get the following panic when running "watch -W /dev/sometty" and typing
>a character.  Read-only watching a tty also causes a panic when I start
>typing on the real tty.

This is not intentional breakage, but it may be unavoidable breakage :-(

Snoop(4) is great functionality and I would have killed to have it
several times along my career, unfortunately its implementation is
a POS.

I'm currently pondering using bpf(4) for the task instead, but the
uneven layering of the tty layer has not offered me a clearcut place
to stick the code yet.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77506.1087024482>