home *** CD-ROM | disk | FTP | other *** search
- This is a pseudo tty driver for system V machines. It works very
- similar to ptys on BSD, for instance emacs works fine. To install this
- driver you will need to modify your `master' and `dfile' file which
- contains your driver specifications. As these vary from machine to machine,
- you will have to look up in your manual how to do that. Here is an example
- for a sperry s5050 alias ncr tower 32 :
-
- Add the following two lines to the driver description section in master:
- pts 0 237 244 pts 0 0 28 32 0 tty
- ptm 0 37 344 ptm 0 0 29 0 0
-
- This says there are max 32 pts devices at major number 28 having associated
- tty structures and 0 ptm devices having major number 29 with no associated
- data. The number of ptm devices is not configurable, as this depends on the
- number of pts's.
-
- The following two lines go in the dfile:
- pts 0 0 0
- ptm 0 0 0
-
- Probably you will also want to increase the NCLIST parameter.
-
- If your configuration procedure is different, you must change the shell
- script mkpty, which is used to create the device nodes in /dev.
-
- The ptm devices (/dev/pty[p-z][0-9a-f]) are the controlling ones, everything
- written there will show up at the associated pts device
- (/dev/tty[p-z][0-9a-f]), as well as erverything which is written on the pts
- device will show up on the ptm device. The pts side will accept the usual
- termio ioctl calls. The master side is a bit different, as ioctl calls which
- normally wait for output to drain flush output. The reason for this funny
- behaviour is that otherwise the master side will hang. Also the master side
- may be opened only once, further open calls will result in an EBUSY error.
-