-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgc3.cat
214 lines (127 loc) · 7.48 KB
/
gc3.cat
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
gc3(l) gc3(l)
NNAAMMEE
gc3 - Gram's Commander v3.3
SSYYNNTTAAXX
ggcc33 [ flags ] [ _<_p_a_t_h_1_> [ _<_p_a_t_h_2_> ] ]
DDEESSCCRRIIPPTTIIOONN
_g_c_3 is a general-purpose, programmable file manager for
UNIX and MS-DOS, similar in nature to the well-known DOS
file manager `Norton Commander'.
When started up, _g_c_3 presents the user with two windows
containing lists of the files in the directories specified
by the path arguments, and two windows showing information
about each of these paths. Each file list window has an
arrow shaped cursor which points at one of the file names.
Further information about the pointed-at file is also
shown in the information window. The bottom line of the
screen is a one- line borderless command window for enter-
ing commands. This is also where error messages are dis-
played, and where gc3 commands can prompt for input.
If a path argument(s) is missing, the current directory is
used for the left-hand window, while the path for the
right hand window will be the directory that was current
when you last executed _g_c_3_. This is determined from the
iinniittiiaalliissaattiioonn ffiillee _._g_c_3_i_n_i which also saves the last
known value of options and variable settings upon exit.
_g_c_3 searches for the initialisation path in the directory
specified by the $$GGCCPPAATTHH environment variable. If this is
not set the $$HHOOMMEE environment variable is used instead.
The user can move through the file list with the cursor
keys, and select/deselect files. Various actions are pos-
sible upon either the current file (namely the one at
which the cursor is positioned) or upon the set of
selected files in that directory.
_g_c_3 supports a number of commands. The actual commands may
vary from site to site (or from user to user). To find out
the list of commands that _g_c_3 supports at your site, press
the help key (usually HH ).
The behaviour of _g_c_3 is determined by a script file writ-
ten in a language called _G_C_S_c_r_i_p_t_. Full details of the
script files and how to configure ggcc33 can be found in the
documentation files that accompany the registered gc3
package. The file UUSSEERR..DDOOCC also contains considerably more
detailed information about using ggcc33 than this manual
entry does.
CCOOMMMMAANNDD LLIINNEE FFLLAAGGSS
--cc supresses the use of colour.
--CC [<script>] forces a script recompile; the
default script name if one is not specified is
`gc3.key'.
--dd [ nn ][ ll ] writes a disassembled listing of
the compiled script to stdout. The nn option
produces a numeric dump, while the ll ooppttiioonn
ccaauusseess tthhee lliinnkk pphhaassee ttoo bbee sskkiippppeedd..
--DD _<_i_d_> allows you to define identifiers for con-
ditional compilation of the script (used with
--CC ).
--ii shows the current instruction pointer value at
bottom.
--II forces the ggcciinniitt function in the script to be
called.
--tt or --TT write an instruction trace to the file
ggcc33..iipp , useful for post-mortem debugging.
--TT starts the trace from the execution of
ggcciinniitt while --tt starts from the key processing
loop.
--vv causes the compiler to output more verbose
messages.
TTHHEE DDEEFFAAUULLTT SSCCRRIIPPTT FFIILLEE
Under UNIX, no lower-case letters other than jj and kk are
bound. Thus, pressing any of these unbound keys causes the
ggccddeeffaauulltt function to be called. This function invokes
the command line editor after inserting the key that was
pressed into the command line esitor buffer. You will see
a prompt CCoommmmaanndd?? at the bottom of the screen. You can
then complete the command and execute it by pressing
ENTER. If you end the command with a pipe character || ,
the file pager command defined by the $$ppaaggeerr variable will
automatically be appended to the command line before it is
executed.
gc3 includes a hypertext help system with considerably
more information. You can enter this help system by press-
ing Ctrl-B. The manual which accompanies registered ver-
sions of gc3 also has considerably more information.
TTHHEE CCOOMMMMAANNDD LLIINNEE EEDDIITTOORR
The default command line editor setup for UNIX is:
^^FF insert current file name at cursor position
^^LL Move cursor to left hand end (start) of line
^^RR Move cursor to right-hand end of line
DDeell Delete the character under the cursor
BBaacckkssppaaccee Delete the character left of the cursor
IInnss Toggle Ins/overstrike modes. You can see the
current mode as a `+' (insert) or `-' (over-
strike) at the right hand end of the command
line
EESSCC Clear whole line
^^EE Erase from start of line
^^KK Kill to end of line
^^PP Delete from start of previous word to cursor
^^NN Delete to from cursor to start of next word
^^BB Move cursor to previous word
^^WW Move cursor to next word
PPggUUpp Recall previous command in command history
list
PPggDDnn Recall next command in command history list
FFIILLEESS
$$GGCCPPAATTHH//ggcc33..kkeeyy
The script file that determines how gc3
behaves
$$GGCCPPAATTHH//..ggcc33iinnii
The startup file containing the last active
path, option values and variable values
$$GGCCPPAATTHH//..ggcc33ccoodd
The compiled script code file
$$GGCCPPAATTHH//..ggcc33rruull
The rules that gc3 uses to decide what editor
and paginator to use, and how to handle con-
tainer files (such as tar, cpio and zip
files).
The gc3 User's Manual (registered users only)
IINNSSTTAALLLL..DDOOCC The installation documentation
SSEEEE AALLSSOO
The _e_d (1) editor.
_r_e_g_e_x_p (5)
_s_e_l (l) a general argument selector
AAUUTTHHOORR
Graham Wheeler, [email protected].
27 April 1994/New SA Day 1 gc3(l)