99999.mac
.MACRO	.99999
.MCALL	.MODULE
.MODULE HLPTXT,VERSION=17,COMMENT=<HELP text>

;                     COPYRIGHT (c) 1986 BY
;             DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
;                         ALL RIGHTS RESERVED.
;
; THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND  COPIED
; ONLY  IN  ACCORDANCE  WITH  THE  TERMS  OF  SUCH  LICENSE AND WITH THE
; INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE OR  ANY  OTHER
; COPIES  THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
; OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE  IS  HEREBY
; TRANSFERRED.
;
; THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE  WITHOUT  NOTICE
; AND  SHOULD  NOT  BE  CONSTRUED  AS  A COMMITMENT BY DIGITAL EQUIPMENT
; CORPORATION.
;
; DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR  RELIABILITY  OF  ITS
; SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
.ENDM

ABORT.mac
.MACRO	ABORT
ABORT		Terminates, from the system console, a Foreground job
		(or system job) which does not have .SCCA in effect.

  SYNTAX
	ABORT	logical-job-name

  SEMANTICS
	Logical-job-name is the (up to) six character logical name
	assigned to the Foreground/System Job. Console is the system
	console terminal.

  OPTIONS
	None

  EXAMPLES
	ABORT QUEUE
	ABORT F
.ENDM

ACCESS.mac
.MACRO	ACCESS
ACCESS  	Restricts user access to particular file/device	(TSX+ only)

  SYNTAX
	ACCESS	filespecs[/option]

  SEMANTICS
	The ACCESS accepts up to six file specifications. It accepts
	wild cards in place of file names or file types. It is only legal
	if executed as part of a start-up command file.

  OPTIONS
   READ
	Restricts access to particular device or file to be read-only.

  EXAMPLES
	ACCESS RK0:*.ABC,RK0:*.BAK,RK1:*.*,LP:*.*
	ACCESS RK1:*.*,RK0:*.*/READ
	ACCESS RK1:TEST.FOR,RK2:*.DAT

.ENDM

ALLOCA.mac
.MACRO	ALLOCATE
ALLOCATE	Allocate a device for exclusive use by one user	(TSX+ only)

  SYNTAX
	ALLOCATE	dev[,dev...] [logical-device-name]

  SEMANTICS
	The ALLOCATE command gives a job exclusive use of a device. Once a
	device has been allocated no other user can access that device. An
	error is given if another job has already ALLOCATEd the device, has
	the device MOUNTed or has a file open on the device. Jobs on a primary
	and associated virtual lines all have access to a device allocated by
	any other job associated with the same primary line. However, only the
	job that ALLOCATEd the device can DEALLOCATE it. Devices which are
	partitioned into units may be ALLOCATEd on a unit-by-unit basis.
	The optional logical-device-name is assigned to the first device in
	the list.

  OPTIONS
	If no device names are specified, the command is equivalent to
	SHOW ALLOCATE. This lists which devices are currently ALLOCATEd.

  EXAMPLES
	ALLOCATE CL0 XL 	!Allocate unit 0 of CL and assign logical name
				!XL for use by VTCOM

.ENDM

ASCII.mac
.MACRO	ASCII
ASCII		Table of Octal, Decimal and Hex values for ASCII characters

	NUL  000  0.  0     SP 040 32. 20     @  100 64. 40     `  140  96. 60
	SOH  001  1.  1     !  041 33. 21     A  101 65. 41     a  141  97. 61
	STX  002  2.  2     "  042 34. 22     B  102 66. 42     b  142  98. 62
	ETX  003  3.  3     #  043 35. 23     C  103 67. 43     c  143  99. 63
	EOT  004  4.  4     $  044 36. 24     D  104 68. 44     d  144 100. 64
	ENQ  005  5.  5     %  045 37. 25     E  105 69. 45     e  145 101. 65
	ACK  006  6.  6     &  046 38. 26     F  106 70. 46     f  146 102. 66
	BEL  007  7.  7     '  047 39. 27     G  107 71. 47     g  147 103. 67

	BS   010  8.  8     (  050 40. 28     H  110 72. 48     h  150 104. 68
	HT   011  9.  9     )  051 41. 29     I  111 73. 49     i  151 105. 69
	LF   012 10.  A     *  052 42. 2A     J  112 74. 4A     j  152 106. 6A
	VT   013 11.  B     +  053 43. 2B     K  113 75. 4B     k  153 107. 6B
	FF   014 12.  C     ,  054 44. 2C     L  114 76. 4C     l  154 108. 6C
	CR   015 13.  D     -  055 45. 2D     M  115 77. 4D     m  155 109. 6D
	SO   016 14.  E     .  056 46. 2E     N  116 78. 4E     n  156 110. 6E
	SI   017 15.  F     /  057 47. 2F     O  117 79. 4F     o  157 111. 6F

	DLE  020 16. 10     0  060 48. 30     P  120 80. 50     p  160 112. 70
	DC1  021 17. 11     1  061 49. 31     Q  121 81. 51     q  161 113. 71
	DC2  022 18. 12     2  062 50. 32     R  122 82. 52     r  162 114. 72
	DC3  023 19. 13     3  063 51. 33     S  123 83. 53     s  163 115. 73
	DC4  024 20. 14     4  064 52. 34     T  124 84. 54     t  164 116. 74
	NAK  025 21. 15     5  065 53. 35     U  125 85. 55     u  165 117. 75
	SYN  026 22. 16     6  066 54. 36     V  126 86. 56     v  166 118. 76
	ETB  027 23. 17     7  067 55. 37     W  127 87. 57     w  167 119. 77

	CAN  030 24. 18     8  070 56. 38     X  130 88. 58     x  170 120. 78
	EM   031 25. 19     9  071 57. 39     Y  131 89. 59     y  171 121. 79
	SUB  032 26. 1A     :  072 58. 3A     Z  132 90. 5A     z  172 122. 7A
	ESC  033 27. 1B     ;  073 59. 3B     [  133 91. 5B     {  173 123. 7B
	FS   034 28. 1C     <  074 60. 3C     \  134 92. 5C     |  174 124. 7C
	GS   035 29. 1D     =  075 61. 3D     ]  135 93. 5D     }  175 125. 7D
	RS   036 30. 1E     >  076 62. 3E     ^  136 94. 5E     ~  176 126. 7E
	US   037 31. 1F     ?  077 63. 3F     _  137 95. 5F    DEL 177 127. 7F

.ENDM

ASSIGN.mac
.MACRO	ASSIGN
ASSIGN		Associates a logical device name with a physical device

  SYNTAX
	ASSIGN physical-device-name logical-device-name
	ASSIGN physical-device-name FORTRAN-unit-number
	ASSIGN filespec[[size]]=logical-device-name
	ASSIGN filespec[[size]]=FORTRAN-unit-number

  SEMANTICS
	Physical-device-name	is the RT-11 standard permanent name
				for the device. The physical name and logical
				name must be separated by a space.
	Logical-device-name	is one to three alphanumeric characters
				with no intervening spaces or tabs.
	FORTRAN-unit-number	is the number of a FORTRAN I/O unit.
	Filespec 		is [dev:]name[.ext]
	Size 			is the number of blocks to allocate.
				  
	Under TSX-Plus, physical-device-name may be a previously assigned
	logical-device-name or a file specification (including size).

  OPTIONS
	None

  EXAMPLES
	ASSIGN RK1: DK:
	ASSIGN LS: LP
	ASSIGN TT: 1
	ASSIGN SY:FILE=BIN
	ASSIGN DX0:FILE[10]=1

.ENDM

B.mac
.MACRO	B
B		Sets a relocation base

  SYNTAX
	B[ address]

  SEMANTICS
	B address sets a base for subsequent Examine (E) and Deposit
	(D) commands.  The system adds the current base to the value
	you supply in an Examine or Deposit command.  If address is
	not supplied, the base is set to zero.

  OPTIONS
	None

  EXAMPLES
	B		Sets base to 0
	B 6704		Sets base to 6704 octal
.ENDM

BACKUP.mac
.MACRO	BACKUP
BACKUP		Backup/Restore large files or random access devices

  SYNTAX
	BACKUP[/OPTION] dev:[filnam.typ] dev:[filnam.typ]

  SEMANTICS
	BACKUP filnam.typ dev: backs up file onto multiple volumes of
	smaller, output device.
	BACKUP/RESTORE dev: filnam.typ restores large file from
	multiple volumes of input device into filnam.typ.

  OPTIONS
   DEVICE
	BACKUP an entire device
   FILE
	Restore a single file from a backed-up volume; must be used
	with /RESTORE and /DEVICE options
   RESTORE
	Restores a previously backed up file or volume created by
	the BACKUP Utility (BUP)
   VERIFY
	Provides verification of data transferred to or from a device

  EXAMPLES
	BACKUP BIGFIL.DAT DY:
	BACKUP/DEVICE DM: DY:
	BACKUP/RESTORE DY: BIGFIL.DAT
	BACKUP/DEVICE/RESTORE/FILE DY:SMALL.DAT DL:
.ENDM

BASIC.mac
.MACRO	BASIC
BASIC		Invokes the BASIC language interpreter

  SYNTAX
	BASIC

  SEMANTICS
	See the BASIC-11 Language Reference Manual

  OPTIONS
	None

  EXAMPLES
	BASIC
.ENDM

BATCH.mac
.MACRO	BATCH
BATCH		Submits a batch request on a TSX-plus network

  SYNTAX
	BATCH	<node> <file> [schedule <date> [[+]<time>]]

  SEMANTICS
	<node>		is the node name (logical) or number (hex) to which
			the request is submitted. The special name SELF
			submits the request on the local machine while ALL
			submits the request on all nodes in the network.

	<file>		is the name of the file(s) to submit. The default
			device and extension are DK: and .COM respectively.
			The file name may include a path specification and
			wildcards.

	<date>		is the date on which execution is to commence.
			The date may be specified in the standard DD-MMM-YY
			RT-11 format, or by using words such as TODAY,
			YESTERDAY, TOMORROW, FRIDAY, etc.

	<time>		is the time in standard HH:MM:SS RT-11 format at which
			execution is to be commenced. Prefixing the time with
			a [+] sign indicates an offset from the current time.

   EXAMPLES
	BATCH ALL SY0:PSEUDO:SYSTEM:UPDATE SCHEDULE TOMORROW 0:00:00
	BATCH SELF COMPILE
	BATCH SELF COMPILE SCHEDULE TODAY +1:00:00
.ENDM

BOOT.mac
.MACRO	BOOT
BOOT		Boots a new system

  SYNTAX
	BOOT[/OPTION] dev:monitor-file

  SEMANTICS
	BOOT dev: does a hardware bootstrap of the device you specify.
	BOOT monitor-file boots the monitor file you specify.
	The default file type is SYS.

  OPTIONS
   FOREIGN
	Boots a system volume that is not an RT-11 Version 4 or later
	volume; use this option to boot a V3B or earlier system.
   WAIT
	Waits for user response before proceeding with the bootstrap
	to allow you to change volumes before proceeding with the
	bootstrap.

  EXAMPLES
	BOOT RK1:
	BOOT RK:RT11FB
.ENDM

BYE.mac
.MACRO	BYE
BYE		Logs off a TSX-Plus timesharing line		(TSX+ only)

  SYNTAX
	BYE[/options]

  SEMANTICS
	The BYE command is used to log off a terminal. It is also used to
	release a virtual line. The accumulated connect time and CPU time
	used during the session are displayed. The BYE command is equivalent
	to OFF.

  OPTIONS
   NOWARN
	Suppresses the warning message about active subprocesses

  EXAMPLES
	BYE
	Connect time=01:43:00  CPU=00:01:05

.ENDM

CLOSE.mac
.MACRO	CLOSE
CLOSE		Makes background output files permanent

  SYNTAX
	CLOSE

  SEMANTICS
	CLOSE makes tentative background files permanent.  Use it after
	unexpected program termination to preserve new files. It does
	not affect the foreground job. You cannot use it on files
	opened on magtape or cassette.

  OPTIONS
	None

  EXAMPLES
	R PROG
	(Program running)
	(CTRL/C)(CTRL/C)
	CLOSE
.ENDM

COBOL.mac
.MACRO	COBOL
COBOL		Invokes the COBOL-Plus language compiler	(TSX+ only)

  SYNTAX
	COBOL filespec

  SEMANTICS
	

  OPTIONS
   ALLOCATE:size
	Specify size of list or object file
   ANSI
	Produce warning messages for use of non-ANSI features
   CARD
	Source is in card sequence format
   CREF
	Equivalent to CROSS
   CROSS
	Produce a cross-reference of the source
   DCARDS
	Compile lines with D in indicator field
   INFORMATION
	Print additional information at end of compilation
   LINENUMBER
	Enable source line information in listing
   LIST[:name]
	Produce a source listing
   NARROW
	Format the cross-reference in 80 columns
   OBJECT:filespec
	Specify the object file name
   ONDEBUG
	Compile for use with the debugger
   PRODUCTION
	Omit line number tracing and subscript checking
   RM
	Compile RM/COBOL programs
   SEQUENCE
	Equivalent to CARD
   SUMMARY
	Include only error messages in list
   WARN
	Suppress warning messages

  EXAMPLES
	see COBOL-Plus reference manual for examples and further information

.ENDM

COMMEN.mac
.MACRO	COMMENT
COMMENT		Places comments inside command file		(TSX+ only)

  SYNTAX
	COMMENT comments

  SEMANTICS
	This command may be used to place comments inside command files.
	'comments' may be any string of characters.

  OPTIONS
	None

  EXAMPLES
	COMMENT This is to lock the user to the program

.ENDM

COMPIL.mac
.MACRO	COMPILE
COMPILE		Translates source programs

  SYNTAX
	COMPILE[/options] filespecs[/options]

  SEMANTICS
	To compile multiple files (up to six) into a single OBJ file,
	separate the files with plus (+) signs in the command line.
	Multiple files separated by commas (,) are compiled
	independently. You establish which compiler is invoked by
	specifying the compiler as a command or file option, by
	explicitly specifying the source file type, or by letting the
	system search for the file type.
	The default file types for output files are .LST for listing
	files and .OBJ for binary files. Default file types for input
	are .MAC for macro programs, .FOR for FORTRAN programs,
	and .DBL for DIBOL programs.

  OPTIONS
   ALLOCATE:size
	Reserves space for an output file
   ALPHABETIZE		DIBOL
	Alphabetizes the symbol table
   BUFFERING		DIBOL
	Causes compiler to use single buffered I/O
   CODE:type		FORTRAN
	Specifies the type of machine code to generate
   CROSSREFERENCE[:type[...:type]]	MACRO/DIBOL
	Generates a cross-reference table in the listing file
   DIAGNOSE		FORTRAN
	Expands compiler crash dump information
   DIBOL
	Uses the DIBOL compiler to translate the source files
   DISABLE:type[...:type]	MACRO
	Specifies a .DSABL directive
   ENABLE:type[...:type]	MACRO
	Specifies an .ENABL directive
   EXTEND		FORTRAN
	Enables 80-column source input
   FORTRAN
	Uses the FORTRAN compiler to translate source programs
   HEADER		FORTRAN
	Includes the "options-in-effect" header in the listing file
   I4			FORTRAN
	Allocates 4 bytes for single-precision integers
   LIBRARY		MACRO
	Identifies a file as a macro library file
   LINENUMBERS		DIBOL/FORTRAN	(default)
	Includes internal sequence numbers in the compiled program
   LIST[:filespec]
	Produces a listing file
   LOG[:filespec]	DIBOL
	Creates a log file of compiler error messages
   MACRO
	Uses the MACRO assembler to translate source programs
   NOLINENUMBERS	DIBOL/FORTRAN
	Suppresses internal sequence numbers in compiled programs
   NOOBJECT
	Suppresses output of the binary object file
      NOSHOW:value	MACRO
	Specifies an .NLIST directive
   NOSWAP		FORTRAN
	Causes a compiled program to keep the USR resident while
	running
   NOVECTORS		FORTRAN
	Specifies array access by multiplication operations
   NOWARNINGS		DIBOL/FORTRAN
	Suppresses warning messages during compilation
   OBJECT[:filespec]
	Specifies a file name for the object file
   ONDEBUG		DIBOL/FORTRAN
	Compiles D lines in FORTRAN; includes a symbol table in DIBOL
	binary output
   PAGE:n		DIBOL
	Sets listing page length (default = 66)
   RECORD:length	FORTRAN
	Alters the default record length for sequential ASCII
	formatted I/O
   SHOW:type		FORTRAN/MACRO
	Specifies a .LIST directive to MACRO; controls FORTRAN listing
	contents
   STATISTICS		FORTRAN
	Includes compilation statistics in the listing file
   SWAP			FORTRAN	(default)
	Causes a compiled program to swap the USR during execution
   TABLES		DIBOL
	Includes symbol and label tables in listing
   UNITS:n		FORTRAN
	Specifies the number of logical units that can be open at once
   VECTORS		FORTRAN	(default)
	Specifies array access by tabular lookup
   WARNINGS		DIBOL/FORTRAN
	Includes warning messages in the listing file

  EXAMPLES
	COMPILE/LIST MYPROG.FOR
	COMPILE/FORTRAN/LIST:FILE1.LST A+B
	COMPILE A.MAC/LIST,B.FOR
.ENDM

CONFIG.mac
.MACRO	CONFIG
CONFIG		Determine system configuration

  SYNTAX
	CONFIG [dev:]/option[/option...]

  SEMANTICS
	CONFIG is an unsupported program that lets you determine certain
	system characteristics. You can use the CONFIG program to determine
	whether a handler is installed, whether a certain location exists in a
	system, or whether the contents of a certain match a specific value.
		 
	To determine whether a handler is installed, type the following
	command:
		
		CONFIG dev:
		
	The variable dev: can be a physical or logical device name. If the
	handler is installed, USERRB (memory location 53 in system
	communications area) is set to 1 for success. If the handler is not
	installed, USERRB is set to 4 for error.
		 
	To check only physical device names (and ignore logical names), use
	the /P option:
		
		CONFIG dev:/P
		 
	For example, the following CONFIG command determines whether the LS
	handler is installed. Since the option /P is included in the command,
	CONFIG searches for only physical LS and not for devices whose logical
	name is LS.
		
		CONFIG LS:/P
		
	To check information about memory locations, type the following
	command:
		
		CONFIG /option[/option...]
		
	The variable option represents one or more of the allowed options.
	 
				-- NOTE --
		It is left to the user to determine which
		bits in USERRB have been set.
		 
  OPTIONS
   A:addr	Determines whether memory location addr exists. Useful
		for finding out how much memory a system includes. If
		a read of location addr succeeds, USERRB is set to 1.
		If a read causes a trap, USERRB is set to 10 (for
		severe error).
   B		Use with /A operations to perform a byte operation
		instead of a word operation.
   M:mask	Use with /A and /V:contents to test bits within the
		memory location specified with /A. The variable mask
		represents a bit mask that specifies which bits to
		test.
   P:dev	Forces device name to be considered only,	(RT-11 only)
		ignoring logical assignments.
   R:offset	Use with /A to specify locations based on an offset
		from the beginning of RMON (offset) rather than an
		actual memory address (addr).
   V:c		Use with /A to verify that the contents of the
		specified location equal the value contents. If the
		contents of the location match the value contents,
		USERRB is set to 1. If they do not match, USERRB is
		set to 4. If accessing the location causes a trap (the
		location does not exist), USERRB is set to 10.

  EXAMPLES
	The following command asks CONFIG to determine whether location 177776
	exists, and tests whether the high eight bits match the value 1040.
		      
	CONFIG /A:177776/V:104000/M:177400

.ENDM

COPY.mac
.MACRO	COPY
COPY		Copies files

  SYNTAX
	COPY[/options] input-filespecs[/options] output-filespec[/option]

  SEMANTICS
	The COPY command accepts up to six input file specifications
	but only one output file specification. It accepts wild cards
	in place of file names or file types.

  OPTIONS
   ALLOCATE:size
	Reserves space for an output file
   ASCII
	Copies files in ASCII mode, ignoring nulls and rubouts
   BEFORE:[dd:mmm:yy]
	Copies files created before the specified date (default is
	system date)
   BINARY
	Copies files in formatted binary mode
   BOOT[:dd]
	Copies bootstrap information from a monitor file to the boot
	blocks of a random access device;  use the optional device name
	if you are creating a volume to boot on a different device
	(for example, using an RX02 to create a floppy bootable on an
	RX01)
   CONCATENATE
	Combines several input files into a single output file
   DATE[:dd:mmm:yy]
	Copies only files with specified date. If the date is omitted,
	the system date is used
   DELETE
	Deletes input file after it has been successfully copied	
   DEVICE
	Copies the image of a device to another device, block for block
   DOS
	Specifies that a file is in RSTS/E or DOS-11 format
   END:n
	Specifies the last block of the device being read; must be used
	with /DEVICE and /START:n
   EXCLUDE
	Copies all files on a device except the ones you specify
   FILES
	Copies a volume image to or from a file on another device;
	must be used with /DEVICE
   IGNORE
	Ignores I/O errors during a copy operation
   IMAGE	(default)
	Copies files byte for byte, regardless of their content
   INFORMATION
	Treats "file-not-found" errors as informational, not fatal
   INTERCHANGE:n
	Specifies that a diskette file is in interchange format; n is
	the record length in characters
   LOG
	Lists on the terminal the names of the files copied
   MULTIVOLUME
	Copies files to multiple output volumes
   NEWFILES
	Copies only those files dated with the current system date
   NOLOG
	Suppresses the terminal log of copied files
   NOPROTECTION
	Removes protection status on output files
   NOQUERY
	Does not require confirmation before copying each file
   NOREPLACE
	Does not perform the copy operation if a file with the same
	name as the output file already exists on the output device
   OWNER:[nnn,nnn]
	Specifies the UIC for a file in DOS-11 format
   PACKED
	Specifies word-for-word transfers for PDP-11 files, EBCDIC
	format for interchange diskette files, and packed image format
	for PDP-10 files.
   POSITION:n
	Controls rewind when you copy files to or from magtape or
	cassette
   PREDELETE
	Deletes any duplicate files on the output device before
	performing the copy operation
   PROTECTION
	Sets protection status on output files
   QUERY
	Requires user confirmation before copying each file
   REPLACE	(default)
	Deletes any duplicate files on the output device after the
	copy completes.
   RETAIN
	Used with /DEVICE to preserve output volume's bad block
	replacement table.
   SETDATE[:dd:mmm:yy]
	Sets the creation date of transferred files to the specified
	date. If the date is omitted, the system date is used
   SINCE[:dd:mmm:yy]
	Copies only files created on or after the specified date. If
	the date is omitted, the system date is used
   SLOWLY
	Transfers files one block at a time
   START:n
	Specifies the starting block number of the non-file structured
	volume being read or written; must be used with /DEVICE
   SYSTEM
	Copies .SYS files if wild cards are included in input filespec
   TOPS
	Specifies that the input file is on a DECsystem-10 formatted
	DECtape.
   VERIFY
	Reads, writes, and then rereads and compares the input and output
	transfers
   WAIT
	Waits for user response before starting the copy operation;
	must be used when the system volume is replaced with a data
	volume

  EXAMPLES
	COPY A.FOR DX1:B.FOR
	COPY/BOOT RK1:RT11SJ RK1:
	COPY A.FOR+B.FOR C.FOR
	COPY A%B.MAC DX0:*.MAC
	COPY/ASCII MTA1.FOR DT1:TEST.FOR/ALLOCATE:50
	COPY/SINCE:1:JAN:84 *.MAC *.JAN
.ENDM

CREATE.mac
.MACRO	CREATE
CREATE		Creates a file at a specific block address
		or extends existing files

  SYNTAX
	CREATE[/options] filespec[/options]

  SEMANTICS
	Filespec is the device name, file name, and file type of the
	file to create or extend

  OPTIONS
   ALLOCATE:size
	Specifies the number of blocks to allocate to the created file;
	must follow the filespec
   EXTENSION:n
	Extends the specified existing file by n blocks if possible
   START:block
	Specifies the starting block on the device of the created file

  EXAMPLES
	CREATE DX1:SWAP.SYS/START:6/ALLOCATE:25.
	CREATE/EXTENSION:100 FILE.DAT
.ENDM

D.mac
.MACRO	D
D		Deposits values in memory

  SYNTAX
	D address=value[,...value]

  SEMANTICS
	The system deposits the octal values in memory, starting at the
	specified address offset by the current base.  Each value
	deposited replaces a full word.

  OPTIONS
	None

  EXAMPLES
	D 300=0
	D 1000=5020,776
.ENDM

DATE.mac
.MACRO	DATE
DATE		Sets or displays the current system date

  SYNTAX
	DATE[ dd-mmm-yy]

  SEMANTICS
	All numeric values are decimal; mmm represents the first three
	characters of the name of the month.

  OPTIONS
	None

  EXAMPLES
	DATE 12-MAR-84
.ENDM

DEALLO.mac
.MACRO	DEALLOCATE
DEALLOCATE	Releases a device previously allocated		(TSX+ only)

  SYNTAX
	DEALLOCATE[/ALL] dev[,dev...]

  SEMANTICS
	DEALLOCATE releases a device previously allocated for exclusive
	access. This allows other users to access the device. Individual
	devices may be DEALLOCATEd from the primary line or any associated
	virtual line by specifying the device name in the argument list.
	Logical names may be used. If no device list is given all devices
	allocated by that line are deallocated.

  OPTIONS
   ALL
	equivalent to DEALLOCATE without device list, deallocates all devices
	allocated by the line

  EXAMPLES
	DEALLOCATE XL
	DEALLOCATE DY0

.ENDM

DEASSI.mac
.MACRO	DEASSIGN
DEASSIGN	Removes logical device name assignments

  SYNTAX
	DEASSIGN[ logical-device-name]

  SEMANTICS
	The DEASSIGN command without an argument disassociates all
	logical names from all physical devices.

  OPTIONS
	None

  EXAMPLES
	DEASSIGN INP:
	DEASSIGN

.ENDM

DEBUG.mac
.MACRO	DEBUG
DEBUG		TSX-plus Program Debugging Facility

  INVOKATION
	The TSX-plus debugging facility can be invoked by:

	 Initiating a program with the "RUN/DEBUG" keyboard command

	 Enabling <control_D> break with the "SET CTRLD DEBUG" command
	 and typing <control_D> during program execution

  COMMANDS
   address/	Display the contents of the addressed word
   address\	Display the contents of the addressed byte
   address[	Display the contents of the addressed cell as an instruction
   address]	Display the next instruction
   @		Open the cell whose address is in the currently open cell
   _		Open the cell whose relative address is in the current cell
   X		Display the contents of the current cell in RAD50
   value<CR>	Store the value in the current cell
   value<LF>	Store the value and advance to the next cell
   value<^>	Store the value and backup to the previous cell
   <BACKSPACE>	Equivalent to "^"
   address;G	Begin program execution at address
   value<TAB>	Execute a single instruction
   ;nS		Set/reset single step mode
   address;nB	Set an instruction breakpoint at address
   repeat;P	Proceed from breakpoint through repeat breakpoints
   address;valM	Set a watchpoint for address taking on value
   address;nR	Set relocation base register "n" (0-7) to address
   nR		Display contents of current cell relative to relocation reg n
   n!		Display the current address relative to relocation register n

  REGISTERS
   $0 - $5	Registers 0 - 5
   $6		Register 6 - stack pointer (SP)
   $7		Register 7 - program counter (PC)
   $S		Processor Status Word
   $M		Watchpoint Mask Register
   $F		Print format control register
   $B		Start of Instruction Breakpoint registers
   $R		Start of Relocation registers

.ENDM

DEFINE.mac
.MACRO	DEFINE
DEFINE KEY	Defines a TSX-plus terminal key substitution string

  SYNTAX
	DEFINE KEY[/options] key "string"

  SEMANTICS
	User defined keys cause a specified string to be substituted for a
	named key when that key is typed under TSX-plus.

  OPTIONS
   ECHO/NOECHO
	Specifies if the substitution string will be displayed on the terminal
   TERMINATE/NOTERMINATE
	Specifies if a CR and LF are appended to the substitution string
   GOLD/NOGOLD
	Specifies if the defined key must be prefixed with the gold (PF1) key
   LETTER
	Specifies that the key being defined is not a function key

  EXAMPLES
	DEFINE KEY PF2 "SHOW TIME"
	DEFINE KEY/NOTERMINATE KP0 "^U"
.ENDM

DELETE.mac
.MACRO	DELETE
DELETE		Removes files from a device or queue

  SYNTAX
	DELETE[/options] filespecs

  SEMANTICS
	This command deletes the files you specify from the device
	or from the queue manager queue.
	The DELETE command accepts wild cards in place of a file name
	or file type.
	CAUTION! "DELETE DT:A.MAC,B.FOR" deletes DT:A.MAC and DK:B.FOR,
	not DT:B.FOR.

  OPTIONS
   BEFORE[:dd:mmm:yy]
	Deletes only files created before the specified creation date
	If the date is omitted, the system date is used
   DATE[:dd:mmm:yy]
	Deletes only files with the specified creation date. If the date
	is omitted, the system date is used
   DOS
	Deletes files you specify from a DOS-11 or RSTS/E DECtape
   ENTRY
	Deletes an entry (job) from the queue (does not delete a file)
   EXCLUDE
	Deletes all files except the ones you specify
   INFORMATION
	Treats "file-not-found" errors as informational, not fatal
   INTERCHANGE
	Deletes a file from an interchange format diskette
   LOG
	Lists on the terminal the names of the files deleted
   NEWFILES
	Deletes only those files dated with the current system date
   NOQUERY
	Does not require confirmation before deleting files. This is
	the default if there are no wild cards in the file specification(s)
   POSITION:n
	Directs cassette tape operations
   QUERY
	Requires confirmation before deleting each file. This is the default
	if there are wild cards in the file specification(s).
   SINCE[:dd:mmm:yy]
	Deletes only files created on or after the specified date. If
	the date is omitted, the system date is used.
   SYSTEM
	Deletes .SYS files
   WAIT
	Waits for you to change volumes before proceeding with the
	delete operation.

  EXAMPLES
	DELETE MYPROG.OBJ
	DELETE/EXCLUDE DX0:*.SAV
	DELETE/NEWFILES DX1:*.*
.ENDM

DETACH.mac
.MACRO	DETACH
DETACH		Executes command file as detached job		(TSX+ only)

  SYNTAX
	DETACH filespec
	DETACH/option line-number

  SEMANTICS
	The file (default device SY:) is executed as a command file on a free
	detached-job line. No warning is given if the file is not found.
	The DETACH command itself and the command file that runs do not
	inherit any logical device assignments. For example the filespec
	cannot use a logical device name (like DK:). Also the command file
	cannot be on a logical disc (LDn:).
	The options are used to check the status of or abort a detached job on
	the specified line.

  OPTIONS
   CHECK
	Determines if a job is executing on the line.
   KILL
	Aborts a detached job executing on the line.

  EXAMPLES
	DETACH CRUNCH
	DETACH/CHECK 12
	DETACH/KILL 15

.ENDM

DIBOL.mac
.MACRO	DIBOL
DIBOL		Invokes the DIBOL language compiler

  SYNTAX
	DIBOL[/options] filespecs

  SEMANTICS
	Separate multiple source files by plus (+) signs in the command
	line to compile them into a single OBJ file.  Multiple files
	separated by commas (,) are compiled independently.
	Default file types are .DBL for input, .LST for listing output,
	and .OBJ for binary output.

  OPTIONS
   ALLOCATE:size
	Reserves space for an output file
   ALPHABETIZE
	Alphabetizes the symbol table
   BUFFERING
	Causes compiler to use single buffered I/O
   CROSSREFERENCE
	Generates a cross-reference table in the listing file
   LINENUMBERS	(default)
	Includes internal sequence numbers in the compiled program
   LIST[:filespec]
	Produces a listing file
   LOG[:filespec]
	Creates a log file of compiler error messages
   NOLINENUMBERS
	Suppresses internal sequence numbers in compiled programs
   NOOBJECT
	Suppresses output of the binary object file
   NOWARNINGS
	Suppresses warning messages during compilation
   OBJECT[:filespec]
	Specifies a file name for the object file
   ONDEBUG
	Includes a symbol table in the binary output for debugging
	purposes
   PAGE:n
	Sets listing page length (default = 66)
   TABLES
	Includes symbol and label tables in listing
   WARNINGS	(default)
	Includes warning messages in the listing file

  EXAMPLES
	DIBOL/LIST A
	DIBOL A+B/LIST/OBJECT
	DIBOL B/LIST,C/NOOBJECT/LIST

.ENDM

DIFFER.mac
.MACRO	DIFFERENCES
DIFFERENCES	Compares two files and lists the differences

  SYNTAX
	DIFFERENCES[/options] oldfile,newfile

  SEMANTICS
	Oldfile and newfile are the files to be compared. The file
	named in oldfile shows up as file 1 in the differences
	listing. The default file types are .MAC for input, and
	.DIF for output.

  OPTIONS
   ALLOCATE:size
	Reserves space for an output file
   ALWAYS
	Always produces an output file after a binary comparison, even
	if there were no differences
   AUDITTRAIL
	Includes an audit trail in the output file; valid only with
	the /SLP option
   BINARY
	Compares binary files
   BLANKLINES
	Includes blank lines in the comparison
   BYTES
	Does binary comparison byte by byte, rather than word by word
   CHANGEBAR
	Includes a changebar character on lines in the output file that
	differ from the first input file
   COMMENTS	(default)
	Includes assembly language comments in the comparison
   DEVICE
	Compares contents of two entire volumes, beginning at block zero.
   END:n
	Specifies the ending block in the file for a binary comparison
   FORMFEED
	Includes formfeeds in the output listing
   MATCH:n
	Specifies the number of lines that must agree to constitute
	a match
   NOCOMMENTS
	Excludes assembly language comments from the comparison
   NOSPACES
	Excludes spaces and tabs from the comparison
   NOTRIM
	Includes trailing spaces and tabs in the comparison
   OUTPUT[:filespec]
	Specifies the file name for the differences listing file
   PRINTER
	Prints the differences listing on the line printer
   QUIET
	Prints only a summary message for a binary comparison
   SIPP:filnam.typ
	Specifies the name of the file to contain the SIPP commands
	that would change oldfile to newfile.
	(binary comparison only)
   SLP:filnam.typ
	Specifies the name of the file to contain the SLP commands
	that would change oldfile to newfile.
	(source comparison only)
   SPACES	(default)
	Includes spaces and tabs in the comparison
   START:n
	Specifies the starting block in the file for a binary comparison
   TERMINAL	(default)
	Types the differences listing on the terminal
   TRIM		(default)
	Excludes trailing spaces and tabs from the comparison

  EXAMPLES
	DIFFERENCES FILE1.TXT,FILE2.TXT
	DIFFERENCES/MATCH:1/OUTPUT:DIFF.TXT FILE1.TXT,FILE2.TXT
	DIFFERENCES/SLP:FILE12.DIF FILE1.MAC,FILE2.MAC

.ENDM

DIRECT.mac
.MACRO	DIRECTORY
DIRECTORY	Lists device or file directories

  SYNTAX
	DIRECTORY[/options] [ filespecs[/BEGIN]]

  SEMANTICS
	This command generates a listing of the directory you specify.
	The default is a directory of the device DK:.
	Specify only one input device. You can use wild cards in a file
	specification. The default file type for output is .DIR.

  OPTIONS
   ALLOCATE:size
	Use with /OUTPUT to reserve space for the output listing file
   ALPHABETIZE
	Sorts the directory in alphabetical order by file name and type
   BACKUP
	Lists the directory of a backup volume created by the BUP utility
   BADBLOCKS
	Scans the device for bad blocks and displays their block number(s).
   BEFORE[:dd:mmm:yy]
	Lists the files created before the specified date. If the date
	is omitted, the system date is used
   BEGIN
	Lists the directory, starting with the file you specify
   BLOCKS
	Lists the starting block numbers of the files
   BRIEF
	Lists only file names and file types of files; same as /FAST
   COLUMNS:n
	Specifies the number of columns in the directory listing
   DATE[:dd:mmm:yy]
	Lists the files created on the date you specify. If the date
	is omitted, the system date is used
   DELETED
	Lists a directory of file names that have been deleted
   DOS
	Lists the directory of a DOS-11 or RSTS/E volume
   END:n
	Specifies the ending block of the bad block scan; valid only
	with the /BADBLOCKS option
   EXCLUDE
	Lists all files except those you specify
   FAST
	Lists only file names and file types of files; same as /BRIEF
   FILES
	Prints the name of each file in which a bad block is found;
	valid only with the /BADBLOCKS option
   FREE
	Lists unused areas
   FULL
	Lists the entire directory, including unused areas
   INTERCHANGE
	Lists the directory of an interchange format diskette
   NEWFILES
	Lists only those files dated with the current system date
   NOPROTECTION
	Lists only those files which are not protected against deletion
   OCTAL
	Lists file sizes and starting block numbers in octal
   ORDER[:category]
	Orders the directory listing according to the category
	you specify; same as /SORT. Categories are:
		DATE- orders by creation date
		NAME- orders alphabetically by file name
		POSITION- orders by file position on the device
		SIZE- orders by file size
		TYPE- orders alphabetically by file type
   OUTPUT:filespec
	Outputs the directory listing to the file you specify
   OWNER:[nnn,nnn]
	Specifies the UIC of the directory to be listed; valid only
	with the /DOS option
   POSITION	(default)
	Outputs the directory in the physical order in which the
	files reside on the device.
   PRINTER
	Outputs the directory to the device currently assigned "LP:"
   PROTECTION
	Lists only the files that are protected against deletion
   REVERSE
	Reverses the order of any directory sort in effect
   SINCE[:dd:mmm:yy]
	Lists files created on or after the date you specify. If the
	date is omitted, the system date is used
   SORT[:category]
	Orders the directory listing according to the category
	you specify; same as /ORDER
   START:n
	Specifies the starting block number of the bad block scan;
	valid only with the /BADBLOCKS option
   SUMMARY
	Lists the segment structure of the directory you specify
   TERMINAL	(default)
	Lists the directory on the terminal
   TOPS
	Lists the directory of a DECsystem-10 formatted	DECtape.
   VOLUMEID[:ONLY]
	Prints the disk or magtape volume ID and owner name; if :ONLY
	is not present, also lists the directory
   WAIT
	Waits for you to change volumes before proceeding with the
	directory operation.

  EXAMPLES
	DIRECTORY
	DIRECTORY/BADBLOCKS RK1:
	DIRECTORY MYPROG.MAC
	DIRECTORY/FULL/BEFORE:12:APR:84 DK:
	DIRECTORY/EXCLUDE DX0:(*.SAV,*.SYS)
	DIRECTORY/SINCE:1:JAN:84

.ENDM

DISMOU.mac
.MACRO	DISMOUNT
DISMOUNT	Removes a logical subset disk from the mount tables

  SYNTAX
	DISMOUNT dev

  SEMANTICS
	If device-name is a physical device or a logical name for a physical
	device, the current job's entry is removed from the mount table for
	that device. If no other jobs have mounted the device, directory/data
	caching for that device is stopped.

	If device-name is a logical subset disk device (LD0-LD7 or a logical
	name assigned to them), directory/data caching for the device is
	stopped and the device is removed from the user's logical subset disk
	tables.

	If no unit number is specified unit 0 is assumed. Files on the device
	may still be accessed. When one user dismounts a device it is
	dismounted for all users. An automatic dismount is done when an INIT
	or SQUEEZE is done on that device.

  OPTIONS
	None

  EXAMPLES
	DISMOUNT RK0
	DISMOUNT LD0

.ENDM

DISPLA.mac
.MACRO	DISPLAY
DISPLAY		Displays a line of text from a command file	(TSX+ only)

  SYNTAX
	DISPLAY comments

  SEMANTICS
	The DISPLAY command is used within a command file to cause a line
	of text to be displayed on the terminal. 'comments' can be any text
	string to be displayed on the terminal.

  OPTIONS
	None

  EXAMPLES
	DISPLAY The system backup is now complete

.ENDM

DUMP.mac
.MACRO	DUMP
DUMP		Prints formatted data dumps of files or devices

  SYNTAX
	DUMP[/options] filespec

  SEMANTICS
	Filespec represents the device or file to be dumped.
	The default file type for output files is .DMP.

  OPTIONS
   ALLOCATE:size
	Reserves space for an output file
   ASCII	(default)
	Prints the ASCII equivalent of each word or byte dumped
   BYTES
	Displays the dumped information as octal bytes
   END:block
	Specifies the last block to be dumped
   FOREIGN
	Indicates that a magtape does not contain an RT-11 file
	structure
   IGNORE
	Dumps a file that contains a disk error
   NOASCII
	Suppresses output of ASCII equivalents of the data dumped
   ONLY:block
	Dumps only the block you specify
   OUTPUT:filespec
	Outputs the dump listing to the file you specify
   PRINTER	(default)
	Outputs the dump listing to the line printer
   RAD50
	Prints the RAD50 equivalent of each word dumped
   START:block
	Specifies the first block to be dumped
   TERMINAL
	Types the dump listing on the terminal
   WORDS	(default)
	Displays the dump information as octal words

  EXAMPLES
	DUMP A.OBJ
	DUMP/OUTPUT:MACLIB/BYTES/ONLY:1 SYSMAC.MAC
	DUMP/NOASCII/RAD50/ONLY:6 RK0:
.ENDM

E.mac
.MACRO	E
E		Prints the contents of memory on the terminal

  SYNTAX
	E address[-address]

  SEMANTICS
	Prints in octal the values of the words in the specified
	address range, offset by the current base.

  OPTIONS
	None

  EXAMPLES
	E 1000
	E 2000-2076
.ENDM

EDIT.mac
.MACRO	EDIT
EDIT		Invokes the text editor

  SYNTAX
	EDIT[options] filespec[/ALLOCATE:size]

  SEMANTICS
	If you do not specify an option, an Edit Backup for the
	file you specify is assumed.
	/CREATE performs an Edit Write for the file.
	/INSPECT performs an Edit Read for the file.
	EDIT/OUTPUT:B A is equivalent to an Edit Read on file A
	and an Edit Write for file B.

  OPTIONS
   ALLOCATE:size
	Reserves space for an output file
   CREATE
	Creates a new file with the name you specify
   EDIT
	Invokes the EDIT editor; this is the default.
   EXECUTE:filespec
	Executes the TECO commands contained in the file; use with /TECO
	[Under TSX /TECO is implied; under RT it must be specified unless
	SET EDIT TECO is set]
   INSPECT
	Opens the file you specify for reading only
   KED
	Invokes the KED editor
   KEX
	Invokes the XM (virtual) version of the KED editor
   K52
	Invokes the VT52 version of the KED editor
   OUTPUT:filename
	Opens the file you specify for output of the edited text
   TECO
	Invokes the TECO editor

  EXAMPLES
	EDIT FILE
	EDIT/CREATE FILE.NEW
	EDIT/INSPECT FILE.OLD
	EDIT/OUTPUT:A B
	EDIT FILE/ALLOCATE:150
.ENDM

EMT.mac
.MACRO	EMT
EMT		Description of TSX-plus specific EMTs

	EMT  Code Chan	Name	Description
	---  ---- ----  ------	----------------------------------

	375  101	UNLALL	Unlock all blocks
	375  102	LOCKW	Wait for locked block
	375  103	TLOCK	Try to lock a block
	375  104	SNDMSG	Send a message on named channel
	375  105	GETMSG	Get message from named channel
	375  106	WATMSG	Wait for message on named channel
	375  106    1		Completion read of message on named channel
	375  107    0	SPLFRE	Get number of free spool blocks
	375  110    0	TSXLN	Get line number
	375  111  0/1	ACTODT	Reset/set ODT activation mode
	375  113	UNLOCK	Unlock a block
	375  114    0	TTOBLK	Send a block of text to terminal
	375  115    0	TTIBLK	Get block of text from terminal
	375  116    0	CKTTIE	Check for terminal input errors
	375  117    0	SETTTO	Set terminal read time-out

	375  120  0/1	HIEFF	Reset/set high efficiency mode
	375  121	CKWSHR	Check for writes to shared file
	375  122	SAVSHR	Save shared file information
	375  123    0	CKACT	Check for activation characters
	375  125	SHRFIL	Declare file for shared access
	375  127    0	SEND	Send message to another line

	375  132    0	STRTDJ	Start a detached job
	375  132    1	STATDJ	Check detached job status
	375  132    2	ABRTDJ	Abort a detached job
	375  133    0	DCLBRK	Establish break sentinel control
	375  133    1	TTICPL	Set terminal input completion routine
	375  134    0	MOUNT	Mount a directory structure
	375  135    0	DISMNT	Dismount a directory structure
	375  136    0	INITPA	Initiate performance analysis
	375  136    1	STRTPA	Start monitoring performance
	375  136    2	STOPPA	Stop monitoring performance
	375  136    3	HALTPA	Terminate performance analysis
	375  137    0	TTYPE	Get terminal type

	375  140    0	PHYADD	Convert virtual to physical address
	375  140    1	PEEKIO	Peek into the I/O page
	375  140    2	POKEIO	Poke into the I/O page
	375  140    3	BISIO	Bit-set into the I/O page
	375  140    4	BICIO	Bit-clear into the I/O page
	375  140    5	MAPIOP	Map PAR7 to the I/O page
	375  140    6	MAPMON	Map PAR7 to simulated RMON
	375  140    7	LOKLOW	Lock job into lowest memory
	375  140   10	UNLOKJ	Unlock job from memory
	375  140   11	ATTVEC	Attach to interrupt vector
	375  140   12	RELVEC	Release interrupt vector
	375  140   13	LOKJOB	Lock job without re-positioning
	375  140   14	STEALS	Get exclusive system access
	375  140   15	RTURNS	Relinquish exclusive system access
	375  140   16	SETPRI	Set user mode priority level
	375  140   17	MAPPHY	Map to physical memory
	375  140   20	ATTSVC	Attach interrupt service routine
	375  140   21	SCHCMP	Schedule completion routine

	375  141    0	MEMTOP	Control size of job
	375  143    0	USERTS	Associate with run-time system
	375  143    1	MAPRTS	Map run-time system into job
	375  144    0	JSTAT	Get job status information
	375  145	FILINF	Get file directory information
	375  146	SFTIM	Set file creation time
	375  147  0/1	GSUNAM	Get/set user name

	375  150    0	SETPRI	Set job execution priority
	375  151  	SPHOLD	Set spooler HOLD/NOHOLD
	375  152    0	SELOPT	Select terminal option
	375  153    0	NONINT	Set [non]interactive job status
	375  154    0	STTSPD	Set the baud rate for a line
	375  155    0	GETCL	Assign a CL unit to a line
	375  156  0/1	ALCDEV	Allocate/deallocate a device for exclusive use
	375  156    2	TSTALC	Test device exclusive use allocation
	375  157  0/1	MONJOB	Establish/cancel job status monitoring
	375  157    2	STAMON	Broadcast job status change

	375  160    0	GETCXT	Acquire another job's file context
	375  161    0	MAKWIN	Create a refreshable process window
	375  161    1	SELWIN	Select current process window
	375  161    2	DELWIN	Delete a process window
	375  161    3	SPNWIN	Suspend window processing
	375  161    4	RSMWIN	Resume window processing
	375  161    5	PRTWIN	Print window contents (via WINPRT)

.ENDM

EXECUT.mac
.MACRO	EXECUTE
EXECUTE		Translates, links, and runs a program with one command

  SYNTAX
	EXECUTE[/options] filespecs[/options]

  SEMANTICS
	To compile multiple files (up to six) into a single OBJ file,
	separate the files with plus (+) signs in the command line.
	Multiple files separated by commas (,) are compiled
	independently. You establish which compiler is invoked by
	specifying the compiler as a command or file option, by
	explicitly specifying the source file type, or by letting the
	system search for the file type.
	The default file types for output are .LST for listing
	files, .MAP for load map files, .OBJ for binary output
	files, and .SAV for memory image files. Default file types
	for input are .MAC for macro programs, .FOR for FORTRAN
	programs, and .DBL for DIBOL programs.
				  
	Under TSX-Plus the default file types for input include .CBL for
	COBOL-Plus which have a default .CBL for binary output files.

  OPTIONS
   ALLOCATE:size
	Reserves space for an output file
   ALPHABETIZE		DIBOL
	Alphabetizes the symbol table
   BOTTOM:n
	Specifies the lowest address to be used in the linked program
   BUFFERING		DIBOL
	Causes compiler to use single buffered I/O
   CODE:type		FORTRAN
	Specifies the type of machine code to generate
   CROSSREFERENCE[:type[...:type]]	MACRO/DIBOL
	Generates a cross-reference table in the listing file
   DEBUG[:filespec]
	Links ODT (or the specified file) with the program as a
	debugging aid
   DIAGNOSE		FORTRAN
	Expands compiler crash dump information
   DIBOL
	Uses the DIBOL compiler to translate the source files
   DISABLE:value[...:value]	MACRO
	Specifies a .DSABL directive
   DUPLICATE
	Allows multiple copies of library/user routines in overlays
   ENABLE:value[...:value]	MACRO
	Specifies an .ENABL directive
   EXECUTE[:filespec]
	Specifies the name of the memory image file
   EXTEND		FORTRAN
	Enables 80-column source input
   FORTRAN
	Uses the FORTRAN compiler to translate source programs
   GLOBAL
	Includes crossreference listing of global symbols in link map
   HEADER		FORTRAN
	Includes the "options-in-effect" header in the listing file
   I4			FORTRAN
	Allocates 4 bytes for single-precision integers
   LIBRARY		MACRO
	Identifies a file as a macro library file
   LINENUMBERS		DIBOL/FORTRAN	(default)
	Includes internal sequence numbers in the compiled program
   LINKLIBRARY:filespec
	Includes the library you specify during the LINK operation.
   LIST[:filespec]
	Produces a listing file
   LOG[:filespec]	DIBOL
	Creates a log file of compiler error messages	
   MACRO
	Uses the macro assembler to translate source programs
   MAP[:filespec]
	Produces a load map
   NOLINENUMBERS	DIBOL/FORTRAN
	Suppresses internal sequence numbers in compiled programs
   NOOPTIMIZE[:type]	FORTRAN
	Disables a specific optimization
   NORUN
	Prevents program execution after the link operation completes
   NOSHOW:value	MACRO
	Specifies an .NLIST directive
   NOSWAP		FORTRAN
	Causes a compiled program to keep the USR resident
	during execution
   NOVECTORS		FORTRAN
	Specifies array access by multiplication operations
   NOWARNINGS		DIBOL/FORTRAN
	Suppresses warning messages during compilation
   OBJECT[:filespec]
	Specifies a file name for the object file
   ONDEBUG		DIBOL/FORTRAN
	Compiles D lines in FORTRAN; includes a symbol table in DIBOL
	binary output
   OPTIMIZE[:type]	FORTRAN
	Enables a specific optimization
   PAGE:n		DIBOL
	Sets the listing page length (default = 66)
   PASS:1		MACRO
	Specifies a file as a prefix macro or conditional file
   RECORD:length	FORTRAN
	Alters the default record length for sequential ASCII
	formatted I/O
   RUN		(default)
	Starts the program after the link operation completes
   SHOW:value		FORTRAN/MACRO
	Specifies a .LIST directive to MACRO; controls FORTRAN listing
	contents
   STATISTICS		FORTRAN
	Includes compilation statistics in the listing file
   SWAP			FORTRAN	(default)
	Causes a compiled program to swap the USR during execution
   UNITS:n		FORTRAN
	Specifies the number of logical units that can be open at once
   VECTORS		FORTRAN	(default)
	Specifies array access by tabular lookup
   WARNINGS		DIBOL/FORTRAN
	Includes warning messages in the listing file
   WIDE
	Produces a load map that is 132 columns wide

  EXAMPLES
	EXECUTE MYPROG.FOR
	EXECUTE RTN1,RTN2,MYPROG/EXECUTE
	EXECUTE A+B/LIST/OBJECT,MYLIB/LIBRARY+C.MAC/LIST/OBJECT
	EXECUTE/NORUN/FORTRAN/LIST:FILE1 A+B

.ENDM

F10.mac
.MACRO	F10
F10		Escape sequences for F10 daisy-wheel printer

  SYNTAX
	Sequences have no embedded spaces (only used here for clarity).
	Characters <##> are OCTAL control codes.
	Parameters P? are strings of one or two decimal characters.
	Parameters Q? are binary numbers.
	Parameters R? are ASCII sequences defined in the F10 manual.

  CARRIAGE movement
	ESC D		Half line feed back (paper down)
	ESC U		Half line feed forward
	ESC <12>	Line feed back (paper down)
	ESC H Rn	Move carriage horizontally by Rn * 1/120 inch
	ESC V Rn	Move carriage vertically   by Rn * 1/48 inch
	ESC C Pn	Move to column Pn
	ESC <11> Qn	Move to column Qn
	ESC P Pn	Move to line Pn
	ESC <13> Qn	Move to line Qn

  CHARACTERS
	ESC <40>	Print "pound" symbol
	ESC /		Print "bent backslash" symbol
	ESC N		Inhibit automatic spacing on next character

  FORM length
	ESC F Pn	Set form length to Pn lines

  MARGIN
	ESC 9		Set left margin at current column

  MODE
	ESC G		Set graphic print mode on ( 1/120 * 1/48 resolution )
	ESC 3		Set graphic print mode on (  1/60 * 1/48 resolution )
	ESC 4		Cancel graphic print mode
	ESC 5		Set forward print mode
	ESC 6		Set backward print mode
	ESC <16>	Enter program mode
	ESC <17>	Exit program mode
	ESC I		Proportional space on
	ESC J		Proportional space off
	ESC _		Automatic underscore on
	ESC R		Automatic underscore off
	ESC O		Bold overprint on
	ESC W		Shadow print on
	ESC &		Bold/shadow print off

  PITCH
   HORIZONTAL
	ESC E Pn	Set horizontal spacing pitch to Pn * 1/120 inch
	ESC <37> Qn	Set horizontal spacing pitch to Qn * 1/120 inch
   VERTICAL
	ESC L Pn	Set LF spacing pitch to Pn * 1/48 inch
	ESC <36> Qn	Set LF spacing pitch to Qn * 1/48 inch

  RESET
	ESC <32> 1	Reset to power-up state

  TABS
	ESC 1		Set horizontal tab stop at current column
	ESC 2		Clear all horizontal tab stops
	ESC 8		Clear horizontal tab stop at current column
	ESC ( Pn,Pn	Set horizontal tabs at columns Pn , Pn
	ESC ) Pn,Pn	Clear horizontal tabs at columns Pn , Pn

.ENDM

FORM.mac
.MACRO	FORM
FORM		Specifies the default form for spool files	(TSX+ only)

  SYNTAX
	FORM name

  SEMANTICS
	The FORM command takes a name of one to six characters to specify
	the default form to be used for subsequent spool files generated by
	the user. The initial default form for each user is STD.

  OPTIONS
	None

  EXAMPLES
	FORM 2-PART
	COMPILE/LIST TEST
	FORM STD

.ENDM

FORMAT.mac
.MACRO	FORMAT
FORMAT		Formats and/or verifies a volume		(RT-11 only)

  SYNTAX
	FORMAT[/options] filespec

  SEMANTICS
	Filespec is the name and unit number of the device to be
	formatted or checked.  No file name or type is allowed.

  OPTIONS
   NOQUERY
	Does not require confirmation before beginning the formatting
	or verifying operation.
   PATTERN[:value]
	Selects the patterns to use during pattern checking
   QUERY	(default)
	Requires confirmation before beginning the initialization
   SINGLEDENSITY
	Requests that an RX02 diskette be formatted as a single density
	volume
   VERIFY[:ONLY]
	Does pattern checking on the volume after formatting it;
	does not format if ONLY is included
   WAIT
	Waits for you to change volumes before proceeding with the
	formatting or verifying operation.

  EXAMPLES
	FORMAT RK0:/VERIFY/PATTERN:7
	FORMAT DY0:/SINGLEDENSITY/WAIT

.ENDM

FORTRA.mac
.MACRO	FORTRAN
FORTRAN		Invokes the FORTRAN language compiler

  SYNTAX
	FORTRAN[/options] filespecs[/options]

  SEMANTICS
	To compile multiple files (up to six) into a single OBJ file,
	separate the files with plus (+) signs in the command line.
	Multiple files separated by commas (,) are compiled
	independently.
	The default file types for output are .LST for listing files
	and .OBJ for binary output. The default input file type
	is .FOR.

  OPTIONS
   ALLOCATE:xxx  -
			Used after the /OBJECT or /LIST option to
			guarantee space for a maximum file size of n blocks
   CODE:xxx	/I:xxx	Selects type of object code to be generated:
				EAE	selects EAE hardware
				EIS	selects EIS hardware
				FIS	selects EIS and FIS hardware
				THR	selects threaded code
   DIAGNOSE	/B	Enables expanded listings of compiler
			diagnostic information
   EXTEND	/E	Accept source input in columns 73-80
   HEADER	/O	Includes the "options-in-effect" header in the listing
   I4		/T	Default to two word integers (I*4). However only one
			word is used
   LINENUMBERS	 -	Include ISNs for routine diagnostics (default)
   LIST:filespec -	Generate a listing file (default is LP:). If specified
			on filspec default is DK:filespec.LST
   NOLINENUMBERS/S	Suppress generation of Internal Sequence Numbers
   NOOBJECT	 -	Does not produce an object module
   NOSWAP	/U	Disable USR swapping at runtime
   NOVECTORS	/V	Suppress array vectoring of multi-dimensional
			arrays. Specifies array access by multiplication
			operations.
   NOWARNINGS	 -	Suppresses warning messages in listing file during
			compilation
   OBJECT:file   -	Produce an object file (default) with specified name
   ONDEBUG	/D	Compile lines with a D in column one
   RECORD:n	/R:n	Specify maximum record length (4 <= n <= 4095)
   SHOW:n	/L:n		Specify listing options:
				0		list diagnostics
						only
				1 or SRC	list source and
						diagnostics only
				2 or MAP	list storage map
						and diagnostics only
				4 or COD	list generated code
						and diagnostics only
				7 or ALL	list source, map, code,
						and diagnostics
   STATISTICS	/A	Print compilation statistics
   SWAP		 -	Allow USR to swap over FORTRAN program (default)
   UNITS:n	/N:n	Allow a maximum of n runtime I/O channels open
			simultaneously (1 <= n <= 15)
   VECTORS	 -	Allow array vectoring (default)
   WARNINGS	/W	Enable compiler warning diagnostics in listing file
   -		/H	Print this text
   -		/Q	Disable logging of program units
   -		/X:xxx	Cross compile for indicated system:
				RT	selects RT11
				RST	selects RSTS/E
				RSX	selects RSX
   -		/Z	Cause pure code and data sections to
			take RO attribute

  EXAMPLES
	FORTRAN/LIST MYPROG
	FORTRAN/LIST:FILE2 A+B
	FORTRAN A+B/LIST,C/NOOBJECT/LIST

.ENDM

FRUN.mac
.MACRO	FRUN
FRUN		Loads and starts a foreground program		(RT-11 only)

  SYNTAX
	FRUN filespec[/options]

  SEMANTICS
	Filespec is the name of the relocatable file to be run as the
	foreground job. The default file type is .REL.

  OPTIONS
   BUFFER:n
	Reserves n words in memory over and above normal program size
   NAME:jobname
	Assigns the specified logical job name to the job;  system job
	monitors only
   PAUSE
	Prints the load address and waits rather than starting the job;
	a RESUME command will start the job
   TERMINAL:n
	Assigns terminal unit n to interact with the foreground job;
	multi-terminal monitors only

  EXAMPLES
	FRUN MYPROG
	FRUN DEMOSP/PAUSE
	FRUN DEMOFG/BUFFER:1300
	FRUN PROG/TERMINAL:3

.ENDM

GET.mac
.MACRO	GET
GET		Loads a program into memory			(RT-11 only)

  SYNTAX
	GET filespec

  SEMANTICS
	The memory image is loaded into the background memory area from
	the file.

  OPTIONS
	None

  EXAMPLES
	GET MACRO

.ENDM

GT.mac
.MACRO	GT
GT		Enables/disables the VT11/VS60 display hardware	(RT-11 only)

  SYNTAX
	GT command[/options]

  SEMANTICS
	If command is OFF, the display hardware is disabled and the
	printing console becomes the command terminal.
	If command is ON, the VT11 or VS60 display scope becomes the
	console terminal.

  OPTIONS
   L:n
	Sets the number of lines of text to display to n (decimal)
   T:n
	Sets the top of the scroll display to position n (decimal)

  EXAMPLES
	GT ON
	GT ON/L:20/T:900
	GT OFF

.ENDM

HELP.mac
.MACRO	HELP
HELP		Lists helpful information

  SYNTAX
	HELP[/options][ topic[ subtopic[:items...]...]]
     or HELP *

  SEMANTICS
	HELP * lists the items for which help is available.
	HELP lists the HELP text (of which this is a part).
	HELP topic  lists information on the specific topic only.
	HELP topic subtopic  lists information on the specific subtopic
	  only (for example, HELP HELP SEMANTICS lists the paragraph of
	  which this text is a part).
	HELP topic subtopic:item  lists only the text associated with
	  the specific item.
	HELP topic/item lists the text associated with the specific item
	  under the subtopic OPTIONS.
	Valid topics are the keyboard monitor commands.
	Subtopics are "SYNTAX", "SEMANTICS", "OPTIONS", and "EXAMPLES".
	Items are specific command options.

  OPTIONS
   PRINTER
	Prints the HELP text on the line printer
   TERMINAL	(default)
	Types the HELP text on the terminal

  EXAMPLES
	HELP COPY		!Lists information about COPY command
	HELP/PRINTER EXECUTE	!Prints information about EXECUTE
				!command
	HELP PRINT OPTION:COPIES!Describes the COPIES option for PRINT
	HELP COPY/BOOT/DEVICE	!Describes the listed options for COPY

.ENDM

INDEX.mac
.MACRO	INDEX
INDEX		Cross references FORTRAN programs

  SYNTAX
	OUTFIL=INFILE/Switches

  SEMANTICS
	The source file to be indexed should first be passed through the
	FORTRAN compiler without syntax error, then run through INDEX.
	 
	Default filename extensions are:
	 INFILE   .FOR
	 OUTFILE  .IDX
	 
	Where the input and output files have the same name, an abbreviated
	form of the command line may be used with no '=' sign:
	IOFILE/SW1/SW2/SW3
	(Do not specify any extension using this form,
	defaults only should be used)
	 
	All switches are on the input file name only.

  OPTIONS
   A	Print INDEX statistics for each module
   B	Break out entry points (for Super Cross Reference)
   C	No COMMON/TYPE unused
   D	Debug
   E	80 column input
   F	List entry points accumulated with /B
   G	COMMON var only
   H	Help
   I	Output Super Index
   J	Unchanged variables
   K	Changed variables
   L	LP: mode (132 columns/line)
   N	No list of source
   O	Active options
   P	Use Aux. line numbers from column 72
   Q	No calling tree (used with /F)
   R	Called by tree (used with /F)
   S	Accumulate Super Index
   T	TT: mode (72 columns/line)
   U	COMMON/TYPE unused
   X	Local variables only

  MNEMONICS
	   Arithmetic line			*  Label location
	=  Assigned value			AC ACCEPT
	AG FUNCTION/SUBROUTINE argument		AS ASSIGN label
	BD BLOCK DATA				BS BACKSPACE
	BY BYTE					CE CLOSE
	CL CALL					CM COMMON var
	CN COMMON name				CX COMPLEX
	DA DATA					DE DECODE
	DF DEFINE FILE				DI DIMENSION
	DL DELETE				DO DO
	DP DOUBLE PRECISION			EF ENDFILE
	EN ENCODE				EQ EQUIVALENCE
	EX EXTERNAL				EY ENTRY
	FB BYTE function			FC COMPLEX function
	FD DOUBLE PRECISION function		FH CHARACTER function
	FI INTEGER function			FL LOGICAL function
	FN FIND					FO FORMAT
	FR REAL function			FU FUNCTION name
	GT GO TO				IF IF
	IN INTEGER				IQ INQUIRE
	IT INTRINSIC				LG LOGICAL
	OP OPEN					PA PARAMETER
	PG PROGRAM				PR PRINT
	RD READ					RL REAL
	RR REWRITE				RW REWIND
	SA SAVE					SU SUBROUTINE name
	TY TYPE					UN UNLOCK
	VI VIRTUAL				WR WRITE

  EXAMPLES
	SAMPLE/L/J/D		(list on the line printer those variables
				whose value remains unchanged in the module.
				Include DEBUG statements.)
	STATS=LIMAGE/U/G/J	(list only those global variables defined in
				common but unused in the module being indexed)
	CALEN=AGREG/X/K		(list only those local variables whose
				value is not assigned in the module)
	NL:=OPER/B		Produce Super Cross Reference of routine
	NL:=COMAND/B		calls in OPER and COMAND including reverse
	LP:=/F/R		Called By Tree

.ENDM

INITIA.mac
.MACRO	INITIALIZE
INITIALIZE	Initializes device directories

  SYNTAX
	INITIALIZE[/options] device

  SEMANTICS
	Specify only one device.  INITIALIZE initializes the device's
	file directory and clears it of all files.
	Any data on the device is lost.
	A default directory size, which depends on the device,
	is assigned to the device unless you specify otherwise.
		   
	(TSX-Plus does an implicit DISMOUNT before initialization. A device
	cannot be initialized if it is mounted or allocated by another job.)

  OPTIONS
   BACKUP
	Initializes a backup volume for use with the BUP utility
   BADBLOCKS[:RETAIN]
	Scans the disk for bad blocks and writes FILE.BAD files over
	the bad blocks, retaining any old .BAD files if requested
   DOS
	Initializes the device you specify in DOS-11 format
   FILE:filespec
	Creates a bootable magtape by writing the file you specify in
	the magtape boot block
   INTERCHANGE
	Initializes a diskette directory in interchange format
   NOQUERY
	Does not require confirmation before starting the
	initialization
   QUERY	(default)
	Requires confirmation before beginning the initialization
   REPLACE[:RETAIN]
	Scans a volume for bad blocks and builds a replacement table;
	if you specify RETAIN, the existing replacement table
	is reused
   RESTORE
	Restores the directory of an initialized volume if that volume
	has not been written on since it was initialized
   SEGMENTS:n
	Specifies the number of segments in the new directory
   VOLUMEID[:ONLY]
	Establishes a volume identification and owner name
	as part of the initialization. ONLY specifies that
	only the volume id and owner is to change; no volume
	initialization is performed
   WAIT
	Waits for user response before continuing the initialization

  EXAMPLES
	INITIALIZE RK1:
	INITIALIZE/SEGMENTS:20 RK1:
	INITIALIZE/BADBLOCKS RK:
	INITIALIZE/FILE:MBOOT.BOT MT0:

.ENDM

INSTAL.mac
.MACRO	INSTALL
INSTALL		Adds a new device handler to the system		(RT-11 only)

  SYNTAX
	INSTALL device[,...device]

  SEMANTICS
	Device is the two-character device name for the new handler; it
	must match the name of the handler file (hh.SYS for SJ and FB,
	hhX.SYS for XM).

  OPTIONS
	None

  EXAMPLES
	INSTALL CR:
	INSTALL LP:,CR:,DT:

.ENDM

KILL.mac
.MACRO	KILL
KILL		Aborts a timesharing job and forces logoff	(TSX+ only)

  SYNTAX
	KILL line-number

  SEMANTICS
	Aborts execution of the job and forces a logoff on the specified line.
	(Operator privilege is required).

  OPTIONS
	None

  EXAMPLES
	KILL 10

.ENDM

KJOB.mac
.MACRO	KJOB
KJOB		Logs off a TSX-Plus timesharing line		(TSX+ only)

  SYNTAX
	KJOB[/options]

  SEMANTICS
	The KJOB command is used to log off a terminal. It is also used to
	release a virtual line. The accumulated connect time and CPU time
	used during the session are displayed. The KJOB command is equivalent
	to OFF.

  OPTIONS
   NOWARN
	Suppresses the warning message about active subprocesses

  EXAMPLES
	KJOB
	Connect time=01:43:00  CPU=00:01:05

.ENDM

LA100.mac
.MACRO	LA100
LA100		Escape sequences for LA100 printer

  SYNTAX
	Sequences have no embedded spaces (only used here for clarity).
	Parameters P? are strings of zero or more decimal characters.

  ANSWERBACK message
	ESC P Pn V	Enter answerback message mode
	ESC \		Exit answerback message mode

  CARRIAGE movement
	ESC D		Increment active line and advance paper 1 line
	ESC E		Increment active line,set active column to left margin
	ESC K		Move paper up   1/12 inch
	ESC L		Move paper down 1/12 inch
	ESC M		Decrement active line and move paper down 1 line
	ESC [ Pn A	Decrement active line by Pn lines
	ESC [ Pn '	Set active column to column Pn
	ESC [ Pn a	Advance active column by Pn columns
	ESC [ Pn d	Set active line to line Pn
	ESC [ Pn e	Advance active line by Pn lines

  CHARACTER
   ATTRIBUTES
	ESC [ 0 m	Disable underline
	ESC [ 4 m	Enable underline
	ESC [ 10 m	Use style of 1st DPS
	ESC [ 11 m	Use style of 2nd DPS
	ESC [ 12 m	Use style of 3rd DPS
	ESC [ 13 m	Use style of 4th DPS
	ESC [ 14 m	Use style of 5th DPS
   SETS
	ESC ( x		Select primary character set "x" as G0
	ESC ) x		Select primary character set "x" as G1
	ESC * x		Select primary character set "x" as G2
	ESC + x		Select primary character set "x" as G3
	ESC , x		Select alternate character set "x" as G0
	ESC - x		Select alternate character set "x" as G1
	ESC . x		Select alternate character set "x" as G2
	ESC / x		Select alternate character set "x" as G3

  FORM length
	ESC [ Pn t	Set form length to Pn lines (reset top,bottom margins)

  GRAPHICS
	ESC P Pn q	Enter graphics mode
	ESC \		Exit graphics mode

  MARGINS
   HORIZONTAL
	ESC [ Pl s	Set left margin to column Pl
	ESC [ ;Pr s	Set right margin to column Pr
	ESC [ Pl;Pr s	Set left margin to column Pl,right margin to column Pr
	ESC [ Pl;Pw " s	Set print area left reference to Pl, width to Pw
   VERTICAL
	ESC [ Pt r	Set top margin to line Pt
	ESC [ ;Pb r	Set bottom margin to line Pb
	ESC [ Pt;Pb r	Set top margin to line Pt, bottom margin to line Pb

  MODE
   RESET
	ESC [ 7 l	Reset auto wraparound mode off
	ESC [ 20 l	Reset linefeed/newline mode to line feed
	ESC [ 29 l	Reset pitch select mode to all pitches
   SET
	ESC [ 7 h	Set auto wraparound mode on
	ESC [ 20 h	Set linefeed/newline mode to newline
	ESC [ 29 h	Set pitch select mode to font pitches

  PITCH
   HORIZONTAL
	ESC [ w		Set horizontal pitch to 10    char/inch
	ESC [ 0 w	Set horizontal pitch to 10    char/inch
	ESC [ 1 w	Set horizontal pitch to 10    char/inch
	ESC [ 2 w	Set horizontal pitch to 12    char/inch
	ESC [ 3 w	Set horizontal pitch to 13.2  char/inch
	ESC [ 4 w	Set horizontal pitch to 16.5  char/inch
	ESC [ 5 w	Set horizontal pitch to  5    char/inch
	ESC [ 6 w	Set horizontal pitch to  6    char/inch
	ESC [ 7 w	Set horizontal pitch to  6.6  char/inch
	ESC [ 8 w	Set horizontal pitch to  8.25 char/inch
   VERTICAL
	ESC [ z		Set vertical pitch to  6 line/inch
	ESC [ 0 z	Set vertical pitch to  6 line/inch
	ESC [ 1 z	Set vertical pitch to  6 line/inch
	ESC [ 2 z	Set vertical pitch to  8 line/inch
	ESC [ 3 z	Set vertical pitch to 12 line/inch
	ESC [ 4 z	Set vertical pitch to  2 line/inch
	ESC [ 5 z	Set vertical pitch to  3 line/inch
	ESC [ 6 z	Set vertical pitch to  4 line/inch

  QUALITY select
	ESC [ 0 " z	Set quality select mode to draft mode
	ESC [ 1 " z	Set quality select mode to draft mode
	ESC [ 2 " z	Set quality select mode to letter mode

  REPORT requests
	ESC [ c		Request product identification report
	ESC [ 0 c	Request product identification report
	ESC [ ? 10 c	Request font configuration report

  TABS
   HORIZONTAL
	ESC 1		Set horizontal tab stop at active column
	ESC 2		Clear all horizontal tab stops
	ESC H		Set horizontal tab stop at active column
	ESC [ g		Clear horizontal tab stop at active column
	ESC [ 0 g	Clear horizontal tab stop at active column
	ESC [ 2 g	Clear all horizontal tab stops
	ESC [ 3 g	Clear all horizontal tab stops
	ESC [ Pn u	Set horizontal tab stop at column Pn
	ESC [ Pn;Pn u	Set horizontal tab stops at columns Pn, Pn
   VERTICAL
	ESC 3		Set vertical tab stop at active line
	ESC 4		Clear all vertical tab stops
	ESC J		Set vertical tab stop at active line
	ESC [ 1 g	Clear vertical tab stop at active line
	ESC [ 4 g	Clear all vertical tab stops
	ESC [ Pn v	Set vertical tab stop at line Pn
	ESC [ Pn;Pn v	Set vertical tab stops at lines Pn, Pn

.ENDM

LA120.mac
.MACRO	LA120
LA120		Escape sequences for LA120 printer

  SYNTAX
	Sequences have no embedded spaces (only used here for clarity).
	Parameters P? are strings of zero or more decimal characters.

  CARRIAGE movement
	ESC D		Increment active line (active column unchanged)
	ESC E		Increment active line,set active column to left margin
	ESC [ Pn '	Set active column to column Pn
	ESC [ Pn a	Advance active column by Pn columns
	ESC [ Pn d	Set active line to line Pn
	ESC [ Pn e	Advance active line by Pn lines

  CHARACTER sets
	ESC ( A		Select UK character set
	ESC ( B		Select US character set

  FORM length
	ESC [ Pn t	Set form length to Pn lines (reset top,bottom margins)

  KEY codes	Normal mode	Alternate mode

   PF1		ESC O P		ESC O P
   PF2		ESC O Q		ESC O Q
   PF3		ESC O R		ESC O R
   PF4		ESC O S		ESC O S
   ENTER	RETURN		ESC O M
   ,		,		ESC O l
   -		-		ESC O m
   .		.		ESC O n
   0		0		ESC O p
   1		1		ESC O q
   2		2		ESC O r
   3		3		ESC O s
   4		4		ESC O t
   5		5		ESC O u
   6		6		ESC O v
   7		7		ESC O w
   8		8		ESC O x
   9		9		ESC O y

  MARGINS
   HORIZONTAL
	ESC [ Pl s	Set left margin to column Pl
	ESC [ ;Pr s	Set right margin to column Pr
	ESC [ Pl;Pr s	Set left margin to column Pl,right margin to column Pr
   VERTICAL
	ESC [ Pt r	Set top margin to line Pt
	ESC [ ;Pb r	Set bottom margin to line Pb
	ESC [ Pt;Pb r	Set top margin to line Pt, bottom margin to line Pb

  MODE
   RESET
	ESC [ 20 l	Reset linefeed/newline mode to linefeed
	ESC >		Reset keypad mode to normal
   SET
	ESC [ 20 h	Set linefeed/newline mode to newline
	ESC =		Set keypad mode to application

  PITCH
   HORIZONTAL
	ESC [ w		Set horizontal pitch to 10    char/inch
	ESC [ 0 w	Set horizontal pitch to 10    char/inch
	ESC [ 1 w	Set horizontal pitch to 10    char/inch
	ESC [ 2 w	Set horizontal pitch to 12    char/inch
	ESC [ 3 w	Set horizontal pitch to 13.2  char/inch
	ESC [ 4 w	Set horizontal pitch to 16.5  char/inch
	ESC [ 5 w	Set horizontal pitch to  5    char/inch
	ESC [ 6 w	Set horizontal pitch to  6    char/inch
	ESC [ 7 w	Set horizontal pitch to  6.6  char/inch
	ESC [ 8 w	Set horizontal pitch to  8.25 char/inch
   VERTICAL
	ESC [ z		Set vertical pitch to  6 line/inch
	ESC [ 0 z	Set vertical pitch to  6 line/inch
	ESC [ 1 z	Set vertical pitch to  6 line/inch
	ESC [ 2 z	Set vertical pitch to  8 line/inch
	ESC [ 3 z	Set vertical pitch to 12 line/inch
	ESC [ 4 z	Set vertical pitch to  2 line/inch
	ESC [ 5 z	Set vertical pitch to  3 line/inch
	ESC [ 6 z	Set vertical pitch to  4 line/inch

  REPORT requests
	ESC [ c		Request product identification report
	ESC [ 0 c	Request product identification report

  TABS
   HORIZONTAL
	ESC 1		Set horizontal tab stop at active column
	ESC 2		Clear all horizontal tab stops
	ESC H		Set horizontal tab stop at active column
	ESC [ g		Clear horizontal tab stop at active column
	ESC [ 0 g	Clear horizontal tab stop at active column
	ESC [ 2 g	Clear all horizontal tab stops
	ESC [ 3 g	Clear all horizontal tab stops
	ESC [ Pn u	Set horizontal tab stop at column Pn
	ESC [ Pn;Pn u	Set horizontal tab stops at columns Pn, Pn
   VERTICAL
	ESC 3		Set vertical tab stop at active line
	ESC 4		Clear all vertical tab stops
	ESC J		Set vertical tab stop at active line
	ESC [ 1 g	Clear vertical tab stop at active line
	ESC [ 4 g	Clear all vertical tab stops
	ESC [ Pn v	Set vertical tab stop at line Pn
	ESC [ Pn;Pn v	Set vertical tab stops at lines Pn, Pn

.ENDM

LIBRAR.mac
.MACRO	LIBRARY
LIBRARY		Creates and alters object and macro libraries

  SYNTAX
	LIBRARY[/options] library filespecs[/options]

  SEMANTICS
	Library is the name of the library file to be created or
	modified. Filespecs are the input module file names, separated
	by commas (,). The default file types for output files are .LST
	for directory listings, .MAC for macro libraries, and .OBJ
	for object libraries. The default input file types are .OBJ
	for object modules and .MAC for macro libraries.

  OPTIONS
   ALLOCATE:size
	Reserves space for an output file
   CREATE
	Creates an object library file
   DELETE
	Deletes an object module from a library
   EXTRACT
	Extracts an object module from a library and stores it
	in an OBJ file
   INSERT
	Inserts an object module into an existing library
   LIST[:filespec]
	Lists the directory of an object library
   MACRO
	Creates a macro library
   NOOBJECT
	Suppresses the creation of a new object library
   OBJECT[:filespec]
	Specifies the name of the updated library
   PROMPT
	Indicates that there is more than one line of input to the
	librarian
   REMOVE
	Deletes a specific global symbol (and the entire module of
	which it is a part) from the library directory
   REPLACE
	Replaces modules in an existing library with modules of the
	same name
   UPDATE
	Combines /INSERT and /REPLACE functions

  EXAMPLES
	LIBRARY/CREATE NEWLIB FIRST,SECOND
	LIBRARY/EXTRACT NEWLIB DX1:ATAN
	LIBRARY/INSERT/OBJECT:NEWLIB OLDLIB THIRD,FOURTH
	LIBRARY/LIST:TT: OLDLIB
.ENDM

LINK.mac
.MACRO	LINK
LINK		Produces an executable program

  SYNTAX
	LINK[/options] filespecs

  SEMANTICS
	Filespecs are the object files to be linked; separate them
	with commas (,). Default file types are .OBJ for input files,
	.MAP for map output files, and .SAV for memory image output
	files.
		       
	Under TSX-Plus input files with .CBL extension will invoke the
	COBOL-Plus link program (CBLINK)

  OPTIONS
   ALLOCATE:size
	Reserves space for an output file
   ALPHABETIZE
	Lists global symbols on the link map in alphabetical order
   BITMAP	(default)
	Outputs the program bit map
   BOTTOM:n
	Specifies the lowest address to be used by the linked program
   BOUNDARY:value
	Starts a specific program section on a particular address
	boundary
   DEBUG[:filespec]
	Links ODT or the debugging program you specify with your program
   DUPLICATE
	Allows multiple copies of library/user routines in overlays
   EXECUTE[:filespec]
	Specifies the name of the memory image file
   EXTEND:n
	Extends a program section to the size you specify
   FILL:n
	Initializes unused locations in the memory image file to the
	value you specify
   FOREGROUND[:stacksize]
	Links the program for foreground execution
   GLOBAL
	Includes crossreference listing of global symbols in link map
   INCLUDE
	Accepts specific global symbols by name for inclusion in the
	memory image file
   LDA
	Produces a file in absolute binary loader format
   LINKLIBRARY[:filespec]
	Includes the file you specify as a library in the link operation
   MAP[:filespec]
	Generates a load map
   NOBITMAP
	Does not output the program bit map if there is code below
	location 400
   NOEXECUTE
	Suppresses creation of the memory image file
   PROMPT
	Indicates that there is more than one line of input to the
	linker
   ROUND:n
	Rounds up a specific program section so that the root
	is a multiple of the value you specify
   RUN
	Initiates execution of the linked program
   SLOWLY
	Uses the largest possible area for the symbol table during
	the link operation
   STACK[:n]
	Specifies the stack address for the linked program
   SYMBOLTABLE[:filespec]
	Generates a symbol table file
   TOP:n
	Specifies the highest address to be used by the linked program
   TRANSFER[:n]
	Specifies the starting address of the linked program
   WIDE
	Produces a load map that is 132 columns wide
   XM
	Specifies that a job to be run under the XM monitor requires the
	special SETTOP features

  EXAMPLES
	LINK MYPROG
	LINK RTN1,RTN2,MYPROG/EXECUTE
	LINK/MAP:MAPFIL PROG1,PROG2

.ENDM

LOAD.mac
.MACRO	LOAD
LOAD		Makes a device handler permanently resident in memory

  SYNTAX
	LOAD device[=jobtype][,....device[=jobtype]]

  SEMANTICS
	Device is the two-character permanent device name for the
	handler to be made resident. Jobtypes are B for background
	and F for foreground. If system job support is present,
	jobtype may be any logical job name.

  OPTIONS
	None

  EXAMPLES
	LOAD RK:
	LOAD DT:=B,MT:,LP:=F
.ENDM

LOGOFF.mac
.MACRO	LOGOFF
LOGOFF		Logs off a TSX-Plus timesharing line		(TSX+ only)

  SYNTAX
	LOGOFF[/options]

  SEMANTICS
	The LOGOFF command is used to log off a terminal. It is also used to
	release a virtual line. The accumulated connect time and CPU time
	used during the session are displayed. The LOGOFF command is
	equivalent to BYE.

  OPTIONS
   NOWARN
	Suppresses the warning message about active subprocesses

  EXAMPLES
	LOGOFF
	Connect time=01:43:00  CPU=00:01:05

.ENDM

MACRO.mac
.MACRO	MACRO
MACRO		Invokes the macro assembler

  SYNTAX
	MACRO[/options] filespecs[/options]

  SEMANTICS
	To assemble multiple files (up to six) into a single OBJ file,
	separate the files with plus (+) signs in the command line.
	Multiple files separated by commas (,) are assembled
	independently.
	The default file types for output are .LST for listing files
	and .OBJ for binary files. The default file type
	for input is .MAC.

  OPTIONS
   ALLOCATE:size
	Reserves space for an output file
   CROSSREFERENCE[:type[...:type]]
	Generates a cross-reference table in the listing file
   DISABLE:value[...:value]
	Specifies a .DSABL directive
   ENABLE:value[...:value]
	Specifies an .ENABL directive
   LIBRARY
	Identifies a file as a macro library file
   LIST[:filespec]
	Produces a listing file
   NOOBJECT
	Suppresses output of the binary object file
   NOSHOW:value
	Specifies an .NLIST directive
   OBJECT[:filespec]
	Specifies a file name for the object file
   SHOW:type
	Specifies a .LIST directive

  EXAMPLES
	MACRO/LIST MYPROG
	MACRO/CROSSREFERENCE PROG1+PROG2/LIST/NOOBJECT
	MACRO/LIST:FILE.OUT A+B
.ENDM

MEMORY.mac
.MACRO	MEMORY
MEMORY		Sets maximum amount of memory available to job	(TSX+ only)

  SYNTAX
	MEMORY [size]

  SEMANTICS
	MEMORY controls the amount of memory available to a job where nn is
	the maximum number of kilobytes of memory to be available to a job.
	It can not be greater than the limit set at system generation and is
	never greater than 56. If no size is specified the current allocation
	for the job is displayed.

  OPTIONS
	None

  EXAMPLES
	MEMORY
	MEMORY 48

.ENDM

MONITO.mac
.MACRO	MONITOR
MONITOR		Begin a performance analysis			(TSX+ only)

  SYNTAX
	MONITOR base-address,top-address[,cell-size][/I]

  SEMANTICS
	The MONITOR command enables a performance analysis of the next
	program to be run. Support for performance analysis is an option.
	base-address is the lowest address in the program region being
	monitored, top-address is the highest address in the region,
	cell-size is the number of bytes in each histogram cell. If
	cell-size is not specified the minimum value possible is used
	for the best resolution.

  OPTIONS
   I
	Includes I/O wait time in the analysis

  EXAMPLES
	MONITOR 1000,13000/I
	MONITOR 2000,6000
	MONITOR 20000,40000,10

.ENDM

MOUNT.mac
.MACRO	MOUNT
MOUNT		Assigns a logical disk unit to a file

  SYNTAX
	MOUNT[/option] LDn filespec [logical_name]
	MOUNT device						(TSX+ only)

  SEMANTICS
	Associates a logical disk unit with a file on a physical volume.
	The file specification is of the form dd:filnam.typ, the default
	file type being .DSK. Specifying the optional logical name causes
	an implicit ASSIGN LDn logical_name to be performed.

	Under TSX-Plus directory/data caching is also started on the device.
	If a physical device is specified with no unit number unit 0 is
	assumed. Directory caching speeds up file lookups (but not enters,
	deletes or renames) by keeping the directory in memory. If data
	caching is available all I/O to the device is cached. This speeds up
	all reads from the device. When one user mounts a device it is mounted
	for all users.
	It is essential that a DISMOUNT is done before changing disks on a
	MOUNTed device.

  OPTIONS
   NOWRITE
	Does not permit writing to the logical disk unit
   WRITE	(default)
	Permits writing to the logical disk unit

  EXAMPLE
	MOUNT LD1: WORK.DSK
	MOUNT LD2: SOURCE.FIL SRC
	MOUNT/NOWRITE LD7 LD6:MASTER.DSK SEC
	MOUNT DY0						(TSX+ only)
.ENDM

OFF.mac
.MACRO	OFF
OFF		Logs off a TSX-Plus timesharing line		(TSX+ only)

  SYNTAX
	OFF[/options]

  SEMANTICS
	The OFF command is used to log off a terminal. It is also used to
	release a virtual line. The accumulated connect time and CPU time
	used during the session are displayed. The OFF command is equivalent
	to BYE.

  OPTIONS
   NOWARN
	Suppresses the warning message about active subprocesses

  EXAMPLES
	OFF
	Connect time=01:43:00  CPU=00:01:05

.ENDM

OPERAT.mac
.MACRO	OPERATOR
OPERATOR	Sends message to operator's console		(TSX+ only)

  SYNTAX
	OPERATOR message

  SEMANTICS
	The OPERATOR command is used to send a message to be displayed on
	the terminal specified as the operator's console. It is similar to
	the SEND command but it is not necessary to know the line number of
	the operator's terminal.

  OPTIONS
	None

  EXAMPLES
	OPERATOR Please load mag tape #5

.ENDM

PAUSE.mac
.MACRO	PAUSE
PAUSE		Temporarily suspends processing of a TSX-plus command file.

  SYNTAX
	PAUSE text-string

  SEMANTICS
	When the command is encountered in a TSX-plus command file, the
	supplied text-string is displayed on the user's terminal followed by
	>> and execution of the command file is suspended until a
	carriage-return is pressed.

  OPTIONS
	None

  EXAMPLES
	PAUSE Mount next floppy disc in drive 1 please
.ENDM

PRINT.mac
.MACRO	PRINT
PRINT		Prints files on the line printer

  SYNTAX
	PRINT[/options] filespecs

  SEMANTICS
	The PRINT command accepts up to six input file specifications;
	separate multiple file specifications with commas (,).
	Wild cards are accepted in place of file names or file types.
	The default file type is .LST.
	If the queue processor is running, files are automatically
	queued to the line printer

  OPTIONS
   BEFORE[:dd:mmm:yy]
	Prints only the contents of the files created before the specified
	date. If the date is omitted, the system date is used
   COPIES:n
	Prints the number of copies you specify
   DATE[:dd:mmm:yy]
	Prints only the contents of the files created on the date specified.
	If the date is omitted, the system date is used
   DELETE
	Deletes the file after printing it
   FLAGPAGE:n
	Includes a banner page before the file
   INFORMATION
	Treats "file-not-found" errors as information, not fatal
   LOG
	Lists on the terminal the files printed
   NAME:dev:jobname
	Associates a job name with the print queue entry and specifies
	the device to queue to; valid only if QUEUE is running
   NEWFILES
	Prints only those files dated with the current system date
   NOFLAGPAGE	(default)
	Does not include a banner page before the file
   NOLOG
	Suppresses the terminal log of files printed
   PROMPT
	Allows continuation lines; valid only if QUEUE is running
   QUERY
	Requires confirmation before printing each file
   SINCE[:dd:mmm:yy]
	Prints the contents of files created on or after the date specified.
	If the date is omitted, the system date is used
   WAIT
	Waits for user response before proceeding with the print
	(Not valid if QUEUE is running)

  EXAMPLES
	PRINT A.LST
	PRINT/COPIES:3 REPORT
	PRINT/DELETE FILE1
	PRINT/FLAGPAGE:2 FILE2
	PRINT/NEWFILES/QUERY *.LST
.ENDM

PROTEC.mac
.MACRO	PROTECT
PROTECT		Sets RT-11 file protection status

  SYNTAX
	PROTECT[/options] filespec

  SEMANTICS
	The specified RT-11 file's protection status is set to prevent
	deletion

  OPTIONS

   BEFORE[:dd:mmm:yy]
	Sets protection status for files created before the specified
	date. If the date is omitted, the system date is used
   DATE[:dd:mmm:yy]
	Sets protection status only for files with the specified date.
	If the date is omitted, the system date is used
   EXCLUDE
	Sets protection status for all files on a device except for the
	files specified
   LOG
	Lists on the console terminal a log of the files whose protection
	status are affected
   NEWFILES
	Sets protection status only for files which have the current system
	date
   QUERY
	Requests confirmation, file by file, before protection status is set
   SETDATE[:dd:mmm:yy]
	Sets the creation date of the protected file to the specified
	date. If the date is omitted, the system date is used
   SINCE[:dd:mmm:yy]
	Sets protection status only for files which were created on or
	after the specified date. If the date is omitted, the system date
	is used
   SYSTEM
	Sets the protection status of .SYS files if wild cards are included
	in the filespec
   WAIT
	Pauses to allow operator to mount volume containing files whose
	protection status is to be set

  EXAMPLES

	PROTECT KED.SAV
	PROTECT/NEWFILES *.DAT
	PROTECT/QUERY *.MAC
	PROTECT/SYSTEM/QUERY *.SYS
.ENDM

QUEMAN.mac
.MACRO	QUEMAN
QUEMAN		Queue control program				(RT-11 only)

  SYNTAX
	/Option

  SEMANTICS
	Most requests to QUEMAN are done through DCL commands.  Only
	Requests not supported by DCL are described here.

  OPTIONS
   A
	Abort the QUEUE program.  Output is stopped.
   M
	Remove a job from the queue.  Specify the job name followed by
	/M.
   P
	Prompt for default settings.  Two items are prompted for:
	Number of banner pages?
	Delete workfile?
   R
	Resume queue output if QUEUE was previously suspended using /S.
	Restart the current job if QUEUE was not previously suspended.
   S
	Suspend QUEUE at the end of the current file.

  EXAMPLES
	/A
	LIST/M

.ENDM

R.mac
.MACRO	R
R		Loads and executes a system program

  SYNTAX
	R[/option] filename [string]

  SEMANTICS
	The specified file is loaded (default device SY:) and execution is
	started. The string, if specified, is passed to the program as the 
	first line of input followed by control-C as the second line.

  OPTIONS
   BYPASN
	Causes the program to be run without logical device assignments
   DEBUG
	Causes the program to be run under the control of the TSODT debugger
   HIGH
	Automatically enables the program to use high efficiency terminal I/O
   IOPAGE
	Causes the system I/O page to be mapped to the PAR 7 memory region
   LOCK
	Locks the program to the timesharing line so that the line is logged
	off when the program exits
   MEMLOCK
	Forces the program to be loaded into memory below the 256kb boundary
	and locked into memory while it is executing
   NONINTERACTIVE
	Causes the program to be run in non-interactive mode
   NOWINDOW
	Suspends process windowing during the execution of the program
   SCCA
	Suppresses CTRL-C aborts while the process is executing
   SINGLECHAR
	Causes the program to be executed in single character activation mode
   TRANSPARENT
	Causes the program to be run with terminal output character checking
	disabled

  EXAMPLES
	R MACRO
	R PIP A.TMP=B.TMP
	R/LOCK BASIC
	R/SINGLE PLANE
.ENDM

RECALL.mac
.MACRO	RECALL
RECALL		Displays and recalls saved commands if SL set ON

  SYNTAX
	RECALL[/option] [target]

  SEMANTICS
	The set of saved commands is displayed or a specific command is
	recalled by giving as a target an index number or a string that 
	matches the first part of the command.

  OPTIONS
   ALL
	Causes a list of saved commands to be displayed

  EXAMPLES
	RECALL/ALL
	RECALL 5
	RECALL EDIT
.ENDM

REENTE.mac
.MACRO	REENTER
REENTER		Starts a program at its reentry address (RT-11 Only)

  SYNTAX
	REENTER

  SEMANTICS
	The program that is in memory in the background area is
	restarted at its reentry address.

  OPTIONS
	None

  EXAMPLES
	REENTER
.ENDM

REMOVE.mac
.MACRO	REMOVE
REMOVE		TSX: Eliminates a named region under TSX-plus
		RT-11: Removes a device handler from the system

  SYNTAX
	REMOVE region-name
	REMOVE device[,...device]

  SEMANTICS
	TSX: Eliminates a local or global named region.
	     SYSGBL privilege is required to remove named global regions.
	RT-11:	Device is the two-character permanent device name for the
	        device to be removed from the system.

  OPTIONS
	None

  EXAMPLES
	REMOVE keydef
	REMOVE LP:
	REMOVE CR:,DT:
.ENDM

RENAME.mac
.MACRO	RENAME
RENAME		Changes the name of a file

  SYNTAX
	RENAME[/options] input-filespec output-filespec

  SEMANTICS
	The RENAME command accepts up to six input file specifications;
	separate multiple file specifications with commas (,).
	The command accepts only one output file specification.
	Wild cards are accepted in place of file names or file types.
	The device you specify (if any) must be the same for input
	and output files.

  OPTIONS
   BEFORE[:dd:mmm:yy]
	Renames only those files created before the specified date.
	If the date is omitted, the current system date is used
   DATE[:dd:mmm:yy]
	Renames only those files created on the specified date. If the
	date is omitted, the current system date is used
   INFORMATION
	Treats "file-not-found" errors as information, not fatal
   LOG
	Lists the renamed files on the terminal
   NEWFILES
	Renames only those files dated with the current system date
   NOLOG
	Suppresses the terminal log of renamed files
   NOPROTECTION
	Removes the protected status of files
   NOREPLACE
	Does not perform the rename operation if a file with the
	new name already exists
   PROTECTION
	Sets files to be protected against deletion
   QUERY
	Requires confirmation before each rename operation begins
   REPLACE	(default)
	Deletes any previous files with the new name after the
	operation completes
   SETDATE[:dd:mmm:yy]
	Sets the creation date on the renamed file to the date specified.
	If the date is omitted, the system date is used
   SINCE[:dd:mmm:yy]
	Renames files created on or after the specified date. If the date
	is omitted, the system date is used
   SYSTEM
	Renames .SYS files
   WAIT
	Waits for user response before proceeding with the rename

  EXAMPLES
	RENAME A.FOR B.FOR
	RENAME A%%.MAC *.FOR
	RENAME/SYSTEM DX0:MM.SYS DX0:MX.SYS

.ENDM

RESET.mac
.MACRO	RESET
RESET		TSX: Resets Usage Statistics.
		RT-11: Causes a general system reset.

  SYNTAX
	RESET

  SEMANTICS
	Under TSX-Plus operator command privilege is required

  OPTIONS
	None

  EXAMPLES
	RESET

.ENDM

RESUME.mac
.MACRO	RESUME
RESUME		TSX: Resumes the execution of a suspended process.
		RT-11: Resumes execution of a foreground or system job.
  SYNTAX
	RESUME job-number
	RESUME [job-name]

  SEMANTICS
	Continues the execution of a process or job which was suspended with
	the SUSPEND command, or if an FRUN or SRUN command was used with the
	/PAUSE option.  If system job support is present in RT-11, a job
	name is required.

	Under TSX, the privileges SAME, GROUP, or WORLD privilege may be
	required depending on the ppns of the issuing and target processes.

  OPTIONS
	None

  EXAMPLES
	RESUME 21		(TSX)
	RESUME			(RT)
	RESUME FRED		(RT)
.ENDM

RS232.mac
.MACRO	RS232
RS232		Table of RS-232 pin descriptions

  PIN	Name	Description			From

   1		Protective Ground
   2	TXD	Transmitted Data		DTE
   3	RXD	Received Data			DCE
   4	RTS	Request To Send			DTE
   5	CTS	Clear To Send			DCE
   6	DSR	Data Set Ready			DCE
   7	GND	Signal Ground
   8	CD	Carrier Detect			DCE
   9	+	+ve voltage
   10	-	-ve voltage
   11
   12		Secondary Carrier Detect
   13		Secondary Clear To Send
   14		Secondary Transmitted Data
   15		DCE Transmitter Signal Element Timing
   16		Secondary Received Data
   17		Receiver Signal Element Timing
   18
   19		Secondary Request To Send
   20	DTR	Data Terminal Ready		DTE
   21	SQ	Signal Quality Detector		DCE
   22	RI	Ring Indicator			DCE
   23		Data Signal Rate Selector
   24		DTE Transmitter Signal Element Timing
   25
.ENDM

RUN.mac
.MACRO	RUN
RUN		Loads and executes a user program

  SYNTAX
	RUN filespec[ input-list[ output-list]]
     or RUN filespec[ argument]
     or RUN[/option] filespec [string]				(TSX+ only)

  SEMANTICS
	The specified file is loaded (default device DK:) and the program
	started. The string, if specified, is passed to the program as the 
	first line of input followed by control-C as the second line.

  OPTIONS (TSX Only)
   BYPASN
	Causes the program to be run without logical device assignments
   DEBUG
	Causes the program to be run under the control of the TSODT debugger
   HIGH
	Automatically enables the program to use high efficiency terminal I/O
   IOPAGE
	Causes the system I/O page to be mapped to the PAR 7 memory region
   LOCK
	Locks the program to the timesharing line so that the line is logged
	off when the program exits
   MEMLOCK
	Forces the program to be loaded into memory below the 256kb boundary
	and locked into memory while it is executing
   NONINTERACTIVE
	Causes the program to be run in non-interactive mode
   NOWINDOW
	Suspends process windowing during the execution of the program
   SCCA
	Suppresses CTRL-C aborts while the process is executing
   SINGLECHAR
	Causes the program to be executed in single character activation mode
   TRANSPARENT
	Causes the program to be run with terminal output character checking
	disabled

  EXAMPLES
	RUN PROG
	RUN/DEBEG TEST
	RUN/LOCK PROG1
	RUN/SINGLE PLANE
.ENDM

RUNOFF.mac
.MACRO	RUNOFF
RUNOFF		Formats text files

  SYNTAX
	OUTFIL[/SW:VAL...]=INFIL1[,INFIL2,...]

  SEMANTICS
	It is impossible to use RUNOFF without first reading the
	appropriate documentation and consulting the tables of available
	commands.
	 
	The text file to be formatted should be first prepared using an
	appropriate editor to create the file complete with RUNOFF's commands
	imbedded within it.
	 
	Default file name extensions are:
	 INFILE   .RNO
	 OUTFILE  .DOC

  OPTIONS
   B:n		Set size of input and output buffers to <n> blocks (default 1)
		(There are two of each)
   C		Force upper case despite \\ and ^^ in input file (archaic?)
   F[:n]	Simulate form-feed with <n> (default 66) line feeds
   H		(naked)	type help text
   H:ON		Allow hyphenation (default)
   H:OFF	Disallow hyphenation
   M:n		Set binding margin width to <n>
   P:l:h	Only output pages with numbers from <l> to <h>
		(This will not function properly on chapter-oriented files)
   R		Remove raw text sequences rather than include them in output
   S:lin:cols	Set initial page size to <lines>x<cols>. (Default /S:58.:60.)
   (or /S:lines)
   U		Underscore.  (/U=/U:L)
	U:L	Underline with underscores after a <cr> (default)
	U:S	Simulate underscores with minus signs on next line
	U:B	Underscore by backspacing on each character
	U:N	Don't underscore at all
   W		Wait between pages, waiting for the user to type <return>.
   		(The <return> is not echoed)

  EXAMPLES
	RUNOFF TT:=PAPER1/U:N		format input to TT: with no underlines

.ENDM

SAVE.mac
.MACRO	SAVE
SAVE		Writes memory areas to a file			(RT-11 only)

  SYNTAX
	SAVE filespec[ parameters]

  SEMANTICS
	Filespec is the file in which background memory is to be saved.
	Parameters are of the form  address[-address2][,...]  and
	specify the areas of memory to be saved.  The default is to
	save all the background program.

  OPTIONS
	None

  EXAMPLES
	SAVE TESTPG
	SAVE TABLE 1000-17776

.ENDM

SEND.mac
.MACRO	SEND
SEND		Sends a message to a TSX-plus terminal

  SYNTAX
	SEND,line message

  SEMANTICS
	Displays 'message' on the specified TSX-plus line.
	The special names ALL, OPERATOR and PARENT may be used
	in lieu of a line number.

  OPTIONS
	None

  EXAMPLES
	SEND,ALL System reboot in 5 seconds, please log o~
	SEND,9 Ken, are you ready for lunch ?
.ENDM

SET.mac
.MACRO	SET
SET		Controls various devices and TSX-plus system parameters

  SYNTAX
	SET item option[=value]

  SEMANTICS
	The command is used to set options for devices as well as to control 
	system parameters. When a device is specified, the device handler on 
	disk is altered to make the effect of the command "permanent".
	See the RT-11 System User's Guide for device handler SET options.
	Multiple options may be separated by commas.

  CACHE blocks
	Alters the number of blocks held in the generalized data cache
  CCL TEST/NOTEST
	Controls the display of low level commands generated by CCL commands
  C1n option[=value]
	Controls the second 8 CL units C10 to C17.
  CLn option[=value]
   7BIT			Equivalent to NOEIGHTBIT
   8BIT/NO8BIT		Equivalent to EIGHTBIT/NOEIGHTBIT
   BININ/NOBININ	Controls binary input mode (no input processing)
   BINOUT/NOBINOUT	Controls binary output mode (no output processing)
   BITS=value		Specifies character length
   CR/NOCR		Controls discard of output carriage-return characters
   CTRL/NOCTRL		Controls discard of output control characters
   DTR/NODTR		Controls DTR modem signal
   EIGHTBIT/NOEIGHTBIT	Controls passing of 8-bit input characters to program
   ENDPAGE=number	Specifies the number of form-feeds to append to file
   ENDSTRING="string"	Specifies a character string to append to file
   FORM/NOFORM		Controls the conversion of form-feed to line-feeds
   FORM0/NOFORM0	Controls generation of form-feed on write to block 0
   LC/NOLC		Controls conversion of lower case to upper case
   LENGTH=value		Specifies the number of lines on a page
   LFIN/NOLFIN		Controls passing of received line-feed characters
   LFOUT/NOLFOUT	Controls passing of transmitted line-feed characters
   LINE=value		Specifies the line to connect the CL device to
   NOPARITY		Specifies no character parity
   PARITY=EVEN/ODD/NONE	Specifies character parity type
   RESET		Resets ^S/^Q flagging
   SEVENBIT		Equivalent to NOEIGHTBIT
   SKIP=number		Specifies the number of lines to skip at end of page
   SPEED=number		Specifies the baud rate of the line
   TAB/NOTAB		Controls the conversion of tab character to spaces
   TOP			Indicates that the paper is at the top of a page
   TRANSLATE=(ext=int,...) Initiates character translation
   WIDTH=number		Specifies the maximum line width
   XON			Resets the XOFF (CTRL-S) state of a terminal line
  CORTIM value
	Adjusts the value of the CORTIM system control parameter
  CTRLD DEBUG/NODEBUG
	Controls the ability for <control-D> to invoke the TSX-plus debugger
  EDIT EDIT/TECO/KED/K52
	Selects the editor program to be invoked by the system EDIT command
  EMT TRACE/NOTRACE
	Controls the display of EMT information as each EMT is executed
  ENDSTARTUP
	Marks the end of the portion of a command file which is to execute
	with start-up privilege
  ERROR FATAL/SEVERE/ERROR/WARNING/NONE
	Specifies the level of error which will abort command file execution
  HIPRCT value
	Sets the value of the HIPRCT system control parameter
  HOST/PORT=ddn
	Establishes a cross connection between a timesharing line and the CL
	device named ddn
  IND ABORT/NOABORT
	Controls the effect of errors during IND command file execution
  INTIOC value
	Sets the value of the INTIOC system control parameter
  IO ABORT/NOABORT
	Selects the method of handling I/O abort requests
  KMON option[=value]
   IND/NOIND		Controls the use of IND command file processor
   UCI[=filename]	Specifies a program to process user commands
   USER[=filename]	Specifies a program to process user commands
   SYSTEM		Returns control of user commands to TSX
  LANGUAGE DBL/DIBOL
	Selects the default compiler for programs with .DBL extension
  LD option
   CLEAN		Verifies and corrects logical subset disk assignments
   EMPTY		Dismounts ALL logical subset disks and deassigns names
   FREE			Dismounts the specified logical subset disk
   WRITE/NOWRITE	Controls writing to a logical subset disk
  LOG option[=value][/option]
   FILE=name/ALL/INPUT/OUTPUT Starts terminal logging to the specified file
   CLOSE		Stops terminal logging and closes the log file
   CLEAN		Cleans out the currently open log file
   WRITE/NOWRITE	Resume/suspend terminal logging
  LOGOFF FILE=name
	Defines a log-off command file (only valid in startup command files)
  MAXPRIORITY value
	Reduces the maximum priority allowed to a job
  NUMDC value
	Controls the number of buffers used for data caching
  OFFTIM value
	Adjusts the value of the OFFTIM system control parameter
  PRINTWINDOW /option[=value]
   DEVICE=ddn		Specifies the name of the window printer device to use
   TYPE=type		Specifies the type of the printer
   LETTER		Selects letter quality print mode
   DRAFT		Selects draft  quality print mode
   [NO]BELL		Controls ringing terminal bell when printing starts
   [NO]WIDTH		Controls sending width control characters to printer
   [NO]KEYPRINT		Controls effect of window print control character
  PRIORITY value
	Sets the execution priority for a timesharing job
  PROCESS /option[=value]
   PRIORITY=value	Specifies a new job execution priority
   SUSPEND		Suspends the execution off a job
   RESUME		Resumes the execution of a suspended job
   IDENTIFICATION=value	Specifies the job affected by PRIORITY,SUSPEND,RESUME
   NAME="string"	Specifies a new user name for the job
   PRIVILEGES=(privileges) Specifies a list of privileges
   AUTHORIZED		Causes authorized privileges to be affected by /PRIV
  PROMPT "string"
	Changes the keyboard monitor prompt
  QUANxx value
	Sets the value of the QUANnn system control parameters
  RECALL
   NORMAL		Displays most recent saved command first (default)
   REVERSE		Displays most recent saved command last
  SIGNAL [NO]parameter
	Controls signalling of job state changes caused by <parameter>
  SHUTDOWN/NOSHUTDOWN
	Starts/cancels a system shutdown
  SL option[=value]
	ASK		Automatically determine terminal type	(RT-11 only)
	K52		Enables KED-like commands in SL		(TSX+ only)
	KED		Enables KED-like commands in SL		(TSX+ only)
	KEX		Enables KED-like commands in SL		(TSX+ only)
	KMON		SL used by KMON but not user program	(RT-11 only)
	[NO]LEARN	Leave help text on screen		(RT-11 only)
	OFF		Turns off the single line editor
	ON		Turns on the single line editor
	RT11		Disables KED-like commands in SL	(TSX+ only)
	SYSGEN		Configure SL to match current monitor	(RT-11 only)
	[NO]TTYIN	Controls editing of keyboard input via the .TTYIN EMT
	VT52		Configure SL for VT52 terminal
	VT62		Configure SL for VT62 terminal
	VT100		Configure SL for VT100 terminal
	VT101		Configure SL for VT101 terminal
	VT102		Configure SL for VT102 terminal
	VT200		Configure SL for VT200-type terminal
	WIDTH=n		Sets line width (30 to 132)		(RT-11 only)
  SUBPROCESS/FILE=file
	Specifies the startup command file for subprocesses (virtual lines)
  SYSPASSWORD password
	Changes the system password for the running system
  TERMINAL
	Equivalent to TT option
  TIMOUT value
	Adjusts the value of the TIMOUT system control parameter
  TT (some differences TSX vs RT-11)
   TT option[=value]						(RT-11)
   TT [line-number] option[=value]				(TSX)
   - - - - - - - (TSX only = *,  RT only = #) - - - - - - -
   7BIT		      * Equivalent to NOEIGHTBIT
   8BIT/NO8BIT	      * Equivalent to EIGHTBIT/NOEIGHTBIT
   ADM3A	      * Identifies an ADM3A terminal (SCOPE,NOTAB,NOFORM)
   AUTOBAUD/NOAUTOBAUD* Controls automatic baud rate selection at logon
   BITS=value	      * Specifies character length
   CONSOL=n	      # Changes console terminal for background to logical
   			terminal n (requires multi-terminal support)
   CRLF/NOCRLF	      # Auto <cr><lf> at right margin (see WIDTH below)
   DTR/NODTR	      * Controls the DTR signal on a terminal line
   DEAD/NODEAD	      * Controls the life of a line
   DECWRITER	      * Equivalent to the LA36 option
   DEFER/NODEFER      * Controls the display of type-ahead characters
   DIABLO	      * Equivalent to SET TT NOSCOPE,FORM,NOTAB,PAGE
   ECHO/NOECHO		Controls the echoing of characters to the terminal
   EIGHTBIT/NOEIGHTBIT* Controls 8-bit character I/O
   FB/NOFB	      # Controls use of ^F, ^B and ^X
   FORM/NOFORM		Controls the conversion of <FF> characters to <LF>s
   FORM0/NOFORM0	Controls the output of a leading <FF> to the terminal
   GAG/NOGAG	      * Controls the display of messages from another line
   HAZELTINE	      * Identifies a Hazeltine terminal (SCOPE,NOTAB,NOFORM)
   HOLD/NOHOLD	      # Enables Hold Screen mode for VT50/VT52
   LA36		      * Identifies an LA36 terminal (NOSCOPE,NOTAB,NOFORM)
   LA120	      * Identifies an LA120 terminal (PAGE,TAB,FORM,NOSCOPE)
   LC/NOLC		Controls the translation of lower case characters
   NOPARITY	      * Specifies no character parity
   PARITY=EVEN/ODD/NONE*Specifies character parity type
   PAGE/NOPAGE		Controls the effect of ^S/^Q characters
   PHONE/NOPHONE      * Specifies connection of line to terminal or modem
   QUIET/NOQUIET	Controls listing of command files as they are executed
   QUME		      * Equivalent to SET TT DIABLO
   SCOPE/NOSCOPE	Sets video or printer terminal characteristics
   SEVENBIT	      * Equivalent to NOEIGHTBIT
   SINGLE/NOSINGLE    * Controls automatic single-character activation mode
   SPEED=value	      * Specifies the baud rate of the line
   START	      * Initiates a time-sharing line
   SYSPASSWORD/NOSYSPASSWORD*Controls requirement for entry of system password
   TAB/NOTAB		Controls the conversion of TAB characters to spaces
   TAPE/NOTAPE		Controls the operation of the terminal as paper tape
   TRANSLATE=(ext=int,...) * Initiates character translation
   VT50		      * Equivalent to the VT52 option
   VT52		      * Identifies a VT52  terminal SCOPE,TAB,PAGE,NOFORM
   VT100	      * Identifies a VT100 terminal SCOPE,TAB,PAGE,NOFORM
   VT200	      * Identifies a VT2xx terminal SCOPE,TAB,PAGE,NOFORM,8BIT
   WAIT/NOWAIT	      * Controls the passing of single characters to program
   WIDTH=n	      # Sets width before system inserts <cr><lf>
   XON		      * Resets the XOFF (CTRL-S) state of a terminal line
  UCL FIRST/MIDDLE/LAST/NONE
	Specifies the order in which user-defined commands are checked
  VERIFY/NOVERIFY
	Controls listing of command files as they are executed
  VM BASE=nnnnnn
	Contols the amount of memory available to the VM pseudo-device
  WILDCARDS IMPLICIT/EXPLICIT
	Controls substitution of missing parts of filenames with "*"	
  WINDOW /option[=value]
   COLUMNS=n		Specifies the number of columns per line in the window
   DARK			Specifies that the window is to be in normal video
   DELETE		Equivalent to OFF
   LIGHT		Specifies that the window is to be in reverse video
   NARROW		Specifies that the window is to hold  80 columns
   OFF			Deletes all windows for the job
   ON			Creates a new window number 1 for the job
   SCROLL[=n]		Specifies the max number of lines to scroll off screen
   WIDE			Specifies that the window is to hold 132 columns

  EXAMPLES
	SET LP: LC
	SET ERROR SEVERE
	SET TT QUIET
.ENDM

SETUP.mac
.MACRO	SETUP
SETUP		Set hardware characteristics of a device

  SYNTAX
	 SETUP device command[,...command]

  SEMANTICS
	SETUP device command[,...command] sets the characteristics
	associated with the commands for the device specified.
	Since not all commands are valid for all devices, consult the
	user's guide for your particular hardware to determine which
	characteristics are supported by your device.
	See Chapter 10 of the RT-11 System Release notes for descriptions
	of the valid SETUP commands or type SETUP HELP.

  EXAMPLES
	SETUP TERMINAL LIGHT,TABS:10:20,SMOOTH
	SETUP CLOCK TIME:14:35,DATE:31:OCT
	SETUP LS DRAFT,HORIZONTAL:6
.ENDM

SHOW.mac
.MACRO	SHOW
SHOW		Displays system hardware and software status
[Op
  SYNTAX
	SHOW [options]

  SEMANTICS
	SHOW<CR> displays the device assignments; other information
	is displayed by specifying one or more option names.

  OPTIONS
  ALL
	TSX:
		Equivalent to specifying all of : DEVICES, ASSIGNS, ALLOCATE,
		JOBS, TERMINALS, CL, MEMORY, SPOOL, SUBSETS, MOUNTS,
		RUN-TIMES, REGIONS, PRIVILEGE, SL.
	RT-11:
		Shows configuration, devices, device assignments, jobs,
		terminals, memory, and logical disc subsets
   ALLOCATE							(TSX+ only)
	Lists all devices allocated for exclusive use by any job
   ASSIGNS							(TSX+ only)
	Displays logical device assignments (equivalent to SHOW)
   CACHE							(TSX+ only)
	Reports the total number of blocks available in the generalized data
	cache buffer
   CL								(TSX+ only)
	Shows the current characteristics and allocations of all CL units
   COMMANDS[/options]
	Displays a list of defined User Command Linkage (UCL) commands
	    /OUTPUT:filespec					(RT-11 only)
		Produces the defined command list in the specified file
	    /PRINTER						(RT-11 only)
		Produces the defined command list on the line printer
   CONFIGURATION
	Indicates the monitor version number, SET options,
	hardware configuration and SYSGEN options
   CORTIM							(TSX+ only)
	Displays the current value of the system parameter CORTIM
   DEVICES
	Indicates the status and vectors of all device handlers on the
	system
   ERRORS[/options]						(RT-11 only)
	Produces on the terminal a report of all system and device
	errors; valid only if error logging is present.  Options are:
	    /ALL	(default)
		Produces the report for all errors
	    /FILE[:filnam.typ]
		Specifies the name of the file containing the logged
		errors; defaults to ERRLOG.DAT
	    /FROM:[dd:mmm:yy]
		Reports only errors that occurred after the date
		specified
	    /OUTPUT:filespec
		Produces the report in the specified file
	    /PRINTER
		Produces the report on the line printer
	    /SUMMARY
		Produces a summary report
	    /TERMINAL	(default)
		Produces the report on the terminal
	    /TO:[dd:mmm:yy]
		Reports only errors that occurred before the date
		specified
   HIPRCT							(TSX+ only)
	Displays the current value of the system parameter HIPRCT
   INSTALL
	Displays installed programs and their characteristics and privileges
   INTIOC							(TSX+ only)
	Displays the current value of the system parameter INTIOC
   JOBS[/PPN]
	Lists the jobs currently logged onto the system
   KEYS
	Displays current defined key definitions
   MEMORY
	Lists information about memory usage
   MOUNTS							(TSX+ only)
	Lists names of devices that have been MOUNTed for directory caching
   NUMDC							(TSX+ only)
	Displays the current value of the system parameter NUMDC
   PRIORITY							(TSX+ only)
	Displays the current and maximum priority values for a job
   PRIVILEGES
	Displays authorized and current privileges for the job
   QUANnn							(TSX+ only)
	Displays the current values of various system parameters
   QUEUE[/DEVICE:dev]
	Lists the contents of the line printer (or specified device)
	queue (TSX+ does not take /DEV)
   REGIONS
	Displays information about local and global named regions
   RUN-TIMES							(TSX+ only)
	Lists the names of the shared run-time systems that were loaded
	with the system
   SL
	Displays the current status of the single-line editor
   SPOOL							   (TSX+ only)
	Lists the devices which are spooled
   SUBSET
	List the current logical disk subsetting assignments in effect
   TERMINALS
	Indicates the status and SET options of all the terminals on the
	system (if a multi-terminal monitor, or if TSX)
   USE								(TSX+ only)
	Lists usage statistics for the current job
   VERSION
	Displays the current TSX-Plus system version number
  EXAMPLES
	SHOW
	SHOW CONFIGURATION
	SHOW TERMINALS,CONFIGURATION,DEVICES

.ENDM

SHUTDO.mac
.MACRO	SHUTDOWN
SHUTDOWN	$SHUTDOWN halts TSX-Plus when all users log off	(TSX+ only)
  SYNTAX
	$SHUTDOWN

  SEMANTICS
	The $SHUTDOWN command prevents any new users logging on. When
	the last user logs off, TSX-Plus is stopped and RT-11 is rebooted.
	Operator command privilege is required.

  OPTIONS
	None

  EXAMPLES
	$SHUTDOWN

.ENDM

SPOOL.mac
.MACRO	SPOOL
SPOOL		Controls the operation of the spooling system	(TSX+ only)

  SYNTAX
	SPOOL	device,function[,parameter]

  SEMANTICS
	Device is the name of a spooled device.
	Function is the operation to be performed.
	Parameter is optional additional information required
	by some functions.

  OPTIONS
   ALIGN,file-name
	Causes the specified form alignment file with default extension ALN
	to be printed
   BACK
	Causes the spooler to skip backward in the spool file a number of
	blocks and resume printing at that point
   DEL
	Causes the spool file currently being printed to be deleted
   FORM,form-name
	Specifies the name of the currently mounted form
   HOLD
	Causes the spooler to delay processing a spool file until the file is
	completely created and its I/O channel is closed
   LOCK,form-name
	Specifies the name of the currently mounted form which is to be
	locked on the printer and no mount request messages to be generated
   MULT
	Suppresses the generation of a form mount request if a spool file is
	found which needs the currently mounted form
   NOHOLD
	Causes the spooler to begin processing a spool file as the file is
	being created
   SING
	Causes a form mount request to be generated for every file
   SKIP,blocks
	Causes the spooler to skip over the specified number of blocks in the
	spool file currently being printed
   STAT
	Displays status information for a spooled device

  EXAMPLES
	SPOOL LS,DEL
	SPOOL LS,SKIP,10
	SPOOL LS,STAT

.ENDM

SQUEEZ.mac
.MACRO	SQUEEZE
SQUEEZE		Rearranges disk files to collect unused file space

  SYNTAX
	SQUEEZE[/options] device

  SEMANTICS
	Specify one input device. If you do not specify an output
	device, the input device is compressed.
	If you specify an output device, the input device is copied to
	the output device in a compressed format and the input device
	remains unchanged. If you specify an output device, make
	sure it was previously initialized.

  OPTIONS
   NOQUERY
	Does not require confirmation before the compression begins
   OUTPUT:filespec
	Compresses the input device to the output device you specify
	rather than onto itself
   QUERY	(default)
	Requires confirmation before the compression begins
   WAIT
	Waits for user response before proceeding with the squeeze

  EXAMPLES
	SQUEEZE RK3:
	SQUEEZE/OUTPUT:RK1: RK0:
	SQUEEZE/NOQUERY DT1:

.ENDM

SRUN.mac
.MACRO	SRUN
SRUN		Loads and starts a system job			(RT-11 only)

  SYNTAX
	SRUN filespec[/options]

  SEMANTICS
	Filespec is the name of the relocatable file to be run as the
	system job. The default file type is .SYS.

  OPTIONS
   BUFFER:n
	Reserves n words in memory over and above normal program size
   LEVEL:n
	Assigns priority n to the job; n is a number from 1 to 6
   NAME:jobname
	Assigns the specified logical job name to the system job
   PAUSE
	Prints the load address and waits rather than starting the job;
	a RESUME command will start the job
   TERMINAL:n
	Assigns terminal unit n to interact with the foreground job;
	multi-terminal monitors only

  EXAMPLES
	SRUN EL/LEVEL:4/TERM:1
	SRUN F4JOB.REL/BUFF:1000

.ENDM

START.mac
.MACRO	START
START		Initiates the program in memory			(RT-11 only)

  SYNTAX
	START[ address]

  SEMANTICS
	Address is an even octal number that specifies an address in
	the background job.  The program in memory is started at that
	address.  The default is to use the program's start address.

  OPTIONS
	None

  EXAMPLES
	START
	START 7002

.ENDM

STOP.mac
.MACRO	STOP
STOP		$STOP halts TSX-Plus and reboots RT-11		(TSX+ only)

  SYNTAX
	$STOP

  SEMANTICS
	The $STOP command forces an immediate logoff of all users before
	stopping TSX+. Equivalent to BOOT. Operator privilege is required.

  OPTIONS
	None

  EXAMPLES
	$STOP

.ENDM

SUSPEN.mac
.MACRO	SUSPEND
SUSPEND		TSX: Suspends the execution of a process
		RT-11: Suspends execution of foreground or system job
  SYNTAX
	SUSPEND job-number		(TSX)
	SUSPEND [job-name]		(RT)
  SEMANTICS
	Temporarily suspends the execution of a job or process, which may
	be allowed to continue at a later time by use of the RESUME command.

	(SAME, GROUP or WORLD privilege is required depending on the ppn of
	the issuing and target jobs).

  OPTIONS
	None

  EXAMPLES
	SUSPEND 21		(TSX)
	SUSPEND			(Suspends RT-11 foreground job)
	SUSPEND ME		(Suspends RT-11 system job called ME)
.ENDM

SYSTAT.mac
.MACRO	SYSTAT
SYSTAT		Displays TSX-plus system performance information

  SYNTAX
	SYSTAT[/option]

  SEMANTICS
	Displays TSX-plus system performance information and job details

  OPTIONS
   PPN
	Displays the project-programmer number in place of the user name

  EXAMPLES
	SYSTAT
.ENDM

TIME.mac
.MACRO	TIME
TIME		Sets or displays the system time

  SYNTAX
	TIME[ hh:mm:ss]

  SEMANTICS
	In the TIME command, hh represents the hour (0-23), mm
	represents the minute (0-59), and ss represents the
	second (0-59). The system assumes 00 for an omitted field.
	Under TSX-Plus operator privilege is required to set the time.

  OPTIONS
	None

  EXAMPLES
	TIME 11:15

.ENDM

TYPE.mac
.MACRO	TYPE
TYPE		Outputs files to the terminal

  SYNTAX
	TYPE[/options] filespecs

  SEMANTICS
	The TYPE command accepts up to six input file specifications;
	separate multiple file specifications with commas (,).
	Wild cards are accepted in place of file names or file types.
	The default file type is .LST.

  OPTIONS
   BEFORE[:dd:mmm:yy]
	Types the contents of files created before the specified date.
	If the date is omitted, the system date is used
   COPIES:n
	Types the file the number of times you specify
   DATE[:dd:mmm:yy]
	Types the contents of files created on the specified date. If
	the date is omitted, the system date is used
   DELETE
	Deletes the file after typing it
   INFORMATION
	Treats "file-not-found" errors as information, not fatal
   LOG
	Logs the names of the files typed
   NEWFILES
	Types only those files dated with the current system date
   NOLOG
	Suppresses the log of the files typed
   QUERY
	Requires confirmation before typing each file
   SINCE[:dd:mmm:yy]
	Types the contents of files created on or after the specified date.
	If the date is omitted, the system date is used
   WAIT
	Waits for user response before proceeding with the type

  EXAMPLES
	TYPE A.LST
	TYPE/COPIES:3 REPORT
	TYPE/NEWFILES *.LST

.ENDM

UNLOAD.mac
.MACRO	UNLOAD
UNLOAD		Removes a resident device handler from memory	(RT-11 only)

  SYNTAX
	UNLOAD device[,...device]
	UNLOAD jobname[,...jobname]

  SEMANTICS
	Device is the physical device name of the device handler to
	be removed from memory.  UNLOAD F removes a foreground program
	that is not running.  UNLOAD "jobname" unloads a system job,
	if system jobs are supported and the job is not running.

  OPTIONS
	None

  EXAMPLES
	UNLOAD RK:
	UNLOAD LP:,DT:
	UNLOAD F
	UNLOAD QUEUE

.ENDM

UNPROT.mac
.MACRO	UNPROTECT
UNPROTECT	Resets RT-11 file protection status

  SYNTAX
	UNPROTECT[/options] filespec

  SEMANTICS
	The specified RT-11 file's protection status is set to allow
	deletion

  OPTIONS
   BEFORE[:dd:mmm:yy]
	Sets protection status only for files created before the
	specified date. If the date is omitted, the system date is used
   DATE[:dd:mmm:yy]
	Resets protection status only for files with the specified date.
	If the date is omitted the system date is used
   EXCLUDE
	Resets protection status for all files on a device except for the
	files specified
   INFORMATION
	Treats "file-not-found" errors as information, not fatal
   LOG
	Lists on the console terminal a log of the files whose protection
	status allows deletion
   NEWFILES
	Resets protection status only for files which have the current system
	date
   QUERY
	Requests confirmation, file by file, before protection status is reset
   SETDATE[:dd:mmm:yy]
	Sets the creation date of the unprotected file to the specified
	date. If the date is omitted, the system date is used
   SINCE[:dd:mmm:yy]
	Sets protection status only for files which were created on or after
	the specified date. If the date is omitted, the system date is used
   SYSTEM
	Allows protection status of .SYS files to reset
   WAIT
	Pauses to allow operator to mount volume containing files whose
	protection status is to be reset

  EXAMPLES

	UNPROTECT KED.SAV
	UNPROTECT/NEWFILES *.DAT
	UNPROTECT/SINCE:14:APR:82 *.MAC
	UNPROTECT/QUERY/SYSTEM *.SYS

.ENDM

USE.mac
.MACRO	USE
USE		Displays usage statistics for a TSX-plus job

  SYNTAX
	USE

  SEMANTICS
	Displays connect time and CPU time since the TSX-plus job logged on.

  OPTIONS
	None

  EXAMPLES
	USE
.ENDM

VT100.mac
.MACRO	VT100
VT100		Escape sequences and key codes for VT100 terminals

  SYNTAX
	Sequences have no embedded spaces (only used here for clarity).
	Parameters P? are strings of zero or more decimal characters.

  CHARACTER attributes
	ESC [ m		Reset all character attributes off
	ESC [ 0 m	Reset all character attributes off
	ESC [ 1 m	Set bold on
	ESC [ 4 m	Set underscore on
	ESC [ 5 m	Set blink on
	ESC [ 7 m	Set reverse video on
	ESC [ Ps;Ps m	Select specified attributes

  CHARACTER sets
	ESC ( A		Select UK character set as G0
	ESC ) A		Select UK character set as G1
	ESC ( B		Select US ASCII character set as G0
	ESC ) B		Select US ASCII character set as G1
	ESC ( 0		Select Special Graphics character set as G0
	ESC ) 0		Select Special Graphics character set as G1
	ESC ( 1		Select Alternate Standard character set as G0
	ESC ) 1		Select Alternate Standard character set as G1
	ESC ( 2		Select Alternate Special Graphics character set as G0
	ESC ) 2		Select Alternate Special Graphics character set as G1
	SI <CTRL>O	Invoke G0 character set
	SO <CTRL>N	Invoke G1 character set
   VT131 only
	ESC N		Select the G2 character set for one character
	ESC O		Select the G3 character set for one character

  CURSOR movement
	ESC [ Pn A	Move cursor up    Pn lines
	ESC [ Pn B	Move cursor down  Pn lines
	ESC [ Pn C	Move cursor right Pn columns
	ESC [ Pn D	Move cursor left  Pn columns
	ESC [ f		Move cursor home
	ESC [ Pl;Pc f	Move cursor to line Pl, column Pc
	ESC [ H		Move cursor home
	ESC [ Pl;Pc H	Move cursor to line Pl, column Pc
	ESC D		Move cursor down one line, scrolling at bottom
	ESC E		Move cursor to start of next line, scrolling at bottom
	ESC M		Move cursor up one line, scrolling at top

  CURSOR save/restore
	ESC 7		Save cursor position, graphic rendition, character set
	ESC 8		Restore cursor, graphic rendition, character set

  EDIT commands		(VT131 only)
	ESC [ Pn L	Insert Pn lines at current line
	ESC [ Pn M	Delete Pn lines at current line
	ESC [ Pn P	Delete Pn characters at cursor position

  ERASING
	ESC [ K		Erase line from cursor to end of line
	ESC [ 0 K	Erase line from cursor to end of line
	ESC [ 1 K	Erase line from start of line to cursor
	ESC [ 2 K	Erase entire line
	ESC [ J		Erase screen from cursor to end of screen
	ESC [ 0 J	Erase screen from cursor to end of screen
	ESC [ 1 J	Erase screen from beginning of screen to cursor
	ESC [ 2 J	Erase entire screen

  KEY codes		Normal mode	Application mode

   PF1			ESC O P		ESC O P
   PF2			ESC O Q		ESC O Q
   PF3			ESC O R		ESC O R
   PF4			ESC O S		ESC O S
   ENTER		RETURN		ESC O M
   ,			,		ESC O l
   -			-		ESC O m
   .			.		ESC O n
   0			0		ESC O p
   1			1		ESC O q
   2			2		ESC O r
   3			3		ESC O s
   4			4		ESC O t
   5			5		ESC O u
   6			6		ESC O v
   7			7		ESC O w
   8			8		ESC O x
   9			9		ESC O y

   UP			ESC [ A		ESC O A
   DOWN			ESC [ B		ESC O B
   RIGHT		ESC [ C		ESC O C
   LEFT			ESC [ D		ESC O D

  LEDS
	ESC [ q		Clear LEDs L1 to L4
	ESC [ 0 q	Clear LEDs L1 to L4
	ESC [ 1 q	Light LED L1
	ESC [ 2 q	Light LED L2
	ESC [ 3 q	Light LED L3
	ESC [ 4 q	Light LED L4

  LINE attributes
	ESC # 3		Convert current line to top half of double-height line
	ESC # 4		Convert current line to bottom of double-height line
	ESC # 5		Convert current line to single-width single-height
	ESC # 6		Convert current line to double-width single-height

  MODES
	To Set			   To Reset		    Name
	ESC[ 20 h     Newline	   ESC[ 20 l	 Linefeed   Linefeed/newline
	ESC[ ? 1 h    Application  ESC[ ? 1 l	 Cursor	    Cursor key mode
	ESC[ ? 3 h    132 column   ESC[ ? 3 l	 80 column  Column mode
	ESC[ ? 4 h    Smooth	   ESC[ ? 4 l	 Jump	    Scrolling mode
	ESC[ ? 5 h    Reverse	   ESC[ ? 5 l	 Normal	    Screen mode
	ESC[ ? 6 h    Relative	   ESC[ ? 6 l	 Absolute   Origin mode
	ESC[ ? 7 h    On	   ESC[ ? 7 l	 Off	    Wraparound
	ESC[ ? 8 h    On	   ESC[ ? 8 l	 Off	    Auto repeat
	ESC[ ? 9 h    On	   ESC[ ? 9 l	 Off	    Interlace
	ESC[ ? Ps;Ps h		   ESC[ ? Ps;Ps l	    Multiple modes
	ESC=	      Application  ESC> 	 Numeric    Keypad mode
   VT131 only
	ESC[ 1 h      All chars    ESC[ 1 l	 Unprotect  Guard area transfer
	ESC[ 2 h      Locked	   ESC[ 2 l	 Unlocked   Keyboard action
	ESC[ 4 h      Insert	   ESC[ 4 l	 Replace    Character mode
	ESC[ 6 h      All chars    ESC[ 6 l	 Unprotect  Erasure mode
	ESC[ 12 h     Off	   ESC[ 12 l	 On	    Local echo
	ESC[ 16 h     Full page    ESC[ 16 l	 Partial    Transfer termination
	ESC[ Ps;Ps h  Set	   ESC[ Ps;Ps l	 Reset	    Multiple modes
	ESC[ ? 10 h   Edit	   ESC[ ? 10 l	 Interactive Local editing
	ESC[ ? 11 h   Line	   ESC[ ? 11 l	 Page	    Line transmit mode
	ESC[ ? 13 h   On	   ESC[ ? 13 l	 Off	    Space compression/
							     field delimiter
	ESC[ ? 14 h   Immediate    ESC[ ? 14 l	 Deferred   Transmit execution
	ESC[ ? 16 h   Immediate    ESC[ ? 16 l	 Deferred   Edit key execution
	ESC[ ? 18 h   <FF>	   ESC[ ? 18 l	 Off	    Print termination
	ESC[ ? 19 h   Full screen  ESC[ ? 19 l	 Scrolling  Printer extent
						  region

  PRINT commands	(VT131 only)
	ESC [ i		Print screen
	ESC [ 0 i	Print screen
	ESC [ 4 i	Turn off printer controller (print through)
	ESC [ 5 i	Turn on  printer controller (print through)
	ESC [ ? 1 i	Print current line
	ESC [ ? 4 i	Exit  auto-print
	ESC [ ? 5 i	Enter auto-print

  PROTECTION attributes	(VT131 only)
	ESC [ 0 }	Select no protection attributes
	ESC [ 1 }	Select bold protection
	ESC [ 4 }	Select underscore protection
	ESC [ 5 }	Select blink protection
	ESC [ 7 }	Select reverse video protection
	ESC [ 254 }	Select "no attribute" protection

  REPORTS
	ESC [ c		Request device attributes
	ESC [ 0 c	Request device attributes
	ESC [ 5 n	Request terminal status report
	ESC [ 6 n	Request cursor position report
	ESC [ ? 15 n	Request printer status report (VT131 only)
	ESC Z		Request terminal identification

  RESET
	ESC c		Reset terminal to power-up state

  SCROLLING region
	ESC [ Pt;Pb r	Set scrolling region top to line Pt, bottom to line Pb

  TABS
	ESC [ g		Clear horizontal tab stop at cursor
	ESC [ 0 g	Clear horizontal tab stop at cursor
	ESC [ 3 g	Clear all horizontal tab stops
	ESC H		Set horizontal tab stop at cursor

  TESTS
	ESC [ 2;1 y	Invoke power-up self test
	ESC [ 2;2 y	Invoke data loop back test
	ESC [ 2;4 y	Invoke EIA modem control test
	ESC [ 2;16 y	Invoke printer port data loopback test (VT131 only)
	ESC [ 2;Ps y	Repeat selected tests  Ps=8+code for test(s)
	ESC # 8		Fill screen with "Es"

  TRANSMISSION requests	(VT131 only)
	ESC S		Request character block transmission
	ESC 5		Initiate character block transmission

  TRANSMISSION termination character	(VT131 only)
	ESC [ 0 |	Select no end-of-block character
	ESC [ 1 |	Select <FF>  (014) as end-of-block character
	ESC [ 2 |	Select <ETX> (003) as end-of-block character
	ESC [ 3 |	Select <EOT> (004) as end-of-block character
	ESC [ 4 |	Select <CR>  (015) as end-of-block character
	ESC [ 5 |	Select <DC3> (023) as end-of-block character

.ENDM

VT220.mac
.MACRO	VT220
VT220		Escape sequences for VT220 terminal

  SYNTAX
	Sequences have no embedded spaces (only used here for clarity).
	Parameters P? are strings of zero or more decimal characters.

	    Control code     VT100 mode		VT220 mode
		SS2		ESC N		216(octal)
		SS3		ESC O		217(octal)
		DCS		ESC P		220(octal)
		CSI		ESC [		233(octal)
		ST		ESC \		234(octal)

  CHARACTER
   ATTRIBUTES
	CSI m		Reset all character attributes off
	CSI 0 m		Reset all character attributes off
	CSI 1 m		Set bold on
	CSI 4 m		Set underscore on
	CSI 5 m		Set blink on
	CSI 7 m		Set reverse video on
	CSI 2;2 m	Set bold off
	CSI 2;4 m	Set underscore off
	CSI 2;5 m	Set blink off
	CSI 2;7 m	Set reverse video off
	CSI Ps;Ps m	Set multiple attributes
	CSI 0 " q	All erase attributes off
	CSI 1 " q	Set non-erasable on
	CSI 2 " q	Set non-erasable off

   SETS
	ESC ( A		Select UK character set as G0
	ESC ) A		Select UK character set as G1
	ESC ( B		Select ASCII character set as G0
	ESC ) B		Select ASCII character set as G1
	ESC * B		Select ASCII character set as G2
	ESC + B		Select ASCII character set as G3
	ESC ( 0		Select Special Graphics character set as G0
	ESC ) 0		Select Special Graphics character set as G1
	ESC * 0		Select Special Graphics character set as G2
	ESC + 0		Select Special Graphics character set as G3
	ESC ( <		Select Supplemental character set as G0
	ESC ) <		Select Supplemental character set as G1
	ESC * <		Select Supplemental character set as G2
	ESC + <		Select Supplemental character set as G3
	SS2		Select the G2 character set for one character
	SS3		Select the G3 character set for one character

  CURSOR
   MOVEMENT
	ESC D		Move cursor down one line, scrolling at bottom
	ESC E		Move cursor to start of next line, scrolling at bottom
	ESC M		Move cursor up one line, scrolling at top
	CSI Pn A	Move cursor up    Pn lines
	CSI Pn B	Move cursor down  Pn lines
	CSI Pn C	Move cursor right Pn columns
	CSI Pn D	Move cursor left  Pn columns
   POSITION
	CSI H		Position cursor at home
	CSI Pl;Pc H	Position cursor at line Pl, column Pc
	CSI f		Position cursor at home
	CSI Pl;Pc f	Position cursor at line Pl, column Pc
   SAVE/RESTORE
	ESC 7		Save cursor position, graphic rendition, character set
	ESC 8		Restore cursor, graphic rendition, character set

  EDITING commands
	CSI Pn L	Insert Pn lines at current line
	CSI Pn M	Delete Pn lines at current line
	CSI Pn @	Insert Pn blank characters at cursor position
	CSI Pn P	Delete Pn characters at cursor position

  ERASE
   CHARACTER
	CSI Pn X	Erase Pn characters from cursor
   LINE
	CSI K		Erase line from cursor to end of line
	CSI 0 K		Erase line from cursor to end of line
	CSI 1 K		Erase line from start of line to cursor
	CSI 2 K		Erase entire line
	CSI ? K		Erase all erasable chars from cursor to end of line
	CSI ? 0 K	Erase all erasable chars from cursor to end of line
	CSI ? 1 K	Erase all erasable chars from start of line to cursor
	CSI ? 2 K	Erase all erasable characters in line
   SCREEN
	CSI J		Erase screen from cursor to end of screen
	CSI 0 J		Erase screen from cursor to end of screen
	CSI 1 J		Erase screen from beginning of screen to cursor
	CSI 2 J		Erase entire screen
	CSI ? J		Erase all erasable chars from cursor to end of screen
	CSI ? 0 J	Erase all erasable chars from cursor to end of screen
	CSI ? 1 J	Erase all erasable chars from start screen to cursor
	CSI ? 2 J	Erase all erasable characters on screen

  KEY codes	    Numeric mode    Application mode	VT200 mode

   UP			CSI A		SS3 A		same
   DOWN			CSI B		SS3 B		same
   RIGHT		CSI C		SS3 C		same
   LEFT			CSI D		SS3 D		same

   PF1			SS3 P		SS3 P		same
   PF2			SS3 Q		SS3 Q		same
   PF3			SS3 R		SS3 R		same
   PF4			SS3 S		SS3 S		same
   ENTER		RETURN		SS3 M		same
   ,			,		SS3 l		same
   -			-		SS3 m		same
   .			.		SS3 n		same
   0			0		SS3 p		same
   1			1		SS3 q		same
   2			2		SS3 r		same
   3			3		SS3 s		same
   4			4		SS3 t		same
   5			5		SS3 u		same
   6			6		SS3 v		same
   7			7		SS3 w		same
   8			8		SS3 x		same
   9			9		SS3 y		same

   FIND							CSI 1 ~
   INSERT HERE						CSI 2 ~
   REMOVE						CSI 3 ~
   SELECT						CSI 4 ~
   PREV SCREEN						CSI 5 ~
   NEXT SCREEN						CSI 6 ~

   F6							CSI 1 7 ~
   F7							CSI 1 8 ~
   F8							CSI 1 9 ~
   F9							CSI 2 0 ~
   F10							CSI 2 1 ~
   F11			ESC		ESC		CSI 2 3 ~
   F12			BS		BS		CSI 2 4 ~
   F13			LF		LF		CSI 2 5 ~
   F14							CSI 2 6 ~
   HELP							CSI 2 8 ~
   DO							CSI 2 9 ~
   F17							CSI 3 1 ~
   F18							CSI 3 2 ~
   F19							CSI 3 3 ~
   F20							CSI 3 4 ~

  LINE attributes
	ESC # 3		Convert current line to top half of double-height line
	ESC # 4		Convert current line to bottom of double-height line 
	ESC # 5		Convert current line to single-height single-width
	ESC # 6		Convert current line to double width

  MODE
   RESET
	ESC >		Reset keypad mode to numeric
	CSI 2 l		Reset keyboard action mode to unlocked
	CSI 4 l		Reset character insert/replace mode to replace
	CSI 12 l	Reset local echo on
	CSI 20 l	Reset linefeed/newline mode to linefeed
	CSI Ps;Ps l	Reset multiple modes
	CSI ? 1 l	Reset cursor key mode to ANSI
	CSI ? 2 l	Reset ANSI/VT52 mode to VT52
	CSI ? 3 l	Reset column mode to 80 columns per line
	CSI ? 4 l	Reset scrolling mode to jump
	CSI ? 5 l	Reset screen mode to normal
	CSI ? 6 l	Reset origin mode to absolute
	CSI ? 7 l	Reset wraparound off
	CSI ? 8 l	Reset auto repeat off
	CSI ? 18 l	Reset print termination character off
	CSI ? 19 l	Reset printer extent to scrolling region
	CSI ? 25 l	Reset text cursor off
	CSI ? Ps;Ps l	Reset multiple modes
   SET
	ESC =		Set keypad mode to application
	CSI 2 h		Set keyboard action mode to locked
	CSI 4 h		Set character insert/replace mode to insert
	CSI 12 h	Set local echo off
	CSI 20 h	Set linefeed/newline mode to newline
	CSI Ps;Ps h	Set multiple modes
	CSI ? 1 h	Set cursor key mode to application
	CSI ? 3 h	Set column mode to 132 columns per line
	CSI ? 4 h	Set scrolling mode to smooth
	CSI ? 5 h	Set screen mode to reverse video
	CSI ? 6 h	Set origin mode to relative
	CSI ? 7 h	Set wraparound on
	CSI ? 8 h	Set auto repeat on
	CSI ? 18 h	Set print termination character to <FF>
	CSI ? 19 h	Set printer extent to full screen
	CSI ? 25 h	Set text cursor on
	CSI ? Ps;Ps h	Set multiple modes

  PRINT commands
	CSI i		Print screen
	CSI 0 i		Print screen
	CSI 4 i		Turn off printer controller (print through)
	CSI 5 i		Turn on  printer controller (print through)
	CSI ? 1 i	Print cursor line
	CSI ? 4 i	Turn off auto-print
	CSI ? 5 i	Turn on  auto-print

  REPORT requests
	CSI c		Request product identification report
	CSI 0 c		Request product identification report
	CSI > c		Request product identification report
	CSI > 0 c	Request product identification report
	CSI 5 n		Request terminal status report
	CSI 6 n		Request cursor position report
	CSI ? 15 n	Request printer status report
	CSI ? 25 n	Request user defined keys status report

  RESET
	ESC c		Reset terminal to power-up state
	CSI ! p		Soft terminal reset

  SCROLLING region
	CSI Pt;Pb r	Set scrolling region top to line Pt, bottom to line Pb

  TABS
	ESC H		Set horizontal tab stop at cursor
	CSI g		Clear horizontal tab stop at cursor
	CSI 0 g		Clear horizontal tab stop at cursor
	CSI 3 g		Clear all horizontal tab stops

  TERMINAL
	CSI 6 1 " p	Set terminal for level 1 (VT100 mode)
	CSI 6 2 " p	Set terminal for level 2 (VT200 mode, 8-bit controls)
	CSI 6 2;0 " p	Set terminal for level 2 (VT200 mode, 8-bit controls)
	CSI 6 2;1 " p	Set terminal for level 2 (VT200 mode, 7-bit controls)
	CSI 6 2;2 " p	Set terminal for level 2 (VT200 mode, 8-bit controls)

  TESTS
	ESC # 8		Fill screen with "E"s
	CSI 4;0 y	Invoke tests 1,2,3,6
	CSI 4;1 y	Invoke power-up self-test
	CSI 4;2 y	Invoke EIA port data loopback test
	CSI 4;3 y	Invoke printer port loopback test
	CSI 4;6 y	Invoke EIA modem control line loopback test
	CSI 4;7 y	Invoke 20 mA port loopback test
	CSI 4;Ps;9 y	Repeat test Ps

  TRANSMISSION
	ESC sp F	Send 7-bit escape codes
	ESC sp G	Send 8-bit escape codes

  USER defined keys
	DCS Pc;Pl | k1/s1;..;kn/sn ST	Define keys k? to have values s?

  VT52 commands
   CHARACTER sets
	ESC F		Select special graphics character set
	ESC G		Select ASCII character set
   CURSOR
	ESC A		Cursor up
	ESC B		Cursor down
	ESC C		Cursor right
	ESC D		Cursor left
	ESC H		Cursor home
	ESC I		Reverse line feed
	ESC Y l c	Move cursor to line=l, column=c
   ERASE
	ESC J		Erase to end of screen
	ESC K		Erase to end of line
   MODE
	ESC <		Set ANSI/VT52 mode to ANSI
	ESC =		Enter alternate keypad mode
	ESC >		Exit alternate keypad mode
   PRINTER
	ESC ^		Enter auto print mode
	ESC _		Exit auto print mode
	ESC ]		Print screen
	ESC V		Print cursor line
	ESC W		Enter printer controller mode
	ESC X		Exit printer controller mode
   REPORT
	ESC Z		Identify

.ENDM

WHO.mac
.MACRO	WHO
WHO		Displays TSX-plus system performance information

  SYNTAX
	WHO[/option]

  SEMANTICS
	Displays TSX-plus system performance information and job details.
	(Equivalent to SYSTAT).

  OPTIONS
   PPN
	Displays the project-programmer number in place of the user name

  EXAMPLES
	WHO
.ENDM

YELL.mac
.MACRO	YELL
YELL		Forces a message to a TSX-plus terminal

  SYNTAX
	YELL,line message

  SEMANTICS
	Forces 'message' on the specified TSX-plus line, overriding
	any TT GAG setting.
	The special names ALL, OPERATOR and PARENT may be used
	in lieu of a line number.

  OPTIONS
	None

  EXAMPLES
	YELL,ALL System reboot in 5 seconds, please log o~
	YELL,9 Ken, are you ready for lunch ?
.ENDM

