|
|
Sets new values for a select subset of all user configurable options.
Syntax
SET
SET [ O[CT] | %
D[EC] | #
H[EX] | $ ] [ IN
OUT ]
SET [ CRON
CROFF ]
SET [ MOREON
MOREOFF ]
SET [ DEF[AULT] ]
The SET command allows a simplified method of setting a few of the
many environment variables. See the ENV command for more information.
The SET command entered alone, without parameters, displays all
current settings.
Parameters
- O[CT] | %
Set the current default input conversion base and the current output
display base to octal.
- D[EC] | #
Set the current default input conversion base and the current output
display base to decimal.
- H[EX] | $
Set the current default input conversion base and the current output
display base to hexadecimal.
- IN | OUT
The input conversion base and the output display base can be
individually set to different values. For example:
SET OCT IN
SET $ OUT
This sets octal for input, hex for output.
If IN and OUT are omitted, both input
and output bases are set to the specified base.
- CRON | CROFF
CRON (carriage return on) and CROFF (carriage
return off) control the automatic repetition of the last typed command
whenever a lone carriage control is entered. (This option is for
compatibility with prior versions of Debug; see the new
ENV AUTOREPEAT.)
- MOREON | MOREOFF
MOREON (terminal paging on) and MOREOFF (terminal
paging off) control the automatic paging of terminal output.
- DEF[AULT]
Resets the following ENV variables to their default values
indicated below:
- env autoignore
FALSE - env changes
"halfinv" - env cm_inbase
% - env cm_outbase
% - env cmdlinesubs
TRUE - env echo_cmds
FALSE - env echo_subs
FALSE - env echo_use
FALSE - env fill
"zero" - env filter
' ' - env hexupshift
FALSE - env justify
"right" - env list_paging
TRUE - env list_pagelen
#60 - env list_title
&
- env list_width
#80 - env lookup_id
"LSTPROC" - env markers
"uline" - env multi_line_errs
2 - env nm_inbase
$ - env nm_outbase
$ - env pstmt
TRUE - env term_loud
TRUE - env term_paging
FALSE - env term_width
#79
Examples
$nmdat > SET
Display all current settings.
%cmdebug > set hex out
Set output display base to hexadecimal.
%cmdebug > set %
Set both input and output bases to octal.
$nmdat > set def
Set default values.
Limitations, Restrictions
none
|