Product Documentation and Knowledge Base - HomeDocumentation


Charon-VAXCharon-AXPCharon-PDPCharon-SSPCharon-PAR

setenv

Set console environment variables.
Syntax

setenv variable value

setenv variable --

Description

This command sets the console configuration variable to value.  For a complete list of possible variable names and details, see the table below.

To restore variable to its default value, specify -- in place of value.

setenv Variables
VariableDefault ValueDescription
auto-boot?falseIf true, boots automatically after power on or reset.
boot-fileempty stringA string of arguments to be passed to the boot loader (e.g. -a or -v).
boot-devicedisk netSpace delimited list of devices to attempt booting from.
ttya-mode9600,8,n,1,-Serial line configuration for ttya
ttyb-mode9600,8,n,1,-Serial line configuration for ttyb
Changes to environment variables are stored in NVRAM and permanent. However, they only take effect after executing the reset command.
Example

The following example demonstrates the output of the setenv command. 

Example {{setenv} Command Output

ok setenv auto-boot? true
setenv auto-boot? true
auto-boot? =          true



© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.