home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
dirs
/
gmc_434.lzh
/
GMC
/
english.docs
/
SetGMC.Doc
< prev
next >
Wrap
Text File
|
1991-01-18
|
7KB
|
277 lines
SetGMC V9.8 Operating Manual Page 1
1mNAME
0mSetGMC - Configuration program for GMC
1mSYNOPSIS
0mSetGMC [-f <set file name>]|[[DEF] <Command> <Argument(s)>]
1mDESCRIPTION
0mWith SetGMC GMC-processes can be configurated. This
can be done by a single command in the command line,
interactively with separate prompt, or by reading a input
file.
Parameter
The file <set file name> contains the commands and
their arguments. The syntax is descriped below.
If no file name is used, a command with arguments can
be given as parameter. DEF tells SetGMC that this command
shall be used as global setting.
If SetGMC is executed without parameters, it enters the
interactive mode. A special prompt is shown and SetGMC
waits for commands. The interactive mode is left by
Ctrl-\.
Commands
INS ON|OFF
Insert mode on/off
HELP ON|OFF
Help key functions on/off
PATH ON|OFF
Actual directory path in window title on/off
FKEYS ON|OFF
Function keys on/off
NEWSIZE ON|OFF
New prompt display on window resizing on/off
The function is ignored together with SIMPLE_REFRESH
windows.
BEEP <v> <c> <d>
Loudness is set by v. A value of 0 disables the function,
maximum is 64. c gives the duration of the sound signal.
Correct values are between 1 and 10. With d the time
SetGMC V9.8 08.11.90
SetGMC V9.8 Operating Manual Page 2
interval can be set that must be between the point of
returning a READ packet and reception of the next. Normally
this is the time interval between hitting the RETURN key and
the display of a new prompt. Correct values for d are
between 0 and 65535.
BUFFER <n>
The number n gives the size of the buffer for storage of the
output. The size must have minimum of 4096 and a maximum of
999999 Bytes. A reduction of the buffer size will be
ignored.
PAGELEN <n>
This command sets the page length of a window text dump.
Correct values for n are 0,40..99, 0 switches the page
length setting off.
XY <x> <y> XY <x> <y> <x> <y> <w> <h> (KS 2.0 Version)
x and y give the position of the left, top edge of the
icon. If the values overshoot the maximum values of the
screen, the icon will be placed at the right or the bottom
border, respectively.
In the KS 2.0 version of SetGMC, this command sets also the
size and the position of window by MAXWINDOW. If the
specified size is bigger than the size of the screen, the
window gets the maximal possible size in dependence of the
specified position.
SCRIPT <filename>
The file <filename> will be opened as a script file. If no
file name is given, an opened script file will be closed.
This command can be used only for local configuration.
<q>F<n> "<string>"
This command allows to assign strings to the function keys
in four levels. The qualifier of the function key is given
by q ('','S','C','A'), n is the number of the function key.
The string must be set in quotes. Inside the quotes other
quotes are possible. These are assigned to the function
keys.
BS <n><s><c><a>
DEL <n><s><c><a>
CUL <n><s><c><a>
Cur <n><s><c><a>
With these commands it is possible to set the function of
the erase keys and the cursor keys (left/right). n,s,c,a
give the function of the keys with the corresponding
qualifiers. The following functions are supported:
- No function: 0
- Cursor left/Delete character in front of the cursor: 1
- Cursor right/Delete character under the cursor: 2
- Cursor to previous block/Delete to start of block: 3
- Cursor to next block/Delete to end of block: 4
SetGMC V9.8 08.11.90
SetGMC V9.8 Operating Manual Page 3
- Cursor to previous word/Delete to start of word: 5
- Cursor to next word/Delete to end of word: 6
- Cursor to start of line/Delete to start of line: 7
- Cursor to end of line/Delete to end of line: 8
- Delete line: 9
Delete function can be used only with erase keys,
movement functions only with cursor keys.
If global configuration is used, the editing keys must
be explicitly set, otherwise 0 (no function) is taken as
default setting.
TAB <n><s><c><a>
File/directory name completer: Select objects to display.
Every of the four numbers tells the function which objects
shall be displayed. The numbers are interpreted as
3-bit-pattern. Bit 2 specifies info files to be diplayed.
Bit 1 does this for directories and bit 0 for normal files.
Examples:
TAB 1427
Only TAB: normal files; S-TAB: info files; C-TAB:
directories; A-TAB: all files and directories.
Function same as old TAB ON.
TAB 7777
TAB with any qualifier: display everything.
TAB 0000
Nothing is diplayed (no directory scanning). Default
setting, same as old TAB OFF.
1mSEE ALSO
0mGMC.Doc
1mBUGS
0mNone known
1mREMARKS
0mThe code for SetGMC is written reentrant. SetGMC can
be made resident (e.g. by ARes or Resident).
Local configuration has effects only to the GMC process
in its window it is executed. Local commands that are
executed in a non-GMC-window are acknowledged with an error
SetGMC V9.8 08.11.90
SetGMC V9.8 Operating Manual Page 4
message.
The version numbers on SetGMC and GMC must be the same
otherwise an error message is generated.
SetGMC V9.8 08.11.90