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

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

Are there any references for writing tty device drivers?  
                

satam@ecs.umass.edu (Kirtikumar Satam, ECE, UMASS Amherst) (01/12/90)

In article <1221@cirrusl.UUCP>, saeed@sunseeker.UUCP (Saeed Talebbeik) writes:
> Are there any references for writing tty device drivers?  
>                 

One of the XENIX manuals have chapter on writing device drivers and
an example code for one such tty driver.

-satam
 
------------------------------------------------------------------------
Kirtikumar "Mumbaichaa" Satam
INTERNET : satam@ecs.umass.edu
BITNET : satam@umaecs.bitnet
217 Northwood Apts, Sunderland, MA 01375   Tel# 413-665-3222
------------------------------------------------------------------------

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

yes there is a section in xenix manual for writing a tty driver but it is 
only 500 lines. The SCO tech support claims that a true blue tty driver 
is about 2000 lines. We are missing 1500 lines ! What are they ? What does
that 1500 line is supposed to do ? That is exactly the problem. What are
the issues involved that have to be addressed in that 1500 lines ?
I guess except having access to a sample tty driver source code and running 
through it there is no way of writing a tty driver for a novice 
. 

jbayer@ispi.UUCP (Jonathan Bayer) (01/16/90)

saeed@sunseeker.UUCP (Saeed Talebbeik) writes:

>yes there is a section in xenix manual for writing a tty driver but it is 
>only 500 lines. The SCO tech support claims that a true blue tty driver 
>is about 2000 lines. We are missing 1500 lines ! What are they ? What does
>that 1500 line is supposed to do ? That is exactly the problem. What are
>the issues involved that have to be addressed in that 1500 lines ?
>I guess except having access to a sample tty driver source code and running 
>through it there is no way of writing a tty driver for a novice 


I have found that SCO Tech Support makes mistakes in questions like
these.  I was able to implement the serial driver as printed in the
manual.  It doesn't have modem control, but it does work.


JB
-- 
Jonathan Bayer		Intelligent Software Products, Inc.
(201) 245-5922		500 Oakwood Ave.
jbayer@ispi.COM		Roselle Park, NJ   07204