home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume1 / 8707 / 74 / READ_ME < prev   
Text File  |  1990-07-13  |  2KB  |  34 lines

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