home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / perl / scripts-convex / conf / conf_SYSV.pl < prev    next >
Encoding:
Text File  |  1993-07-14  |  1.0 KB  |  45 lines

  1. # BEGIN SYSV short cut config file.  
  2.  
  3. # WARNING:  these definitions are very likely 
  4. #         wrong for your machine.  You need to 
  5. #        fill in the numbers from your C header
  6. #        files if you haven't run [ch]2ph!  
  7. #          Please send me updates.
  8.  
  9. # h2ph generates something like this...
  10.  
  11. sub TCGETA      { 0x40125401; };
  12. sub TCSETA      { 0x80125402; };
  13.  
  14. sub CBAUD      { 0x000f; };
  15. sub VERASE      { 2; };
  16. sub VKILL      { 3; };
  17. sub B1200      { 0x0009; };
  18.  
  19. sub VEOF    { 4; };
  20. sub VEOL    { 5; };
  21. sub VMIN    { &VEOF; };
  22. sub VTIME    { &VEOL; };
  23. sub ICANON    { 0x00000002; };
  24. sub ECHO    { 0000010; };
  25.  
  26. # c2ph generates something like this....
  27.  
  28. STRUCT_TERMIO: {
  29.     package termio;
  30.  
  31.     sub typedef                  { 'S4 c C17'; }
  32.  
  33.     sub c_iflag                  {    0; }
  34.     sub c_oflag                  {    1; }
  35.     sub c_cflag                  {    2; }
  36.     sub c_lflag                  {    3; }
  37.     sub c_line                   {    4; }
  38.     sub c_cc                     {    5; }
  39.  
  40. }
  41.  
  42. ($SYSTEM, $VENDOR) = (SYSV, undef);
  43.  
  44. # END SYSV short cut config file.  
  45.