File: query.h

package info (click to toggle)
the 3.1-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 4,500 kB
  • ctags: 5,421
  • sloc: ansic: 66,327; sh: 2,745; makefile: 526
file content (215 lines) | stat: -rw-r--r-- 10,180 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/***********************************************************************/
/* QUERY.H -                                                           */
/* This file contains defines   related to QUERY,STATUS and EXTRACT    */
/***********************************************************************/
/*
 * THE - The Hessling Editor. A text editor similar to VM/CMS xedit.
 * Copyright (C) 1991-2001 Mark Hessling
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to:
 *
 *    The Free Software Foundation, Inc.
 *    675 Mass Ave,
 *    Cambridge, MA 02139 USA.
 *
 *
 * If you make modifications to this software that you feel increases
 * it usefulness for the rest of the community, please email the
 * changes, enhancements, bug fixes as well as any and all ideas to me.
 * This software is going to be maintained and enhanced as deemed
 * necessary by the community.
 *
 * Mark Hessling,  M.Hessling@qut.edu.au  http://www.lightlink.com/hessling/
 */

/*
$Id: query.h,v 1.12 2002/01/27 11:23:28 mark Exp $
*/


/*---------------------------------------------------------------------*/
/* The order of these items determine the order they appear as a result*/
/* of the STATUS command, so they should be in alphabetical order.     */
/*---------------------------------------------------------------------*/
/* The following are item number defines for EXTRACT/QUERY/STATUS.     */
/*---------------------------------------------------------------------*/
#define ITEM_ALT                              0
#define ITEM_ARBCHAR                          1
#define ITEM_AUTOCOLOR                        2
#define ITEM_AUTOCOLOUR                       3
#define ITEM_AUTOSAVE                         4
#define ITEM_AUTOSCROLL                       5
#define ITEM_BACKUP                           6
#define ITEM_BEEP                             7
#define ITEM_BLOCK                            8
#define ITEM_CASE                             9
#define ITEM_CLEARERRORKEY                   10
#define ITEM_CLEARSCREEN                     11
#define ITEM_CLOCK                           12
#define ITEM_CMDARROWS                       13
#define ITEM_CMDLINE                         14
#define ITEM_COLOR                           15
#define ITEM_COLORING                        16
#define ITEM_COLOUR                          17
#define ITEM_COLOURING                       18
#define ITEM_COLUMN                          19
#define ITEM_COMPAT                          20
#define ITEM_CTLCHAR                         21
#define ITEM_CURLINE                         22
#define ITEM_CURSOR                          23
#define ITEM_CURSORSTAY                      24
#define ITEM_DEFINE                          25
#define ITEM_DEFSORT                         26
#define ITEM_DIRFILEID                       27
#define ITEM_DIRINCLUDE                      28
#define ITEM_DISPLAY                         29
#define ITEM_ECOLOR                          30
#define ITEM_ECOLOUR                         31
#define ITEM_EFILEID                         32
#define ITEM_EOF                             33
#define ITEM_EOLOUT                          34
#define ITEM_EQUIVCHAR                       35
#define ITEM_ETMODE                          36
#define ITEM_FEXT                            37
#define ITEM_FIELD                           38
#define ITEM_FIELDWORD                       39
#define ITEM_FILENAME                        40
#define ITEM_FILESTATUS                      41
#define ITEM_FMODE                           42
#define ITEM_FNAME                           43
#define ITEM_FPATH                           44
#define ITEM_FTYPE                           45
#define ITEM_FULLFNAME                       46
#define ITEM_GETENV                          47
#define ITEM_HEADER                          48
#define ITEM_HEX                             49
#define ITEM_HEXDISPLAY                      50
#define ITEM_HEXSHOW                         51
#define ITEM_HIGHLIGHT                       52
#define ITEM_IDLINE                          53
#define ITEM_IMPMACRO                        54
#define ITEM_IMPOS                           55
#define ITEM_INPUTMODE                       56
#define ITEM_INSERTMODE                      57
#define ITEM_LASTKEY                         58
#define ITEM_LASTMSG                         59
#define ITEM_LASTOP                          60
#define ITEM_LASTRC                          61
#define ITEM_LENGTH                          62
#define ITEM_LINE                            63
#define ITEM_LINEFLAG                        64
#define ITEM_LINEND                          65
#define ITEM_LSCREEN                         66
#define ITEM_MACRO                           67
#define ITEM_MACROEXT                        68
#define ITEM_MACROPATH                       69
#define ITEM_MARGINS                         70
#define ITEM_MONITOR                         71
#define ITEM_MOUSE                           72
#define ITEM_MSGLINE                         73
#define ITEM_MSGMODE                         74
#define ITEM_NBFILE                          75
#define ITEM_NBSCOPE                         76
#define ITEM_NEWLINES                        77
#define ITEM_NONDISP                         78
#define ITEM_NUMBER                          79
#define ITEM_PAGEWRAP                        80
#define ITEM_PARSER                          81
#define ITEM_PENDING                         82
#define ITEM_POINT                           83
#define ITEM_POSITION                        84
#define ITEM_PREFIX                          85
#define ITEM_PRINTER                         86
#define ITEM_READONLY                        87
#define ITEM_READV                           88
#define ITEM_REGEXP                          89
#define ITEM_REPROFILE                       90
#define ITEM_RESERVED                        91
#define ITEM_REXX                            92
#define ITEM_REXXOUTPUT                      93
#define ITEM_RING                            94
#define ITEM_SCALE                           95
#define ITEM_SCOPE                           96
#define ITEM_SCREEN                          97
#define ITEM_SELECT                          98
#define ITEM_SHADOW                          99
#define ITEM_SHOWKEY                        100
#define ITEM_SIZE                           101
#define ITEM_STATUSLINE                     102
#define ITEM_STAY                           103
#define ITEM_SYNONYM                        104
#define ITEM_TABKEY                         105
#define ITEM_TABLINE                        106
#define ITEM_TABS                           107
#define ITEM_TABSIN                         108
#define ITEM_TABSOUT                        109
#define ITEM_TARGETSAVE                     110
#define ITEM_TERMINAL                       111
#define ITEM_THIGHLIGHT                     112
#define ITEM_TIMECHECK                      113
#define ITEM_TOF                            114
#define ITEM_TOFEOF                         115
#define ITEM_TRAILING                       116
#define ITEM_TYPEAHEAD                      117
#define ITEM_UNDOING                        118
#define ITEM_UNTAA                          119
#define ITEM_VERIFY                         120
#define ITEM_VERSHIFT                       121
#define ITEM_VERSION                        122
#define ITEM_WIDTH                          123
#define ITEM_WORD                           124
#define ITEM_WORDWRAP                       125
#define ITEM_WRAP                           126
#define ITEM_XTERMINAL                      127
#define ITEM_ZONE                           128

/*---------------------------------------------------------------------*/
/* The following are item number defines for the boolean functions.    */
/*---------------------------------------------------------------------*/
#define ITEM_AFTER_FUNCTION                   0
#define ITEM_ALT_FUNCTION                     1
#define ITEM_ALTKEY_FUNCTION                  2
#define ITEM_BATCH_FUNCTION                   3
#define ITEM_BEFORE_FUNCTION                  4
#define ITEM_BLANK_FUNCTION                   5
#define ITEM_BLOCK_FUNCTION                   6
#define ITEM_BOTTOMEDGE_FUNCTION              7
#define ITEM_COMMAND_FUNCTION                 8
#define ITEM_CTRL_FUNCTION                    9
#define ITEM_CURRENT_FUNCTION                10
#define ITEM_DIR_FUNCTION                    11
#define ITEM_END_FUNCTION                    12
#define ITEM_EOF_FUNCTION                    13
#define ITEM_FIRST_FUNCTION                  14
#define ITEM_FOCUSEOF_FUNCTION               15
#define ITEM_FOCUSTOF_FUNCTION               16
#define ITEM_INBLOCK_FUNCTION                17
#define ITEM_INCOMMAND_FUNCTION              18
#define ITEM_INITIAL_FUNCTION                19
#define ITEM_INPREFIX_FUNCTION               20
#define ITEM_LEFTEDGE_FUNCTION               21
#define ITEM_MODIFIABLE_FUNCTION             22
#define ITEM_RIGHTEDGE_FUNCTION              23
#define ITEM_RUN_OS_FUNCTION                 24
#define ITEM_SHADOW_FUNCTION                 25
#define ITEM_SHIFT_FUNCTION                  26
#define ITEM_SPACECHAR_FUNCTION              27
#define ITEM_TOF_FUNCTION                    28
#define ITEM_TOPEDGE_FUNCTION                29
#define ITEM_VALID_TARGET_FUNCTION           30
#define ITEM_VERONE_FUNCTION                 31
/*---------------------------------------------------------------------*/
/* The following are item number defines for the 'other' functions.    */
/*---------------------------------------------------------------------*/