Xref: utzoo comp.sys.att:7237 unix-pc.general:3529
Path: utzoo!utgpu!watmath!uunet!cs.utexas.edu!csd4.milw.wisc.edu!bionet!agate!ucbvax!ucsd!network!sdcsvax!ucsdhub!cuuxun!cuuxb!mmengel
From: mmengel@cuuxb.ATT.COM (Marc W. Mengel)
Newsgroups: comp.sys.att,unix-pc.general
Subject: Re: sockets & ptys
Keywords: PD socket & PD pty
Message-ID: <2982@cuuxb.ATT.COM>
Date: 8 Aug 89 14:34:00 GMT
References: <637@holin.ATT.COM>
Reply-To: mmengel@cuuxb.UUCP (Marc W. Mengel)
Followup-To: comp.sys.att
Organization: AT&T-DSD, System Engineering for Resellers, Lisle IL
Lines: 20

In article <637@holin.ATT.COM> bes@holin.ATT.COM (Bradley Smith) writes:

>Now a question. I want select to work on the /dev/window as well
>(like stdin, stdout) but you can't access data in other loadable
>devices.  I thought of find out what address the struct tty is at
>and looking at it that way.  Does anyone have an idea?

	Well, one way to do it is to define a line discipline, then
	you can change the line discipline routines when you init
	your socket code, and all the tty drivers will call your
	code.  You should be able to put all the hooks you need
	in the line discipline, I think.

>Bradley Smith


-- 
 Marc Mengel					mmengel@cuuxb.att.com
 						attmail!mmengel
 						...!{lll-crg|att}!cuuxb!mmengel