Console Commands

Console commands are commands entered at the DtCyber Operator> prompt or defined in an operator section of the DtCyber .ini file. The basic syntax of an operator command consists of a verb followed by one or more blanks followed by a comma-separated list of parameters, as in:

load_tape 13,0,1,r,tapes/opl485.tap

Command Description
?

Help

help

List all available commands.

help <cmd>

Provide help for <cmd>.

+%22help%22+%7B+command+%3D+%28+%22%3F%22+%7C+%22help%22+%29+%5B+command_name+%5D+.+%7D

help
ccw

Close Console Window

close_console_window

Close the local X-Windows or WIN32 console window. DtCyber remains running and operates in headless mode until a remote console application connects or open_console_window is executed.

+%22Close+Console+Window%22+%7B+command+%3D+%28+%22ccw%22+%7C+%22close_console_window%22+%29+.+%7D

close_console_window
drc

Disconnect Remote Console

disconnect_remote_console

Forcefully disconnects a remote console application, returning control to the local console window.

+%22Disconnect+Remote+Console%22+%7B+command+%3D+%28+%22drc%22+%7C+%22disconnect_remote_console%22+%29+.+%7D

disconnect_remote_console
d

Dump Emulated System Memory

dump_memory CM|EM,<fwa>[,<count>]

Dump <count> (default 1) words of central memory starting from octal address <fwa>

  • CM = Central Memory
  • EM = Extended Memory

+%22Dump+Memory+%28CM+or+EM%29%22+%7B+command+%3D+%28+%22d%22+%7C+%22dm%22+%7C%22dump_memory%22+%29+%28%22cm%22+%7C+%22em%22%29+%22%2C%22+fwa+%5B+%22%2C%22+count+%5D+.+fwa+%3D+octal_number+.+count+%3D+decimal_number+.+%7D

dump_memory PP<nn>,<fwa>[,<count>]

Dump <count> (default 1) words of PP nn's memory starting from octal address <fwa>.

PP = Peripheral Processor

+%22Dump+Memory+%28PP%29%22+%7B+command+%3D+%28+%22d%22+%7C+%22dm%22+%7C%22dump_memory%22+%29+%22pp%22+ppu_number+%22%2C%22+fwa+%5B+%22%2C%22+count+%5D+.+ppu_number+%3D+decimal_number+.+fwa+%3D+octal_number+.+count+%3D+decimal_number+.+%7D

dm
dump_memory
e

Enter Keys Into Virtual Console

enter_keys <key-sequence>

+%22Enter+Keys%22+%7B+command+%3D+%28%22e%22+%7C+%22ek%22+%7C+%22enter_keys%22%29+%7Bkey_sequence%7D+.+key_sequence+%3D+%7Bvalid_keys%7D+.+valid_keys+%3D+%28+%220-9%22+%7C+%22A-Z%22+%7C+%22a-z%22+%7C+%22.%22+%7C+%22%2C%22+%7C+%22%5B%22+%7C+%22%28%22+%7C+%22%29%22+%7C+%22%2A%22+%7C+special_keys+%29+.+%7D

Supply a sequence of key entries to the system console .

Special keys:

     ! - end sequence without sending <enter> key
     ; - send <enter> key within a sequence
     _ - send <blank> key
     ^ - send <backspace> key
     % - keyword delimiter for keywords:
         %year% insert current year
         %mon%  insert current month
         %day%  insert current day
         %hour% insert current hour
         %min%  insert current minute
         %sec%  insert current second
     # - delimiter for milliseconds pause value (e.g., #500#)
ek
enter_keys
idle

System Idle Detection and Throttling

idle

Display current idle detection and throttling parameters

idle <on|off>

Turn system idle detection on/off

+%22Enable%2FDisable+Idle+Detection%22+%7B+command+%3D+%22idle%22+%28%22on%22+%7C+%22off%22+%29+.+%7D

idle <num_cycles>,<sleep_time>

Set number of cycles before sleep and sleep time

sleep_time number of microseconds (Linux/MacOS) or milliseconds (Windows) for which execution should be suspended before resuming

+%22Establish+CPU+Idle+Parameters%22+%7B+command+%3D+%22idle%22+num_cycles+%22%2C%22+sleep_time+.+num_cycles+%3D+decimal_number+.+sleep_time+%3D+decimal_number+.+%7D

idle B<buffer_count>

Set number of allocated network buffers below which the NPU/MDI is considered to be idle.

+%22Establish+NPU%2FMDI+Idle+Parameters%22+%7B+command+%3D+%22idle%22+%22B%22+buffer_count+.+buffer_count+%3D+decimal_number+.+%7D

lc

Load Cards into Virtual Reader

load_cards <channel>,<equipment>,<filename>[,<p1>,<p2>,…,<pn>]

Load specified card file with optional parameters.

if filename is the asterisk * character AND a dedicated INPUT directory has been configured for the card reader, the next file is automatically selected (oldest modification date first) for submission.

If a dedicated OUTPUT directory has been configured for the card reader, the selected deck is MOVED from the INPUT directory to the OUTPUT directory and renamed with a unique serial suffix prior to pre-processing. The original deck is left untouched.

If a dedicated OUTPUT directory has NOT been configured for the card reader, the selected deck is ERASED from the INPUT directory after it has been pre-processed for submission.

Files which are submitted outside the confines of either of these two directories are left, untouched, but are pre-processed for submission.

If parameters are specified with the command, the specified values replace references within the loaded deck. The syntax of a reference within a deck is ${<n>}, where <n> is the ordinal of the parameter; 1 is the first parameter, 2 is the second, and so on.

Decks may also contain embedded directives and references to properties in property files. The syntax of an embedded property reference is:

${<path>:<section-name>:<property-name>[:<default-value>]}

where:

<path> Pathname of a property file.

<section-name> Name of a section within the property file.

<property-name> Name of a property definition within the specified section.

<default-value> Optional value to be used when the specified file, section, or property are not found.

Embedded directives begin with the character ~ (tilde) which must occur as the first character of a line. The recognized directives are:

~include <path>[,<p1>,<p2>,…,<pn>] A reference to the pathname of a file that is included in the submitted deck. The contents of the file replace the directive in the deck referencing it. Optionally, parameters may be provided, and these replace references to them within the included file. Included files may also contain embedded directives and references to properties.

~eof End of file. An end of file indication replaces the directive in the submitted deck.

~eoi End of information. An end of information indication replaces the directive in the submitted deck.

~eor End of record. An end of record indication replaces the directive in the submitted deck.

+%22Load+Cards%22+%7B+command+%3D+%28%22lc%22+%7C+%22load_cards%22%29+ch_eq+%22%2C%22+%28+filename+%7C+%22%2A%22+%29+%7B+%22%2C%22+parm+%7D+.+ch_eq+%3D+channel+%22%2C%22+equipment+.+channel+%3D+octal_number+.+equipment+%3D+octal_number+.+parm+%3D+string+.+%7D

load_cards
ld

Load Disk onto Removable Disk Drive

load_disk <channel>,<equipment>,<unit>,<filename>

Load specified disk.

+%22Load+Disk%22+%7B+command+%3D+%28%22ld%22+%7C+%22load_disk%22%29+ch_eq_un+%22%2C%22+filename+.+ch_eq_un+%3D+channel+%22%2C%22+equipment+%22%2C%22+unit+.+channel+%3D+octal_number+.+equipment+%3D+octal_number+.+unit+%3D+octal_number+.+%7D

load_disk
lt

Load Tape onto Virtual Tape Drive

load_tape <channel>,<equipment>,<unit>,<r|w>,<filename>

Load specified tape.

r = Read w = Write

+%22Load+Tape%22+%7B+command+%3D+%28%22lt%22+%7C+%22load_tape%22%29+ch_eq_un+%22%2C%22+%28%22r%22%7C%22w%22%29+%22%2C%22+filename+.+ch_eq_un+%3D+channel+%22%2C%22+equipment+%22%2C%22+unit+.+channel+%3D+octal_number+.+equipment+%3D+octal_number+.+unit+%3D+octal_number+.+%7D

load_tape
ocw

Open Console Window

open_console_window

Open the local X-Windows or WIN32 console window. DtCyber exits headless mode operation.

+%22Open+Console+Window%22+%7B+command+%3D+%28+%22ocw%22+%7C+%22open_console_window%22+%29+.+%7D

open_console_window
p

Pause emulation to reduce CPU Load

The emulator will pause and the dtCyber console will await the “Enter” key to resume execution

+%22Pause%22+%7B+command+%3D+%28%22p%22+%7C+%22pause%22%29+.+%7D

pause
rc

Remove Cards

remove_cards <channel>,<equipment>[,<pathname>]

Remove cards from card punch and write them to a file. If a file pathname is provided, cards are written to the specified file. Otherwise, DtCyber creates a unique file name and writes cards to that file.

+%22Remove+Cards%22+%7B+command+%3D+%28%22rc%22+%7C+%22remove_cards%22%29+ch_eq+%5B+%22%2C%22+pathname+%5D+.+ch_eq+%3D+channel+%22%2C%22+equipment.+channel+%3D+octal_number+.+equipment+%3D+octal_number+.+%7D

remove_cards
rp

Remove Paper from Line Printer

remove_paper <channel>,<equipment>[,<pathname>]

Remove paper from line printer and write it to a file. If a file pathname is provided, paper is written to the specified file. Otherwise, DtCyber creates a unique file name and writes paper to that file.

+%22Remove+Paper%22+%7B+command+%3D+%28%22rp%22+%7C+%22remove_paper%22%29+ch_eq+%5B+%22%2C%22+filename+%5D+.+ch_eq+%3D+channel+%22%2C%22+equipment.+channel+%3D+octal_number+.+equipment+%3D+octal_number+.+%7D

remove_paper
sd

Show Disk

show_disk

Show status of all disk units.

+%22Show+Disk%22+%7B+command+%3D+%28%22sd%22+%7C+%22show_disk%22%29+.+%7D

show_disk
se

Show Equipment

show_equipment

Show status of all attached equipment.

+%22Show+Equipment%22+%7B+command+%3D+%28%22se%22+%7C+%22show_equipment%22%29+.+%7D

show_equipment
ski

Set Key Interval

set_key_interval <millisecs>

Set the interval between key entries to the system console. Used by enter_keys

+%22Set+Key+Interval%22+%7B+command+%3D+%28%22ski%22+%7C+%22set_key_interval%22%29+ms_delay+.+ms_delay+%3D+decimal_number+.+%7D

set_key_interval
skwi

Set Key Wait Interval

set_keywait_interval <millisecs>

Set the interval between keyboard scans of the emulated system console. Used by the system console emulator

+%22Set+Key+Wait+Interval%22+%7B+command+%3D+%28%22skwi%22+%7C+%22set_keywait_interval%22%29+ms_delay+.+ms_delay+%3D+decimal_number+.+%7D

set_keywait_interval
sn

Show Network

show_network [<net-type>[,<net-type>…]]

Show status of data communication interfaces.

+%22Show+Network%22+%7B+command+%3D+%28%22sn%22+%7C+%22show_network%22%29+%5B+net_types+%5D+.+net_types+%3D+net_type+%5B+%22%2C%22+net_types+%5D+.+net_type+%3D+%28+%22cdcnet%22+%7C+%22crs%22+%7C+%22dsa311%22+%7C+%22msu%22+%7C+%22mux%22+%7C+%22niu%22+%7C+%22npu%22+%7C+%22tpm%22+%29+.+%7D

show_network
sop

Set Operator Port

set_operator_port <port>

Set the TCP port on which to listen for operator connections.

+%22Set+Operator+Port%22+%7B+command+%3D+%28%22sop%22+%7C+%22set_operator_port%22%29+tcp_port_number.+tcp_port_number+%3D+decimal_number+.+%7D

set_operator_port
ss

Show State

show_state [pp<n>,…][,cp[<n>]…]

Show state of PP's and/or CPU's.

+%22Show+State%22+%7B+command+%3D+%28%22ss%22+%7C+%22show_state%22%29+%5B+processor_specs+%5D+.+processor_specs+%3D+processor_spec+%5B+%22%2C%22+processor_specs+%5D+.+processor_spec+%3D+%28+cpu_spec+%7C+ppu_spec+%29+.+cpu_spec+%3D+%28+%22cp%22+%7C+%22cp0%22+%7C+%22cp1%22+%29+.+ppu_spec+%3D+%28+%22pp0%22+%7C+%22pp1%22+%7C+%22pp2%22+%7C+%22pp3%22+%7C+%22pp4%22+%7C+%22pp5%22+%7C+%22pp6%22+%7C+%22pp7%22+%7C+%22pp10%22+%7C+%22pp11%22+%7C+%22pp20%22+%7C+%22pp21%22+%7C+%22pp22%22+%7C+%22pp23%22+%7C+%22pp24%22+%7C+%22pp25%22+%7C+%22pp26%22+%7C+%22pp27%22+%7C+%22pp30%22+%7C+%22pp31%22+%29+.+%7D

show_state
st

Show Tape

show_tape

Show status of all tape units.

+%22Show+Tape%22+%7B+command+%3D+%28%22st%22+%7C+%22show_tape%22%29+.+%7D

show_tape
sur

Show Unit Record Devices

show_unitrecord

Show status of all line printers, card readers, and card punches.

+%22Show+Unit+Record%22+%7B+command+%3D+%28%22sur%22+%7C+%22show_unitrecord%22%29+.+%7D

show_unitrecord
sv

Show dtCyber Version

show_version

Show version of dtCyber.

+%22Show+Version%22+%7B+command+%3D+%28%22sv%22+%7C+%22show_version%22%29+.+%7D

show_version
shutdown

Shutdown dtCyber

shutdown

Terminates emulation.

+%22Shutdown%22+%7B+command+%3D+%22shutdown%22+.+%7D

ud

Unload Disk

unload_disk <channel>,<equipment>,<unit>

Unload specified removable disk unit.

+%22Unload+Disk%22+%7B+command+%3D+%28%22ud%22+%7C+%22unload_disk%22%29+ch_eq_un+.+ch_eq_un+%3D+channel+%22%2C%22+equipment+%22%2C%22+unit+.+channel+%3D+octal_number+.+equipment+%3D+octal_number+.+unit+%3D+octal_number+.+%7D

unload_disk
ut

Unload Tape

unload_tape <channel>,<equipment>,<unit>

Unload specified tape unit.

+%22Unload+Tape%22+%7B+command+%3D+%28%22ut%22+%7C+%22unload_tape%22%29+ch_eq_un+.+ch_eq_un+%3D+channel+%22%2C%22+equipment+%22%2C%22+unit+.+channel+%3D+octal_number+.+equipment+%3D+octal_number+.+unit+%3D+octal_number+.+%7D

unload_tape