GETCFG SETCFG |
GETCFG ITEM,VAR/K,STEM/KObtain one or more configuration settings.
Argument | Description |
---|---|
ITEM | Specifies the name of the single item,
group or list to obtain.
If not specified, an array is built of all configuration items. |
VAR | The name of the variable to return the value of a
single item in. If no name is specified, the value
of a single item will be returned in the reserved ARexx variable RESULT .
|
STEM | The name of a stem variable to return an array of items in, for a group or list, or when obtaining all items. Do not include the trailing period in this name. |
SETCFG ITEM,VALUE,STEM/K,ADD/SSet one or more configuration settings. After completion of this command, the new configuration will be in effect, and possibly a re-lay out of the current document will take place (or even a screen close and re-open). If you need to set several items at once, it is best to combine all items into one array, so any extra processing will be done only once.
Argument | Description |
---|---|
ITEM | Specifies the name of the item to set. |
VALUE | The value to set the item of the specified name to. |
STEM | The name of a stem variable that holds an array of items to set. The items in this array don't necessarily belong to the same group or list. |
ADD | If this switch is set, any list items are
added to the existing settings.
If this switch is not set, and list items are supplied, they replace the existing list for that item. |
Name | Description |
---|---|
ITEM | Name of the item. |
VALUE | Value of the item. |
Example: HTMLMODE
is the item controlling
the browser's HTML mode.
Example: STYLE
is a group containing all
browser style settings.
STYLE.H3
and STYLE.BLOCKQUOTE
are two individual
items in this group.
It is possible to set or add an individual value with the SETCFG command. If the ADD switch is given, the value is added to the list, otherwise the one value replaces all existing values from the list.
Example: MIME
is a list containing all
MIME type and external program settings.
Value: Boolean (0 or 1).
Value: Boolean (0 or 1).
This is a item list of individual menu entries.
Value of each entry: String with format:
shortcut;macro;title
shortcut | A number in the range 1..10 representing the menu shortcut (1 = right-Amiga + 1; 9 = right-Amiga + 9; 10 = right-Amiga + 0), or 0 indicating no menu shortcut. |
---|---|
macro | The path and name of the ARexx macro associated with the menu item. |
title | The title text as shown in the menu. |
Value: Boolean (0 or 1).
Value: String containing the URL of the autosearch search engine.
Value: Boolean (0 or 1).
Value: Boolean (0 or 1).
Value: Number in the range 0..40, specifying the blink rate in tenths of a second. Zero means no blinking.
This is a item list of individual menu entries.
Value of each entry: String with format:
label NL command
label | The label to show in the button. |
---|---|
NL | A newline character (hexadecimal 0A). |
command | The ARexx command to execute when the button is clicked. |
Value: Non-negative number, specifying the size of the disk cache in kB.
Value: Non-negative number, specifying the size of the memory cache in kB.
Value: String specifying a DOS path.
This item group contains the following items:
COLOUR.BACKGROUND | Document background colour. |
---|---|
COLOUR.TEXT | Document text colour. |
COLOUR.LINK | Colour of not yet visited hyperlinks. |
COLOUR.VLINK | Colour of visited hyperlinks. |
COLOUR.ALINK | Colour of active (selected) hyperlinks. |
Value: String specifying a DOS console window.
Value: Boolean (0 or 1).
Value: 0,1 or 2:
0 | Never remember or send a cookie. |
---|---|
1 | Ask user before remembering a cookie. |
2 | Remember and send cookies silently. |
Value: Boolean (0 or 1).
Value: Boolean (0 or 1).
Value: String with format:
command;arguments
command | DOS path and file name of the editor. |
---|---|
arguments | Arguments for the editor. |
Value: String with format:
command;arguments
command | DOS path and file name of the TCP end script. |
---|---|
arguments | Arguments for the script. |
Value: Boolean (0 or 1).
This item group contains the following items:
FONT.N# (# = 1..7) | Normal font in this size. |
---|---|
FONT.F# (# = 1..7) | Fixed width font in this size. |
Value of all items: String with format:
fontname/fontsize
fontname | Name of the font, including the .font suffix.
|
---|---|
fontsize | Number, specifying the size of the font. |
Value: Boolean (0 or 1).
Value: Boolean (0 or 1).
Value: Boolean (0 or 1).
Value: String containing the URL of the proxy, including the leading http://
.
Value: String containing the URL of the proxy, including the leading http://
.
Value: Boolean (0 or 1).
Value: Boolean (0 or 1).
Value: String containing the URL of the browser's home page.
Value: Boolean (0 or 1).
Value: Boolean (0 or 1).
Value: Boolean (0 or 1).
Value: 0, 1 or 2:
0 | Strict |
---|---|
1 | Tolerant |
2 | Compatible |
Value: String with format:
command;arguments
command | DOS path and file name of the HTML viewer. |
---|---|
arguments | Arguments for the HTML viewer. |
Value: String containing the URL of the proxy, including the leading http://
.
Value: Boolean (0 or 1).
Value: Boolean (0 or 1).
Value: 0, 1 or 2:
0 | Off |
---|---|
1 | Maps only |
2 | All images |
Value: String with format:
command;arguments
command | DOS path and file name of the image viewer. |
---|---|
arguments | Arguments for the image viewer. |
Value: Boolean (0 or 1).
Value: String.
Value: Boolean (0 or 1).
Value: Non-negative number, specifying the amount of memory in kB.
Value: Non-negative number, specifying the amount of memory in kB.
This is a item list of individual key configuration entries.
Value of each entry: String with format:
key NL command
key | String describing the key to attach the command to. It is in one of these formats:
| ||||||||
---|---|---|---|---|---|---|---|---|---|
NL | A newline character (hexadecimal 0A). | ||||||||
command | The ARexx command to execute when the key or key combination is hit. |
Value: Boolean (0 or 1).
This item group contains the following items:
MAILNEWS.EMAIL | E-mail address |
---|---|
Value: String | |
MAILNEWS.REALNAME | Real name |
Value: String | |
MAILNEWS.REPLYTO | Reply-to address |
Value: String | |
MAILNEWS.ORGANIZATION | Organization |
Value: String | |
MAILNEWS.SIGNATURE | Path of signature file |
Value: String | |
MAILNEWS.SMTPHOST | Mail host name (SMTP) |
Value: String | |
MAILNEWS.MAILQUOTEHDR | Mail quote header |
Value: String | |
MAILNEWS.EXTMAILER | Use external mailer instead |
Value: Boolean (0 or 1) | |
MAILNEWS.NNTPHOST | News host name (NNTP) |
Value: String | |
MAILNEWS.NEWSQUOTEHDR | News quote header |
Value: String | |
MAILNEWS.USERNAME | Authorized news user name |
Value: String | |
MAILNEWS.PASSWORD | Authorized news password |
Value: String | |
MAILNEWS.EXTNEWSREADER | Use external newsreader instead |
Value: Boolean (0 or 1) | |
MAILNEWS.MAXARTICLES | Maximum number of articles |
Value: Positive number or zero | |
MAILNEWS.SORTARTICLES | Sort article headers on subject |
Value: Boolean (0 or 1) | |
MAILNEWS.SPLITSCREEN | Use split screen when reading news |
Value: Boolean (0 or 1) | |
MAILNEWS.LONGHEADERS | Show long headers with news articles |
Value: Boolean (0 or 1) | |
MAILNEWS.PROPFONT | Use proportional font for news articles |
Value: Boolean (0 or 1) |
Value: String with format:
command;arguments
command | DOS path and file name of the mailto program or script. |
---|---|
arguments | Arguments for the program or script. |
Value: Positive number.
Value: Positive number.
This is a item list of individual MIME and viewer definitions. Note that the individual entries in the list will be kept unique with regard to the MIME type. Even if you use the ADD switch on the SETCFG command, a definition for a MIME type will replace the existing definition for that MIME type.
Value of each entry: String with format:
type/subtype;extensions;action;name;arguments
type/subtype | MIME type. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
extensions | Filename extensions that default to this MIME type. | ||||||||||||
action | Action to perform for this MIME type. Valid actions are:
| ||||||||||||
name | DOS path and file name of the AWeb plugin or external program. | ||||||||||||
arguments | Arguments for the AWeb plugin or external program. |
Value: Boolean (0 or 1).
Value: String with format:
command;arguments
command | DOS path and file name of the mailto program or script. |
---|---|
arguments | Arguments for the program or script. |
This is an item list of individual names or patterns.
Value of each entry: String.
This is an item list of individual names or patterns.
Value of each entry: String.
Value: Boolean (0 or 1).
This is an item list of individual names or patterns.
Value of each entry: String.
Value: Non-negative number.
This item group contains the following items:
PALETTE.# (# = 0..7) | Palette definition for this pen number. |
---|
Value: String containing zero of more from:
A | ALT key |
---|---|
C | Control key |
M | Middle mouse button |
R | Right mouse button |
S | Shift key |
This is a item list of individual menu entries.
Value of each entry: String with format:
menu NL memory NL title NL command
menu | Identification of the menu section to add this item to:
| ||||||
---|---|---|---|---|---|---|---|
NL | A newline character (hexadecimal 0A). | ||||||
memory | Number indicating when the item is valid:
| ||||||
title | The item title to show in the menu. | ||||||
command | The ARexx command to execute when the button is clicked. |
Value: Boolean (0 or 1).
Value: String specifying a DOS path.
This item group contains the following items:
SCREEN.TYPE | Type of screen to run AWeb on. | |||||
---|---|---|---|---|---|---|
Value: 0, 1 or 2:
| ||||||
SCREEN.NAME | Name of public screen to run AWeb on. | |||||
Value: String. | ||||||
SCREEN.MODE | Screen mode of own public screen. | |||||
Value: String containing 8 hexadecimal digits, specifying the screen's ModeID. | ||||||
SCREEN.WIDTH | Width of own public screen in pixels. | |||||
Value: Positive number. | ||||||
SCREEN.HEIGHT | Height of own public screen in pixels. | |||||
Value: Positive number. | ||||||
SCREEN.DEPTH | Depth of own public screen (number of bitplanes). | |||||
Value: Positive number. | ||||||
SCREEN.PALETTE | Load spread palette indicator. | |||||
Value: 0, 1 or 2:
|
Value: String containing 9 pen numbers, separated by spaces. The numbers define the pens to use for: Normal text, Bright edges, Dark edges, Active window title bars, Active window titles, Background (must be 0), Important text, Menu text, Menu background.
Value: Boolean (0 or 1).
Value: Boolean (0 or 1).
Value: String.
Value: Boolean (0 or 1).
Value: String with format:
command;arguments
command | DOS path and file name of the TCP start script. |
---|---|
arguments | Arguments for the script. |
STYLE.H1 STYLE.H2 STYLE.H3 STYLE.H4 STYLE.H5 STYLE.H6 STYLE.BIG |
STYLE.SMALL STYLE.SUB STYLE.SUP STYLE.ADDRESS STYLE.BLOCKQUOTE STYLE.CITE STYLE.CODE |
STYLE.DFN STYLE.EM STYLE.KBD STYLE.PRE STYLE.SAMP STYLE.STRONG STYLE.VAR |
---|
Value: For STYLE.H1 through STYLE.H6, string with format:
fonttype;absolute size;styleand for the other items, string with format:
fonttype;relative size;style
fonttype | Type of font to use:
| ||||||
---|---|---|---|---|---|---|---|
absolute size | Number in range 1..7 | ||||||
relative size | Signed number in range -6..+6 | ||||||
style | String containing zero or more from:
|
Value: String with format:
command;arguments
command | DOS path and file name of the telnet program or script. |
---|---|
arguments | Arguments for the program or script. |
Value: String containing the URL of the proxy, including the leading http://
.
Value: String specifying a DOS path.
Value: Boolean (0 or 1).
Value: 0, 1 or 2:
0 | Verify always |
---|---|
1 | Verify once per session |
2 | Verify never |