SET

The SET command under A-Shell supports a subset of the AMOS display and settings, as well as some extensions. The functions that are fully supported are listed below, followed by notes about features that differ significantly from the AMOS counterpart. Entering SET with no specifications will display current settings, and SET/? will display options. The items marked with "A-Shell" in the "Source" column have no corresponding AMOS equivalent.

Function

Source

Displays

{NO} ABSLOOKUP

A-Shell

Always return absolute value in LOOKUP.

{NO} HASH

A-Shell

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

A-Shell

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.)

{NO} ECHO

 

Character echo.

{NO} EXTFIO

A-Shell

Extended file I/O.

{NO} FIELDEMU

A-Shell

Field Emulation.

{NO} FPROUND

A-Shell

Floating point expression rounding.

HEX

 

Set Hex output.

INFDEF

 

Change or display INFLD codes.

{NO} LATIN1

A-Shell

LATIN1 eight-bit mode.

{NO} LOKSER

A-Shell

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.

TERMINAL options

 

 

TITLE definition string

 

Set top status line or window title.

TRACE options

 

 

WEBCACHE

A-Shell

Set various options for A-Shell WEBCACHE system.

           

History

2016 October, A-Shell 6.3.1531:  SET.LIT 1.2(158) adds WEBCACHE