home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
misc
/
volume8
/
pty_uport
/
READ_ME
< prev
next >
Wrap
Text File
|
1989-09-06
|
1KB
|
40 lines
This version of the pty driver has been hacked upon until it worked under
Microport System V/AT. It's probably full of system no-nos, as I am no
kernel hacker. In particular, the declaration of pty_tty[] and pty_stat[] is
horribly wrong; if you know the right way to do that, PLEASE let me
know. I have tested it under System V/AT versions 2.3 and 2.4, and it
appears to work. This version does NOT work as-is under System V/386.
The required lines for the master file are:
pts 0 ocrwi ct pts 0 14 32
ptm 0 ocrwi c ptm 0 15 32
^^---major device number;
change these if you have
conflicts with other
device drivers
and for the dfile:
pts 0 32
ptm 0 32
This can be installed using the usual driver installation:
1) Put pty.c in /usr/linkkit/io.
2) cd to /usr/linkkit/io, then:
cc -c -Ml -O pty.c
ar r ../lib2 pty.o
^--------if your lib2 fills up, create a new one (I
used lib5; it must be lib[0-9])
3) Become superuser, and then:
cd /usr/linkkit/cf
[edit master, dfile.wini if you haven't]
make wini
4) The file /usr/linkkit/system5 can be installed as your kernel and
booted.
5) The mkpty shell script will automagically build 32 master and slave
device files. It will figure out which major device numbers you assigned.
Good luck...Jay