sockets & ptys

Marc W. Mengel mmengel at cuuxb.ATT.COM
Wed Aug 9 00:34:00 AEST 1989


In article <637 at holin.ATT.COM> bes at 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 at cuuxb.att.com
 						attmail!mmengel
 						...!{lll-crg|att}!cuuxb!mmengel



More information about the Unix-pc.general mailing list