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

  1. # BEGIN Convex short cut config file.  
  2.  
  3. # h2ph generates something like this...
  4.  
  5. # we'll do this the POSIX way.  For BSD, source conf_BSD.pl
  6.  
  7. sub TIOCGETA        { 0x40847419; }
  8. sub TIOCSETA        { 0x8084741A; }
  9. sub TIOCGWINSZ      { 0x40087468; }
  10.  
  11. sub VERASE  { 3; }
  12. sub VKILL   { 6; }
  13.  
  14. sub ICANON  { 0x00000100; }
  15. sub ECHO    { 0x00000008; }
  16. sub VTIME   { 17; }
  17. sub VMIN    { 16; }
  18. sub IEXTEN  { 0x00000400; }
  19.  
  20. sub B1200   { 0x9; }
  21.  
  22. # c2ph generates something like this....
  23.  
  24. STRUCT_TERMIOS: {
  25.     package termios;
  26.  
  27.     sub typedef                   { 'I7 S4 A32 S32'; }
  28.  
  29.     sub c_iflag                  {    0; }
  30.     sub c_oflag                  {    1; }
  31.     sub c_cflag                  {    2; }
  32.     sub c_lflag                  {    3; }
  33.     sub c_tflag                  {    4; }
  34.     sub c_ispeed                 {    5; }
  35.     sub c_ospeed                 {    6; }
  36.     sub c_winsize                {    7; }
  37.     sub c_unused                 {   11; }
  38.     sub c_cc                     {   12; }
  39. }
  40.  
  41. # needed for POSIX mode
  42. ($GETIOCTL, $SETIOCTL) = (TIOCGETA, TIOCSETA);  
  43.  
  44. ($SYSTEM, $VENDOR) = (POSIX, Convex);
  45.  
  46. # ($SYSTEM, $VENDOR) = (BSD, Convex);  # also works
  47.  
  48. # END Convex short cut config file.  
  49.