The SET command controls and displays a variety of A-Shell's behaviors; see the following list. Entering SET with no specifications will display current settings, and SET/? will display options.
Function |
Displays |
{NO} ABSLOOKUP |
Always return absolute value in LOOKUP. |
{NO} HASH |
Turn on and off AMOS compatible hash codes, and applies only to text files under A-Shell/UNIX. The default is off. When on, the A-Shell hash routine will pretend as if there were a CR to go along with any LF line terminators when generating a hash code (since UNIX text files normally only have LF line terminators whereas AMOS, Windows, and DOS use CRLF). |
{NO} AMOSRUNSBR |
Execute AMOS.SBR within current process. |
{NO} AUTOTPRINT |
Turn on/off AUTOTPRINT. |
{NO} CMDINP |
CMD file input. |
{NO} CTRLC |
Ctrl+C |
{NO}DEBUG{#} |
Cause RUN programs compiled with /X:2 but not /DEBUG, to interpret the DEBUG variable as 1 (or # if specified.) See DEBUG for more details. |
{NO} ECHO |
Character echo. |
{NO} EXTFIO |
Extended file I/O. |
{NO} FIELDEMU |
Field Emulation. |
{NO} FPROUND |
Floating point expression rounding. |
HEX |
Set Hex output. |
Change or display INFLD codes. | |
LANG |
Set/display language: SET LANGUAGE {lang}. If lang is not specified, it displays the name of the current language. Otherwise if tries to load the specified language file, interpreting lang as the LDF file name in the same way that MX_LANGUAGE does. Thus, while SET LANGUAGE may return "SPANISH", to set the language to Spanish you may need to use SET LANGUAGE SPANSH, assuming the LDF file name is dsk0:spansh.ldf[1,6]. |
{NO} LATIN1 |
LATIN1 eight-bit mode. |
{NO} LOKSER |
Turn LOKSER on/off. |
LONGDIR |
Forces DIR to act as if the /L{ONG} switch had been set. |
OCTAL |
Set Octal output (e.g. in DUMP). |
PROMPT <prompt> |
Set command prompt to <prompt>. |
{NO} STRICT |
Strict AMOS compatibility mode. |
| |
Set top status line or window title. | |
| |
Set various options for A-Shell WEBCACHE system. |
History
2022 May, A-Shell 6.5.1716, SET.LIT 1.2(166): now supports the SQL TRACE, and the TRACE options are now displayed alphabetically.
2017 July, A-Shell 6.5.1610, SET.LIT 1.2(161): now makes the scroll bar visible if the environment supports it (A-Shell/Windows and ATE version 6.5.1610 or later) and the output of the command causes the screen to scroll.
2017 February, A-Shell 6.3.1543, SET.LIT 1.2(161): adds LANG
2016 October, A-Shell 6.3.1531, SET.LIT 1.2(158): adds WEBCACHE
2016 September, A-Shell 6.3.1526, SET.LIT 1.2(156): updated to support TRACE flags JOBLCK and EXEC, which were added in 6.3.1518.0.