home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / perl / scripts-convex / conf / conf_BSD.pl next >
Encoding:
Text File  |  1993-07-14  |  852 b   |  37 lines

  1. # BEGIN BSD short cut config file.  
  2.  
  3. # WARNING:  these definitions were generated on a 
  4. #         Convex and are quite likely to be different
  5. #        on your machine!  Please send me updates.
  6.  
  7. # h2ph generates something like this...
  8.  
  9. sub TIOCGETP        { 0x40067408; }
  10. sub TIOCSETP        { 0x80067409; }
  11. sub TIOCSETN        { 0x8006740a; }
  12. sub TIOCGWINSZ      { 0x40087468; }
  13.  
  14. sub ECHO    { 0x8; }
  15. sub CBREAK  { 0x2; }
  16.  
  17. sub B1200   { 0x9; }
  18.  
  19.  
  20. # c2ph generates something like this....
  21.  
  22. STRUCT_SGTTYB: {
  23.     package sgttyb;
  24.  
  25.     sub typedef                       { 'c4 s'; }
  26.  
  27.     sub sg_ispeed                 { 0; }
  28.     sub sg_ospeed                 { 1; }
  29.     sub sg_erase                  { 2; }
  30.     sub sg_kill                   { 3; }
  31.     sub sg_flags                  { 4; }
  32.  
  33. ($SYSTEM, $VENDOR) = (BSD, undef);
  34.  
  35. # END BSD short cut config file.  
  36.