[comp.unix.wizards] xenix system V tty drivers

saeed@sunseeker.UUCP (Saeed Talebbeik) (01/12/90)

Is there any source ( books, code, etc.) that specifically addresses how to
write tty device drivers. I have heard that writing the line descipline routine
are very difficult and time consuming and you are better off using the functions
already provided in the kernel for that. The Santa Cruz Operations offers a 
course which is good but first it costs almost 1500 bucks and second it is 
offered on February 25 which is too late. I will appreciate any help or 
suggestions .
                                 Thanks ,
                                <<<saeed>>>

bdb@becker.UUCP (Bruce Becker) (01/14/90)

In article <1227@cirrusl.UUCP> saeed@sunseeker (Saeed Talebbeik) writes:
|Is there any source ( books, code, etc.) that specifically addresses how to
|write tty device drivers. I have heard that writing the line descipline routine
|are very difficult and time consuming and you are better off using the functions
|already provided in the kernel for that. The Santa Cruz Operations offers a 
|course which is good but first it costs almost 1500 bucks and second it is 
|offered on February 25 which is too late. I will appreciate any help or 
|suggestions .

	A general-purpose reference on device driver programming is

	  "Writing a UNIX Device Driver", Egan & Texeira, Wiley 1988.

	A good overview of TTY device drivers and line disciplines
	can be found in

	  "The Design of the UNIX Operating System", Bach, Prentice-Hall 1986

	Also quite relevant is

	  "The Design and Implementation of the 4.3BSD UNIX Operating System",
	  Leffler McCusick & Karels, Addison-Wesley 1988

Cheers,
-- 
  ,,,,	 Bruce Becker	Toronto, Ont.
w \$$/	 Internet: bdb@becker.UUCP, bruce@gpu.utcs.toronto.edu
 `/c/-e	 BitNet:   BECKER@HUMBER.BITNET
_/  >_	 "Money is the root of all money" - Adam