home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / sun / volume2 / tahoe-systat / patch01 / keyboard.c.diff < prev    next >
Encoding:
Text File  |  1990-10-23  |  292 b   |  17 lines

  1. *** keyboard.c.orig    Mon Jun 11 15:32:59 1990
  2. --- keyboard.c    Tue Jun 12 19:09:44 1990
  3. ***************
  4. *** 15,20 ****
  5. --- 15,25 ----
  6.   #include "systat.h"
  7.   #include <ctype.h>
  8.   
  9. + #ifdef sun
  10. + #undef CTRL
  11. + #define CTRL(c) ((c)-'a'+1)
  12. + #endif
  13.   keyboard()
  14.   {
  15.           char ch, line[80];
  16.