OpenBoot 2.x Command Reference Manual

Selecting Input and Output Device Options

The input-device and output-device parameters control the system's selection of input and output devices after a power-on reset. The default input-device value is keyboard and the default output-device value is screen. Input and output can be set to the values in Table 3-3.

Table 3-3 I/O Device Parameters

Options 

Description 

device-specifier

Device identified by that device path name or alias. 

keyboard

(Input only) Default system keyboard. 

screen

(Output only) Default graphics display. 

ttya

Serial port A. 

ttyb

Serial port B. 

When the system is reset, the named device becomes the default input or output device. (If you want to temporarily change the input or output device, use the input or output commands described in Chapter 4, Using Forth Tools.)

To set TTYA as the power-on default input device, type:


ok setenv input-device ttya
ok

If you select keyboard for input-device, and the device is not plugged in, input is accepted from ttya after the next power cycle or system reset. If you select screen for output-device, but no frame buffer is available, output is sent to ttya after the next power cycle or system reset.

To specify an SBus bwtwo frame buffer as the default output device (especially if there are multiple frame buffers in the system), type:


ok setenv output-device /sbus/bwtwo 
ok