home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / dm14.lzh / diskmaster.h < prev    next >
Text File  |  1995-03-22  |  1KB  |  37 lines

  1. /* diskmaster.h file for DISKMASTER.C         */
  2. /* copyright (c) 1995 by Bob Devries          */
  3. /* email: bdevries@gil.ipswichcity.qld.gov.au */
  4.  
  5. #define DA 0x0e        /* down arrow on 'umacskeys' kbd (also CTRL-N) */
  6. #define UA 0x10        /* up arrow    (also CTRL-P) */
  7. #define LA 0x02        /* left arrow  */
  8. #define RA 0x06        /* right arrow */
  9. #define SP 0x20        /* spacebar    */
  10. #define BS 0x08        /* backspace   */
  11. #define HOME 0x01      /* HOME key    (also CTRL-A) */
  12. #define END 0x05       /* END key     (also CTRL-E) */
  13. #define PgUp 0x1a      /* PgUp key    (also CTRL-Z) */
  14. #define PgDn 0x16      /* PgDn key    (also CTRL-V) */
  15.  
  16. #define ON 1
  17. #define OFF 0
  18.  
  19. #define STDIN 0
  20. #define STDOUT 1
  21. #define MAXCNT 20      /* maximum number of lines of filenames */
  22. #define MINCNT 0       /* minimum number of lines of filenames */
  23.  
  24. #define TAG (short)256 /* flag to show a file is tagged for multi-file */
  25. #define UNTAG (short)0 /* untagged flag */
  26. #define PASS 0
  27. #define FAIL -1
  28. #define HELP -1
  29.  
  30. #define DOWN (short)-1 /* flag to tell showfiles we've moved the select bar */
  31. #define REDO (short)0  /* flag to tell showfiles we need to rewrite screen */
  32. #define UP (short)1    /* flag to tell showfiles we've moved the select bar */
  33.  
  34. #define BEEP putc(7,stdout);
  35.  
  36. /* EOF diskmaster.h */
  37.