Network Journal Submission
The remote user prepares the text of his Journal article in his host using whatever tools he has available to him. He may wish to prepare long articles beforehand using his text editor (e.g. TECO if he's a TENEX user). For short messages, he may be content with the basic editing features (such as backspace character and line delete) provided by his submission subsystem.
Connecting to the NIC
To get the mail to the SRI-ARC FTP server, you must either:
-
via FTP and TELNET mail subsystems, connect to SRI-ARC's FTP server process, then issue the FTP mail command, or
-
use the mail subsystem provided by your local system.
For TENEX SNDMSG mail: put "@nic" at the end of the "User:" field.
(e.g. jew / mdk dhc@nic)If you wish to send the mail as a SNDMSG message to some people as well as submit it to the Journal, you may treat the Journal form as one name, follow it with a comma, and then list other names of which SNDMSG is aware, separated by commas.
(e.g. jew/mdk dhc@nic, meyer, white)
Specifying Authors and Recipients
The user invokes Network Journal submission via his mail subsystem. Network Journal Submission is invoked by a user-name field of the following format:
author $(SP author) [SP] / [SP] recipient $ (SP recipient) [SP]
[ ; conversion algorithm]
"$(..)" means "any number of occurrences, possibly
zero, of what's inside the parentheses"
"SP" means "space"
"[..]" mean "the contents of the brackets are optional"
i.e., author(s), slash, recipient(s), optional semicolon and conversion-algorithm
e.g., jew/mdk rww cr dcs rww jcn / sri-arc ;h
'Author' is the NIC Ident of (one of) the user(s) submitting the article, and 'recipient' the Ident of (one of) its intended recipient(s). An Ident, as usual, may designate either a "group" or an "individual". SRI-ARC will verify the idents. If it finds them correct, it will accept the mail. An invalid Ident will cause the mail to be rejected; the user will get an error message and have to start over. The first author Ident will be taken to be the clerk.
If the SRI-ARC mail subsystem finds the slash in the user-name field, the Network Journal Submission system will be invoked; otherwise, the mail will be treated as normal Network mail (delivered to the directory specified by the user-name).
Specifying an NLS Conversion Algorithm
Optionally, the sender may specify the algorithm by which his sequential message file is to be converted to NLS format. This choice is made by inserting:
; conversion algorithm
anywhere in the 'user-name' field (e.g. jew/mdk rww;s). (This should be before the "@nic" for SNDMSG.) Legal values for conversion-algorithm are:
-
s -- Insert Sequential, each line an NLS statement (default conversion-algorithm)
-
a -- Insert Assembler with structure
-
m -- Insert Assembler without structure
-
h -- Heuristic Insert Sequential, double
<CR>s indicating end of statements, assuming no right justification in the source file. -
j -- Heuristic Insert Sequential, double
<CR>s indicating end of statements, assuming right justification in the source file (for those who put multiple spaces between words to line up the right margin, multiple spaces will be removed)By "Heuristic Insert Sequential", we mean that the Insert Sequential algorithm attempts to be smarter about handling statements and levels. Statements are delimited by two successive carriage returns. Statement level will be determined by the amount the statement is indented. If it is indented more than the previous statement, it will be taken to be a substatement and put down a level; if it is the same as the previous statement, it will be on the same level. If the statement is indented less than the previous statement, the program will look for a past statement with the same indentation and put it at that level, The indentation of a statement is taken to be that of either the first or second line of the statement, whichever is less (to ignore paragraph indentation, for example). This is good from 1 to 12 levels. Carriage returns at the end of full (within 10 characters of the right margin, i.e. 62nd column) lines are replaced by spaces.
This algorithm is an attempt to answer a very difficult need. It won't always do just the right thing, but it should often provide the intended result. The user is encouraged to experiment with it; suggestions will be welcomed.
Titling the Message
Once the conversion has been performed, an optional title, signaled by the label 're:'. 'title:', or 'subject:' is searched for in the first statement of the message text. (The label may either be all upper or all lower case, or the first character upper and the rest lower case.) If a label is found anywhere in the statement, the line of that statement beginning with the first non-blank character following the label and going up to the first carriage return (and line feed) or else to the end of the statement is taken as the Journal title, and the statement containing the title is deleted from the file, Any substructure will be moved up a level.
The submission is equivalent to the NLS 'Submit Message' command if th NLS file (after the title statement (if any) has been deleted) has only one statement in it besides the origin statement; in such a case, the message in its entirety will be delivered as part of the Journal citation. Otherwise the Network submission is equivalent to 'Submit File'; only a reference to the Journal document will be delivered to each of the recipients.