home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 036 / less232.zip / CMD.H < prev    next >
Text File  |  1994-08-25  |  3KB  |  87 lines

  1. /*
  2.  * Copyright (c) 1984,1985,1989,1994  Mark Nudelman
  3.  * All rights reserved.
  4.  *
  5.  * Redistribution and use in source and binary forms, with or without
  6.  * modification, are permitted provided that the following conditions
  7.  * are met:
  8.  * 1. Redistributions of source code must retain the above copyright
  9.  *    notice, this list of conditions and the following disclaimer.
  10.  * 2. Redistributions in binary form must reproduce the above copyright
  11.  *    notice in the documentation and/or other materials provided with 
  12.  *    the distribution.
  13.  *
  14.  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY
  15.  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  16.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
  17.  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE
  18.  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
  19.  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 
  20.  * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 
  21.  * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
  22.  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 
  23.  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 
  24.  * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  25.  */
  26.  
  27.  
  28. #define    MAX_USERCMD        500
  29. #define    MAX_CMDLEN        16
  30.  
  31. #define    A_B_LINE        2
  32. #define    A_B_SCREEN        3
  33. #define    A_B_SCROLL        4
  34. #define    A_B_SEARCH        5
  35. #define    A_DIGIT            6
  36. #define    A_DISP_OPTION        7
  37. #define    A_DEBUG            8
  38. #define    A_EXAMINE        9
  39. #define    A_FIRSTCMD        10
  40. #define    A_FREPAINT        11
  41. #define    A_F_LINE        12
  42. #define    A_F_SCREEN        13
  43. #define    A_F_SCROLL        14
  44. #define    A_F_SEARCH        15
  45. #define    A_GOEND            16
  46. #define    A_GOLINE        17
  47. #define    A_GOMARK        18
  48. #define    A_HELP            19
  49. #define    A_NEXT_FILE        20
  50. #define    A_PERCENT        21
  51. #define    A_PREFIX        22
  52. #define    A_PREV_FILE        23
  53. #define    A_QUIT            24
  54. #define    A_REPAINT        25
  55. #define    A_SETMARK        26
  56. #define    A_SHELL            27
  57. #define    A_STAT            28
  58. #define    A_FF_LINE        29
  59. #define    A_BF_LINE        30
  60. #define    A_VERSION        31
  61. #define    A_VISUAL        32
  62. #define    A_F_WINDOW        33
  63. #define    A_B_WINDOW        34
  64. #define    A_F_BRACKET        35
  65. #define    A_B_BRACKET        36
  66. #define    A_PIPE            37
  67. #define    A_INDEX_FILE        38
  68. #define    A_UNDO_SEARCH        39
  69.  
  70.  
  71.  
  72. #define    A_AGAIN_SEARCH        43
  73. #define    A_T_AGAIN_SEARCH    44
  74. #define    A_REVERSE_SEARCH    45
  75. #define    A_T_REVERSE_SEARCH    46
  76. #define    A_OPT_TOGGLE        47
  77. #define    A_OPT_SET        48
  78. #define    A_OPT_UNSET        49
  79. #define    A_F_FOREVER        50
  80. #define    A_GOPOS            51
  81.  
  82. #define    A_INVALID        100
  83. #define    A_NOACTION        101
  84. #define    A_UINVALID        102
  85.  
  86. #define    A_EXTRA            0200
  87.