Skip to main content

Command Descriptions: ATTACH to DETACH

'ATTACH' <tty no.> <password> <CA>

Connects the user's console to the DRS/TTS terminal with identification number <tty no.>. Terminal <tty no.> must have been previously detached, and must not have been deleted. (Currently, detached terminals are deleted after 1 hour.)

'BREAK' (<tty list>|<CA>) <CA>

Causes links to the terminals specified in <tty list> to be broken. If <tty list> is not specified, all established links are broken. (See 'LINK', 'MONITOR', and 'SELECT' for a description of how links are established.)

'COMPILE' <job name> formid> <CA>

Causes form <formid> to be compiled. Verification that the source for form <formid> exists, and that object code does not already exist is made before invoking the DRS Compiler, which executes asynchronously to the user's terminal. The DRS Compiler generates a diagnostic file for the form and, if no errors are encountered, object files. <job name> is used to identify the request and may not be used to identify any other job so long as the current request is outstanding.

Because of main storage requirements, only one compilation is allowed in execution at any time. Subsequent requests are queued for later execution unless the request queue is full, in which case the request is refused. The user is notified when his compilation is initiated, and when it terminates.

'CONVERT' <integer> ['TO'] <base> <CA>

Allows the user to convert octal, decimal, or hexadecimal integers from one radix to another. <base> specifies the desired radix of the result and may be 'OCTAL', DECIMAL', or 'HEXADECIMAL'.

'DEFINE' <formid> <CA>

Allows the user to define a new source form, or append to an existing source form. The new line indicator '$$' replaces the normal '$' to indicate that input will be used to define the source form. Control C (ETX) signals the end of form definition and elicits the normal '$' new line indicator.

Unfortunately, the current facilities for editing forms are extremely limited. Only the line currently being entered may be edited. Once a line has been terminated, with CR-LF, and the new line indicator has appeared, the line may not be edited. The following control characters may be used to edit a form while it is being defined. Control A (SOH) or Rubout (DEL) delete the last character, control X (CAN) deletes the entire line, and control F (ACK) displays the entire line. If modifications need to be made to lines other than the current line, the entire form must be deleted and reentered.

'DELETE' [<file type>] <formid> <CA>

Deletes the specified component file(s) of form <formid>. <file type> specifies the component file to be deleted, either 'SOURCE', 'DIAGNOSTIC', or 'OBJECT_CODE'. If <file type> is not specified, all components of the form are deleted.

'DETACH' <CA> <CA>

Breaks the TELNET connection between DRS and the user, but does not delete the user's DRS terminal for some fixed period of time, currently 1 hour. Any jobs the terminal has active are unaffected when the terminal is detached. The user may subsequently reconnect to his DRS terminal by using the 'ATTACH' command.