Google
 

Trailing-Edge - PDP-10 Archives - decuslib10-06 - 43,50374/sos.rnh
There are no other files named sos.rnh in the archive.
00100	.;
00200	.;  SOS HELP FILE	VERSION 23(220)
00300	.;
00400	.;	THE BROOKINGS INSTITUTION
00500	.;	SOCIAL SCIENCE COMPUTATION CENTER
00600	.;	WASHINGTON, D.C. 20036
00700	.;
00800	.;	WM. FRANKLIN
00900	.;	27-JAN-76
01000	.;
01100	.SPACING 1
01200	.NOFILL
01300	.NOJUSTIFY
01400	.RIGHT MARGIN 72
01500	
01600	^^SOS\\ %23(220)    ^HELP FILE    27-^JAN-76
01700	.BLANK 2
01800	^SUMMARY OF ^^SOS\\ COMMANDS:
01900	.BLANK 1
02000	.TAB STOPS 5,25
02100	^CMD	##^MEANING	#[^PARAMETERS]
02200	.BLANK 1
02300	^^P	P\\RINT	[<RANGE>,<POPTIONS>]
02400	^^<LF>	P\\RINT NEXT LINE
02500	$	^PRINT PRECEEDING LINE
02600	^I	^INSERT	[<POSITION>,<INCREMENT>]
02700	^D	^DELETE	[<RANGE>]
02800	^R	^REPLACE	[<RANGE>,<INCREMENT>]
02900	^F	^FIND	[<STRING>$<RANGE>,<FOPTIONS>]
03000	^S	^SUBSTITUTE	[<OLD STRING>$<NEW STRING>$<RANGE>,<SOPTIONS>]
03100	^N	^RE^NUMBER LINES	[<INCREMENT>,<RANGE>,<START1>,<START2>]
03200	#^^NA	A\\DD <INCREMENT> TO <RANGE>
03300	#^^NP	P\\RESERVE LINE NUMBERS OVER PAGE MARKS
03400	^C	^COPY	[<DEST-POSITION>,<RANGE>]
03500		   OR	[<DEST-POSITION>=<FILESPEC>,<RANGE>]
03600	^T	^TRANSFER	[<DEST-POSITION>,<RANGE>]
03700	^A	^ALTER	[<RANGE>,<AOPTIONS>]
03800	^X	E^XTEND	[<RANGE>,<XOPTIONS>]
03900	^E	^END ^^SOS\\ EDITING SESSION _& RETURN TO ^MONITOR
04000	#^^ES\\	^UNSEQUENCE RESULTING OUTPUT FILE
04100	#^^EN\\	##(^SAME AS ^^ES\\)
04200	#^^ET\\	^REMOVE SEQUENCE NUMBERS AND ^FORM ^FEEDS FROM OUTPUT FILE
04300	#^^EB\\	^SUPPRESS BACKUP FILE CREATION
04400	#^^EQ\\	^QUIT (LEAVES FILE IN UNEDITED STATE)
04500	#^^ED\\	^DELETE FILE BEING WRITTEN OR READ
04600	#^^EX\\	^SAME AS "^E" COMMAND (FOR ^^TECO\\ COMPATABILITY)
04700	^G	^GO (^END ^^SOS\\ EDITING SESSION _& RUN SPECIFIED PROGRAM)
04800	^W	^SAVE ^WORLD (SAVES CURRENT VERSION OF EDITED FILE)
04900	^M	^INSERT PAGE ^MARK	[<POSITION>]
05000	^K	^KILL PAGE MARK	[/<PAGE NUMBER>][:/<PAGE NUMBER>]
05100	^^VV\\	^IN^VERT CASE	[<RANGE>,<VOPTIONS>]
05200	^^VU\\	^CON^VERT TO ^UPPER CASE	[<RANGE>,<VOPTIONS>]
05300	^^VL\\	^CON^VERT TO ^LOWER CASE	[<RANGE>,<VOPTIONS>]
05400	.;^^JU\\	^J^USTIFY TEXT	[<RANGE>]
05500	^B	^POSITION TO FIRST LINE OF FILE
05600	^^BP\\	^POSITION TO FIRST LINE OF CURRENT PAGE
05700	_.	^POSITION TO GIVEN LINE	[<POSITION>]
05800	^J	^JOIN	[<POSITION>]
05900	^L	^LIST (ON ^^LPT\\)	[<RANGE>]
06000	.;^^JW\\	^JUSTIFY ^WORDS	[<RANGE>]
06100	.;^^JL\\	^JUSTIFY ^LEFT	[<RANGE>]
06200	.;^^JR\\	^JUSTIFY ^RIGHT	[<RANGE>]
06300	.;^^JC\\	^JUSTIFY ^CENTER	[<RANGE>]
06400	_/	^SET ^^SOS\\ PARAMETER	[<PARAMETER>]
06500	=	^PRINT ^^SOS\\ PARAMETER	[<PARAMETER>]
06600	@	^INVOKE INDIRECT COMMAND FILE	[<FILESPEC>]
06700	_;	^COMMENT LINE			[<ANY TEXT>]
06800	^H	^HELP (PRINTS THIS TEXT)
06900	.BLANK 1
07000	_^^G_^^G	^CANCEL COMMAND BEING ENTERED
07100	_^^C_^^C	^INTERRUPT CURRENT COMMAND (ENTERS DIALOG)
     
00100	.PAGE
00200	
00300	^ALTER ^COMMAND OPERATIONS:
00400	.LEFT MARGIN 4
00500	.TAB STOPS 15
00600	.BLANK 1
00700	.INDENT -1
00800	N^C<CH>	^CHANGE N CHARACTERS
00900	.INDENT -2
01000	-N^D	^DELETE NEXT/LAST N CHARACTERS
01100	^E	^FINISH LINE WITH NO PRINTING
01200	.INDENT -1
01300	N^I<TEXT>$	^INSERT WITH TEMP INCREMENT N
01400	^J	^BREAK LINE AND STICK REST AT FRONT OF NEXT
01500	.INDENT -2
01600	-N^K<CH>	^DELETE TO N OCCURRENCES OF <CH>
01700	^L	^PRINT LINE AND REPOSITION TO START OF LINE
01800	^P	^PRINT LINE AND REPRINT TO CURRENT POSITION
01900	^B	^REPOSITION TO START OF LINE
02000	^Q	^QUIT ^^ALTER\\ (RESTORE ORIGINAL LINE)
02100	.INDENT -2
02200	-N^R<TEXT>$	^DELETE N CHARACTERS THEN INSERT (0^I)
02300	.INDENT -2
02400	-N^S<CH>	^SKIP FORWARD/BACKWARD N OCCURRENCES OF <CH>
02500	.INDENT -1
02600	N^W	^SKIP FORWARD N WORDS
02700	.INDENT -1
02800	N^U	^DELETE N WORDS
02900	^T<TEXT>$	^DELETE WORD THEN INSERT TEXT (0^I)
03000	.INDENT -2
03100	-N<^^SP>	S\\PACE FORWARD/BACKWARD N CHARACTERS
03200	<^^CR\\>	^PRINT REST OF LINE _& FINISH IT
03300	.INDENT -1
03400	N<^^RUB>	B\\ACKSPACE N CHARACTERS
03500	.INDENT -1
03600	N<^^BS>	B\\ACKSPACE N CHARACTERS
03700	.INDENT -1
03800	-<^^HT>	S\\KIP TO END/START OF LINE
03900	.INDENT -1
04000	-^X	^INSERT CHARACTERS AT START/END OF LINE
04100	.INDENT -2
04200	-N_^	^LIKE <^^SP\\>, EXCEPT INVERTS CASE OF LETTERS
04300	.INDENT -2
04400	-N<	^LIKE <^^SP\\>, EXCEPT CONVERTS LETTERS TO UPPER CASE
04500	.INDENT -2
04600	-N>	^LIKE <^^SP\\>, EXCEPT CONVERTS LETTERS TO LOWER CASE
04700	.INDENT -1
04800	N^V	^INVERT CASE OF LETTERS
04900	.INDENT -2
05000	-N@<CMD><CH>	^EXECUTE <CMD> THROUGH N'TH OCCURRENCE OF <CH>
05100	_^^U	^RESTORE ORIGINAL CONDITION OF CURRENT LINE
05200	_^^R	^PRINT CURRENT LINE STATUS
05300	_$	^END TEXT INSERTION; CANCEL REPEAT COUNT
05400	.BLANK 4
05500	
05600	.LEFT MARGIN 0
05700	^SPECIAL FUNCTIONS OF THE "^I" COMMAND:
05800	.BLANK 1
05900	.TAB STOPS 12,15
06000	.LEFT MARGIN 12
06100	.INDENT -12
06200	^^I<CR>\\	^RESUME PREVIOUS INSERTION (^I OR ^R COMMAND STOPPED BY $)
06300	.BLANK 1
06400	.INDENT -12
06500	^I/<PAGE>	^INSERT PAGE MARK AT END OF <PAGE>, FOLLOWED BY TEXT INSERTED
06600	ON EMPTY <PAGE>+1.
06700	.BLANK 1
06800	.INDENT -12
06900	^I<POS>;!N	^SELECT INCREMENT FROM TABLE OF AESTHETIC VALUES TO PERMIT
07000	INSERTION OF AT LEAST N LINES OF TEXT.
07100	.LEFT MARGIN 0
07200	
     
00100	.PAGE
00200	
00300	^^SOS\\ ^PARAMETERS:
00400	.BLANK 1
00500	.TAB STOPS 14,20,28,43
00600	^NAME         ^SET  ^PRINT  ^DEFAULT ^VALUE          ^WHAT
00700	.BLANK 1
00800	#.	^N	^Y	---	^CURRENT <POSITION>
00900	^^BAK\\	^Y	^Y	^ON	^CREATE BACKUP FILE <.^QXX>
01000	^^BASIC\\	^I	^N	^OFF (UNLESS *.^^BAS\\)	^READ ^^BASIC\\ FILE
01100	^^BIG\\	^N	^Y	---	^LARGEST PAGE _#
01200	^^BLOCK\\	^I	^Y	^ON	^OUTPUT FILE LINE-BLOCKED
01300	^C64	^Y	^^CASE\\	^ON	64 CHARACTER SET
01400	^C128	^Y	^^CASE\\	^OFF (USES "?")	128 CHARACTER SET
01500	^^CASE\\	^N	^^CASE\\	^C64 ^M33 ^^UPPER\\	^GIVE CASE INFORMATION
01600	^^CHECK\\	^Y	^Y	^OFF	^DO QUOTA CHECKING
01700	^^COLUMN\\	^N	^Y	---	^PRINT TERMINAL COLUMN _#'S
01800	^^COMPRESS\\	^I	^^BLOCK\\	^OFF	^OUTPUT FILE COMPRESSED
01900	^^CORE\\	^I	^N	1.5^K	^SET SIZE OF EDIT BUFFER
02000	^^CREATE\\	^I	^^NAME\\	^OFF	^CREATE NEW FILE
02100	^^DECIDE\\	^Y	^Y	^OFF	^AUTO ",^D"
02200	^^DELETE\\	^Y	^Y	^OFF	^DELETE INPUT FILE
02300	^^DISK\\	^N	^Y	---	^CURRENT QUOTA INFORMATION
02400	#^^DSK\\	#(^SAME AS ^^DISK\\)
02500	^^DPY\\	^Y	^^CASE\\	^OFF	^SPECIAL ^^CRT\\ TERMINAL MODE
02600	^^EDIT\\	^I	^^NAME\\	^ON	^NORMAL EDIT/CREATE MODE
02700	^^ERROR\\	^N	^Y	---	^PRINT TEXT OF LAST ERROR MSG
02800	^^EXACT\\	^Y	^Y	^OFF	^EXACT LETTER COMPARISONS
02900	^^EXPERT\\	^Y	^N	^OFF	^FANCY FEATURES _& SHORT MSGS
03000	^^INCREMENT\\	^Y	^Y	100	^DEFAULT LINE INCREMENT
03100	^^ISAVE\\	^Y	^Y	^NONE	^CONTROLS AUTO-^W ON INSERTS
03200	.;^^LENGTH\\	^Y	^Y	55	^TERMINAL PAGE SIZE
03300	.;^^LMAR\\	^Y	^Y	1	^LEFT MARGIN
03400	^^LOCATION\\	^N	^Y	---	^FIRST LINE IN EDIT BUFFER
03500	^^LOWER\\	^Y	^^CASE\\	^OFF	^DEFAULT LOWER CASE
03600	^M33	^Y	^^CASE\\	^ON	^UPPER-CASE ONLY TERMINAL
03700	^M37	^Y	^^CASE\\	^OFF	^UPPER/LOWER CASE TERMINAL
03800	.;^^MAXLN\\	^Y	^Y	99999	^MAXIMUM LINE _#
03900	^^NAME\\	^S	^Y	---	^OUTPUT FILE SPEC
04000	^^NOBAK\\	^Y	^^BAK\\	^OFF	^NO BACKUP FILE
04100	#^N	#(^SAME AS ^^NOBAK\\)
04200	^^NOBASIC\\	^I	^N	^ON (UNLESS *.^^BAS\\)	^READ ^^SOS\\-FORMAT FILE
04300	^^NOCHECK\\	^Y	^^CHECK\\	^ON	^NO QUOTA CHECKING
04400	^^NODECIDE\\	^Y	^^DECIDE\\	^ON	^NO AUTO ",^D"
04500	^^NODELETE\\	^Y	^^DELETE\\	^ON	^DON'T DELETE INPUT FILE
04600	^^NOEXACT\\	^Y	^^EXACT\\	^ON	^FOLDED LETTER COMPARISONS
04700	^^NONSEPARATOR\\	^Y	^^CASE\\	^ON	^DON'T TREAT %,$,. AS ALPHANUM
04800	^^NONUMBER\\	^Y	^N	^OFF	^SUPPRESS PRINTING LINE _#'S
04900	^^NOVICE\\	^Y	^N	^ON	^NORMAL MODE
05000	^^NUMBER\\	^Y	^N	^ON	^PRINT LINE NUMBERS
05100	^^OLD\\	^Y	^^BAK\\	^OFF	^CREATE "OLD" FILE (.^ZXX)
05200	^^OPTION\\	^I	^N	---	^READ ^^"SWITCH.INI"\\ FILE
05300	^^PLINES\\	^Y	^Y	16	^USED BY ^^"P<CR>\\"
05400	.;^^PMAR\\	^Y	^Y	1	^PARAGRAPH MARGIN
05500	^^READONLY\\	^I	^^NAME\\	^OFF	^PREVENT FILE MODIFICATION
05600	#^R	#(^SAME AS ^^READONLY\\)
05700	#^^RONLY\\	#(^SAME AS ^^READONLY\\)
05800	.;^^RMAR\\	^Y	^Y	69	^RIGHT MARGIN
05900	^^RUN\\	^Y	^Y	^^"SYS:COMPIL"\\	^SET PROGRAM TO RUN (^G CMD)
06000	^^SAVE\\	^Y	^Y	^NONE	^CONTROLS AUTO-^W ON COMMANDS
06100	^^SEPARATOR\\	^Y	^N	^OFF	^TREAT %,$,. AS ALPHANUMERIC
06200	^^SEQUENCE\\	^Y	^Y	^ON	^SEQUENCE _#'S ON OUTPUT FILE
06300	^^START\\	^Y	^Y	100	^STARTING SEQUENCE _#
06400	^^STEP\\	^Y	^Y	100	^INCREMENT FOR UNSEQ. FILES
06500	^^STRING\\	^N	^Y	---	^CURRENT ^F _& ^S STRINGS
06600	^^TEXT\\	^Y	^N	^OFF	^CONTINUOUS TEXT OUTPUT FILE
06700	^^UNSEQUENCE\\	^Y	^^SEQUENCE\\  ^OFF	^UNSEQUENCE OUTPUT FILE
06800	^^UPPER\\	^Y	^^CASE\\	^ON	^DEFAULT UPPER CASE
06900	.BLANK 1
07000	.FILL
07100	.NOJUSTIFY
07200	^USER OPTION FILE "^^SWITCH.INI\\" IS READ TO SET PARAMETER DEFAULTS
07300	BEFORE ^^SOS\\ COMMAND STRING IS PARSED.
07400	"^Y" IN "^SET" COLUMN MEANS PARAMETER MAY BE SET VIA ^^SOS\\ COMMAND,
07500	^^SOS\\ "^^SWITCH.INI\\" ENTRY, OR "/" ^SET COMMAND; "^I" MEANS PARAMETER MUST
07600	BE SET WITH ^^SOS\\ COMMAND OR "^^SWITCH.INI\\" ENTRY; AND "^S" MEANS
07700	PARAMETER MUST BE SET WITH "/" ^SET COMMAND.
07800	.NOFILL
07900	.NOJUSTIFY
     
00100	.PAGE
00200	
00300	^^SOS\\ ^SPECIAL ^CHARACTERS:
00400	.BLANK 1
00500	.TAB STOPS 15,19,25
00600	.LEFT MARGIN 15
00700	.INDENT -15
00800	^REPLACEMENT:	_^^B	?"	^NEXT MATCH STRING
00900	_^^O	?*	?*<NUMBER>?* IS N'TH MATCH STRING
01000	_^_^	?7	^QUOTE NEXT CHARACTER
01100	.BLANK 1
01200	.INDENT -15
01300	^MATCH:	_^^E	?%	^NOT NEXT CHARACTER
01400	_^^X	_?9	^ANY ALPHAMERIC (0-9, ^A-^Z, A-Z)
01500	_^^A	_?_!	^ANY LETTER (^A-^Z, A-Z)
01600	_^^F	_?_&	^ANY UPPER-CASE LETTER (^A-^Z)
01700	_^^W	_?2	^ANY LOWER-CASE LETTER (A-Z)
01800	_^^P	_?_+	^ANY DECIMAL DIGIT (0-9)
01900	_^_\	_?_<	^SPACE OR ^HORIZONTAL ^TAB
02000	#|	_?_:	^ANY SEPARATOR
02100	_^^T	_?_/	^ANY CHARACTER 
02200	_^_]	_?_>	^END OF LINE 
02300	_^^N	_?_)	"^ZERO OR MORE OF" NEXT CHARACTER
02400	_^^V	_?1	"^ONE OR MORE OF" NEXT CHARACTER
02500	.BLANK 1
02600	.TAB STOPS 15,20
02700	.INDENT -15
02800	^POSITIONS:	.	^PRESENT LINE OR PAGE
02900	_^	^FIRST LINE OR PAGE
03000	*	^LAST LINE OR PAGE
03100	
03200	.BLANK 1
03300	.TAB STOPS 15,25
03400	.INDENT -15
03500	^SYMBOLIC	^^BF\\:...	^BEGINNING OF FILE
03600	.INDENT -15
03700	###RANGES:	^^BF\\!...	##(^SAME)
03800	_...:^^EF\\	^END OF FILE
03900	##^^EF\\#	^ENTIRE FILE
04000	^^BF:EF\\	##(^SAME)
04100	.LEFT MARGIN 0
04200	.BLANK 1
04300	^^SOS\\ DEFINITIONS AND MEANINGS:
04400	.BLANK 1
04500	.TAB STOPS 11
04600	<RANGE>	::= <POS>[!<NUMBER> OR
04700		          :<POS>]
04800	.BLANK 1
04900	<POS>	::= [<LINE>][/<PAGE>]
05000	.BLANK 1
05100	<LINE>	::= [<NUMBER> OR
05200	.;	     <CONTENT> OR
05300		     . OR * OR _^][(+-)<NUMBER>]
05400	.BLANK 1
05500	<PAGE>	::= [<NUMBER> OR
05600		     . OR * OR _^][(+-)<NUMBER>]
05700	.BLANK 1
05800	.;<CONTENT>	::= $<STRING>$<RANGE>,<FOPTIONS>
05900	.;.BLANK 1
06000	<NUMBER>	::= ANY POSITIVE INTEGER
06100	.BLANK 1
06200	<FILESPEC> ::= [DEV:]NAME[.EXT][<PATH>]
06300	.BLANK 1
06400	.LEFT MARGIN 0
     
00100	.PAGE
00200	
00300	^^SOS M\\ONITOR ^COMMAND FORMAT:
00400	.BLANK 1
00500	_.^^EDIT\\ COMMAND
00600	_.^^CREATE\\ COMMAND    OR    .^^R SOS -\\ COMMAND
00700	_.^^SOS\\ COMMAND
00800	.BLANK 1
00900	<COMMAND> ::= <SPEC> OR <SPECO>=<SPECI>
01000	.TAB STOP 20,27
01100		WHERE:	<SPEC>  = FILE TO CREATE/EDIT
01200			<SPECO> = OUTPUT FILE
01300			<SPECI> = INPUT FILE
01400	.BLANK 1
01500	<SPEC>
01600	<SPECI> ::= [DEV:]NAME[.EXT][<PATH>][<NNN>][<PSW>][/SWITCHES]
01700	<SPECO>
01800	.BLANK 1
01900	.TAB STOPS 13,30
02000	<PATH>  ::=	[-]	^DEFAULT PATH
02100		[,]	^USER'S OWN ^^PPN\\
02200		^^[PR,PG]\\	^^PPN\\ ONLY
02300		^^[PR,PG,SFD,...]\\	^FULL PATH SPEC
02400		^^[,,SFD,...]\\	^USE OWN ^^PPN\\
02500	.BLANK 1
02600	<NNN>  ::=	^USUAL THREE-DIGIT PROTECTION CODE, AS IN <157>
02700	.BLANK 1
02800	<PSW>  ::=	(1-20 ALPHAMERIC CHARACTERS)	^ENCRYPTION PASSWORD
02900	.BLANK 1
03000	_/SWITCHES  ::=  ^ONE OR MORE SETTABLE ^^SOS\\ PARAMETERS, AS GIVEN ABOVE
03100	.BLANK 2
03200	[^END OF ^^SOS.HLP\\]