RJS Commands - Local Syntax
Local Syntax Conventions
In addition to those general conventions discussed above, the following rules hold for local syntax:
- Except in certain circumstances, noted below, a period may be used for command accept.
- The following control characters have the indicated functions:
SOH (control A) delete last character
DEL delete last character
SYN (control V) delete last word
CAN (control X) delete entire line
EOT (control D) display current word
ACK (control F) display entire line
'?' display acceptable input forms
ESC force recognition of current word
blank force recognition of current word
- The TELNET control characters 'you-echo' and 'I-echo' have the desired results. 'You-echo' also has the effect of changing to character at a time mode, if the user is not already in character at a time mode.
Description of RJS Commands, Local Syntax
The following is a list of those commands supported in local syntax. In those cases where no success reply is indicated, RJS responds with CR-LF followed by the prompt character. In those cases where it is stated that the user must be, or must not be, logged in, 'LOGIN PLEASE.' or 'LOGGED IN.', respectively, are displayed if the user is not in the appropriate state. When a reference is made to a response listed under a standard syntax command, it should be noted that reply id's are not displayed under local syntax.
'FULLDUPLEX' <CA>
Sets the user to fullduplex and character at a time modes.
'HALFDUPLEX' <CA>
Sets the user to halfduplex mode.
'LINE<-AT<-A<-TIME' <CA>
Set's the user to halfduplex, line at a time modes. The control characters previously described remain effective, but RJS will send no output over the TELNET connection except when the current command line is empty.
'LOGIN' <user name> <password> <account> <CA>
Specifies the UCSB Computer Center user name and account to which the user's use Of RJS is to be billed, logs the user in, and sets the source, print, and punch accounting parameter accumulators to <user name>, <password> and <account>. This command is valid only if the user is not logged in, and has the same replies as the standard syntax 'PASS' command.
'DISCONNECT' <CA>
Closes the TELNET connection. If the user is logged in, he is first logged out. The effective action taken in response to an unexpected close on the TELNET connection is that of a DISCONNECT. The response to a DISCONNECT command is 'TTY <integer> IS DISCONNECTED.'
The remaining commands require the user to be logged in.
'LOG0UT' <CA>
Logs the user out and terminates billing of subsequent activity over the TELNET connection to the previously effective accounting parameters, and performs the effective action of the REINITIALIZE command. LOGOUT does not close the TELNET connection, nor does it affect any file transfers in progress for jobs owned by the user.
'REINITIALIZE' <CA>
Resets to empty the following accumulators: source, print and punch accounting parameter, source, print and punch pathname, and login accounting parameter.
'ACCOUNTING' <account parms> <CA>
<account parms> = '(' <u> ',' <p> ',' <a> ')'
<u> = <user name> _ <null>
<p> = <password> _ <null>
<a> = <account> _ <null>
Sets the source, print and punch accounting parameters to <account parms>. Specification of <null> for any of <u>, <p>, or <a> indicates use of the contents of the corresponding login accumulator.
'SOURCE' <account parms> <CA>
Set the source accounting parameter accumulators to <account parms>.
'PRINT' <account parms> <CA>
Sets the print accounting parameter accumulators to <account parms>.
'PUNCH' <account parms> <CA>
Sets the punch accounting parameter accumulators to <account parms>.
'SOURCE' <jobid> (<account parms> _ <null>) <pathname> <CA>
Sets the source pathname of job <jobid> to <pathname>, and the source accounting parameters to <account parms>, if specified, or otherwise to the contents of the source accounting parameter accumulators. If job <jobid> already exists and its source pathname has not been specified, the new pathname is stored; if it has been specified, it is changed unless source file retrieval has already begun. If the job does not already exist, a new job is created and the pathname stored. Restrictions are that if a job with a given <jobid> has completed processing, it must be DELETE'd before that <jobid> may be used for a new job; a user may only alter jobs owned by him; and he may not own more than a certain fixed number of jobs (currently 5). If the user already owns the maximum number, an attempt is made to delete an old job to make room for the new one, as described for INPUT under standard syntax. The SOURCE command has the following possible error responses: 'NEW JOBS ARE NOT BEING ACCEPTED AT THIS TIME.', 'USER <user name> ALREADY OWNS THE MAXIMUM NUMBER OF JOBS.', 'USER <user name> DOES NOT OWN JOB <jobid>.', 'JOB <jobid> HAS ALREADY COMPLETED.', and 'JOB <jobid> IS ALREADY BEING, OR HAS BEEN, READ.'
'PRINT <jobid> (<account parms> _ <null>) <disp> <CA>
Sets the print pathname of job <jobid> to <disp>, and the print accounting parameters to <account parms> if specified, or otherwise to the contents of the print accounting parameter accumulators. The PRINT command either creates a new job or modifies an existing one, as explained under SOURCE, and has the same restrictions and error messages listed for the SOURCE command, after making the obvious substitution of 'PRINTED' for 'READ'. The PRINT command is valid only before print file transfer begins.
'PUNCH' <jobid> (<account parms> _ <null>) <disp> <CA>
Sets the punch pathname of job <jobid> to <disp>, and the punch accounting parameters to <account parms> if specified, or otherwise to the contents of the punch accounting parameter accumulators. The PUNCH command either creates a new job or modifies an existing one, like the SOURCE and PRINT commands, and has the same restrictions and error messages listed for the SOURCE command, after making the substitution of 'PUNCHED' for 'READ'. The PUNCH command is valid only before punch file transfer begins.
'DELETE' <jobid> <CA>
Identical in function to the CANCEL command in standard syntax.
'INPUT' <jobid> <CA>
Places the job identified by <jobid> in a queue within RJS of jobs owned by the users awaiting source file transfer. When it becomes the first or only job in this queue, the retrieval of the source file is initiated. If the INPUT command is successful, the message 'JOB <jobid> ACCEPTED FOR PROCESSING.' is displayed. The following error messages are possible: 'JOB <jobid> NOT FOUND.', 'USER <user name> DOES NOT OWN JOB <jobid>.', 'JOB <jobid> HAS ALREADY COMPLETED.', ' SOURCE PATHNAME HAS NOT BEEN SPECIFIED.' and 'PRINT PATHNAME HAS NOT BEEN SPECIFIED.'
'JOBSTAT' <jobid> <CA>
Identical in function and response to the 'STATUS' <jobid> command in standard syntax.
'JOBLIST' <CA>
Lists the jobid's of those jobs owned by the user.
$ <text> <CA>
<text> = a string of any characters including '?' and '.'.
Note that <CA> must be CR-LF, rather than period.
Issues <text> as a HASP operator command over the user's virtual operator's console. See Appendix A for a description of HASP commands and command responses.