HPlogo System Debug Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 4 System Debug Command Specifications

SET

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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] | %, D[EC] | # , H[EX] | $

Set the current default input conversion base and the current output display base to octal, decimal, or 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.)

  • SET CRON is the same as ENV AUTOREPEAT TRUE.

  • SET CROFF is the same as ENV AUTOREPEAT FALSE.

MOREON | MOREOFF

MOREON (terminal paging on) and MOREOFF (terminal paging off) control the automatic paging of terminal output.

  • SET MOREON is the same as ENV TERM_PAGING TRUE.

  • SET MOREOFF is the same as ENV TERM_PAGING FALSE.

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

&

  • '"Page: " list_pagenum:"d" " " version " " date " " time'

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

CAUTION: The output format of all System Debug commands is subject to change without notice. Programs that are developed to postprocess System Debug output should not depend on the exact format (spacing, alignment, number of lines, uppercase or lowercase, or spelling) of any System Debug command output.
Feedback to webmaster