File: query.h

package info (click to toggle)
the 3.1-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,452 kB
  • ctags: 5,268
  • sloc: ansic: 63,118; sh: 2,399; makefile: 444
file content (214 lines) | stat: -rw-r--r-- 10,190 bytes parent folder | download
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
/***********************************************************************/
/* 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-1999 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/
 * PO Box 203, Bellara, QLD 4507, AUSTRALIA
 * Author of THE, a Free XEDIT/KEDIT editor and, Rexx/SQL
 * Maintainer of PDCurses: Public Domain Curses and, Regina Rexx interpreter
 * Use Rexx ? join the Rexx Language Association: http://www.rexxla.org
 */

/*
$Id: query.h,v 1.6 2001/04/25 01:25:34 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_EOF                             32
#define ITEM_EOLOUT                          33
#define ITEM_EQUIVCHAR                       34
#define ITEM_ETMODE                          35
#define ITEM_FEXT                            36
#define ITEM_FIELD                           37
#define ITEM_FILENAME                        38
#define ITEM_FILESTATUS                      39
#define ITEM_FMODE                           40
#define ITEM_FNAME                           41
#define ITEM_FPATH                           42
#define ITEM_FTYPE                           43
#define ITEM_FULLFNAME                       44
#define ITEM_GETENV                          45
#define ITEM_HEADER                          46
#define ITEM_HEX                             47
#define ITEM_HEXDISPLAY                      48
#define ITEM_HEXSHOW                         49
#define ITEM_HIGHLIGHT                       50
#define ITEM_IDLINE                          51
#define ITEM_IMPMACRO                        52
#define ITEM_IMPOS                           53
#define ITEM_INPUTMODE                       54
#define ITEM_INSERTMODE                      55
#define ITEM_LASTKEY                         56
#define ITEM_LASTMSG                         57
#define ITEM_LASTRC                          58
#define ITEM_LENGTH                          59
#define ITEM_LINE                            60
#define ITEM_LINEFLAG                        61
#define ITEM_LINEND                          62
#define ITEM_LSCREEN                         63
#define ITEM_MACRO                           64
#define ITEM_MACROEXT                        65
#define ITEM_MACROPATH                       66
#define ITEM_MARGINS                         67
#define ITEM_MONITOR                         68
#define ITEM_MOUSE                           69
#define ITEM_MSGLINE                         70
#define ITEM_MSGMODE                         71
#define ITEM_NBFILE                          72
#define ITEM_NBSCOPE                         73
#define ITEM_NEWLINES                        74
#define ITEM_NONDISP                         75
#define ITEM_NUMBER                          76
#define ITEM_PAGEWRAP                        77
#define ITEM_PARSER                          78
#define ITEM_PENDING                         79
#define ITEM_POINT                           80
#define ITEM_POSITION                        81
#define ITEM_PREFIX                          82
#define ITEM_PRINTER                         83
#define ITEM_READONLY                        84
#define ITEM_READV                           85
#define ITEM_REPROFILE                       86
#define ITEM_RESERVED                        87
#define ITEM_REXX                            88
#define ITEM_REXXOUTPUT                      89
#define ITEM_RING                            90
#define ITEM_SCALE                           91
#define ITEM_SCOPE                           92
#define ITEM_SCREEN                          93
#define ITEM_SELECT                          94
#define ITEM_SHADOW                          95
#define ITEM_SHOWKEY                         96
#define ITEM_SIZE                            97
#define ITEM_STATUSLINE                      98
#define ITEM_STAY                            99
#define ITEM_SYNONYM                        100
#define ITEM_TABKEY                         101
#define ITEM_TABLINE                        102
#define ITEM_TABS                           103
#define ITEM_TABSIN                         104
#define ITEM_TABSOUT                        105
#define ITEM_TARGETSAVE                     106
#define ITEM_TERMINAL                       107
#define ITEM_THIGHLIGHT                     108
#define ITEM_TIMECHECK                      109
#define ITEM_TOF                            110
#define ITEM_TOFEOF                         111
#define ITEM_TYPEAHEAD                      112
#define ITEM_UNDOING                        113
#define ITEM_UNTAA                          114
#define ITEM_VERIFY                         115
#define ITEM_VERSHIFT                       116
#define ITEM_VERSION                        117
#define ITEM_WIDTH                          118
#define ITEM_WORD                           119
#define ITEM_WORDWRAP                       120
#define ITEM_WRAP                           121
#define ITEM_XTERMINAL                      122
#define ITEM_ZONE                           123

/*---------------------------------------------------------------------*/
/* 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.    */
/*---------------------------------------------------------------------*/