ANSI X3.64

The most common functions in ANSI X3.64 are:

WRITE /CBT(number)
Cursor backward tabulation. The numeric parameter identifies the number of backward tabulator-jumps that is to be executed.
Default parameter value is 1.

WRITE /CHA(number)
Cursor horizontal absolute. The numeric parameter identifies the horizontal coordinate to which the cursor is positioned.
Default parameter value is 1.

WRITE /CHT(number)
Cursor horizontal tabulation. The numeric parameter identifies the number of tabulator-jumps that is to be executed.
Default parameter value is 1.

WRITE /CNL(number)
Cursor next line. The numeric parameter identifies the number of lines that the cursor is to move down.
Default parameter value is 1.

WRITE /CPL(number)
Cursor previous line. The numeric parameter identifies the number of lines that the cursor it to move up.
Default parameter value is 1.

WRITE /CPR READ X
Request cursor position report.
This command will cause that a control string is sent to the current device. In response, the device will send a control-string that identifies the current cursor position.
After the READ command completes, local variable X will be equal to the empty string, and special variable $KEY will contain the control string that was returned by the device.

WRITE /CTC(code)
Cursor tabulation control. The numeric code identifies the control action to be taken.
Default parameter value is 0.
Possible codes:
0 = Set horizontal stop at active position [default]
1 = Set vertical stop at active line
2 = Clear horizontal stop at active position
3 = Clear vertical stop at active position
4 = Clear all horizontal stops in active line
5 = Clear all horizontal stops for device
6 = Clear all vertical stops

WRITE /CUB(number)
Cursor backward. The numeric parameter identifies the number of positions that the cursor is to move back.
Default parameter value is 1.

WRITE /CUD(number)
Cursor down. The numeric parameter identifies the number of lines that the cursor is to move down.
Default parameter value is 1.

WRITE /CUF(number)
Cursor forward. The numeric parameter identifies the number of positions that the cursor is to move forward.
Default parameter value is 1.

WRITE /CUP(vertical,horizontal)
Cursor position. The first numeric parameter identifies the verticalcoordinate to which the cursor is to be moved. The second numeric parameter identifies the horizontal coordinate.
Default parameter values are 1 and 1.

WRITE /CUU(number)
Cursor up. The numeric parameter identifies the number of lines that the cursor is to move up.
Default parameter value is 1.

WRITE /CVT(number)
Cursor vertical tabulation. The numeric paremeter identifies the number of tabulator-jumps that is to be executed.
Default parameter value is 1.

WRITE /DA READ X
Request Device attributes.
This command will cause that a control string is sent to the current device. In response, the device will send a control-string that identifies the device attributes.
After the READ command completes, local variable X will be equal to the empty string, and special variable $KEY will contain the control string that was returned by the device.

WRITE /DAQ(code)
Define area qualification. The numeric parameter identifies the qualification for the selected area.
Default parameter value is 0.
Possible codes are:
0 = Accept all input [default]
1 = Accept no input (protected) and do not transmit (guarded)
2 = Accept graphics
3 = Accept numerics
4 = Accept alphabetics
5 = Right justify in area
6 = Zero fill in area
7 = Horizontal tab stop at start of area (start field)
8 = Accept no input (protected) but select for transmission (unguarded)
9 = Space fill in area

WRITE /DCH(number)
Delete character. The numeric parameter identifies the number of characters to be deleted.
Default parameter value is 1.

WRITE /DL(number)
Delete line. The numeric parameter identifies the number of lines to be deleted.
Default parameter value is 1.

WRITE /DSR READ X
Request device status report.
This command will cause that a control string is sent to the current device. In response, the device will send a control-string that identifies the device status.
After the READ command completes, local variable X will be equal to the empty string, and special variable $KEY will contain the control string that was returned by the device.

Possible return-code values are:
0 = Ready, no malfunctions detected [default]
1 = Busy, try again later
2 = Busy, will notify when ready
3 = Malfunction, retry
4 = Malfunction, will notify when ready
5 = Please report status
6 = Please report active position

WRITE /EA(code)
Erase in area. The numeric parameter identifies which sub-area is to be erased.
Default parameter value is 0.
Possible code values are:
0 = From active position to end [default]
1 = From start to active position
2 = All of qualified area inclusive

WRITE /ECH(code)
Erase character. The numeric parameter identifies the number of characters to be erased.
Default parameter value is 1.

WRITE /ED(code)
Erase in display. The numeric parameter identifies which sub-area is to be erased.
Default parameter value is 0.
Possible code values are:
0 = From active position to end [default]
1 = From start to active position
2 = All of display

WRITE /EF(code)
Erase in field. The numeric parameter identifies which sub-area is to be erased.
Default parameter value is 0.
Possible code values are:
0 = From active position to end [default]
1 = From start to active position
2 = All of field inclusive

WRITE /EL(code)
Erase in line. The numeric parameter identifies which sub-area is to be erased.
Default parameter value is 0.
Possible code values are:
0 = From active position to end [default]
1 = From start to active position
2 = All of line

WRITE /FNT(font,size)
Font selection. The first numeric parameter identifies the font to be selected. The second numeric parameter identifies the stylistic attributes that are to be activated for the font.
Default parameter values are 0 and 0.
Possible font-code values are:
0 = Primary font [default]
1 = First alternative font
2 = Second alternative font
3 = Third alternative font
4 = Fourth alternative font
5 = Fifth alternative font
6 = Sixth alternative font
7 = Seventh alternative font
8 = Eighth alternative font
9 = Ninth alternative font

WRITE /GSM(horizontal,vertical)
Graphic size modification. The first numeric parameter identifies the relative vertical size change as a percentage of the current size.The second numeric parameter identifies the relative horizontal size change as a percentage of the current size.
Default parameter values are 100 and 100.

WRITE /GSS(number)
Graphic size selection. The numeric parameter identifies the vertical size of the font to be selected, expressed in units of decipoints.
No default parameter value.

WRITE /HPA(number)
Horizontal position absolute. The numeric parameter identifies the horizontal coordinate to which the cursor is to be moved.
Default parameter value is 1.

WRITE /HPR(number)
Horizontal position relative. The numeric parameter identifies the number of positions that the cursor is to be moved forward.
Default parameter value is 1.

WRITE /HTS
Horizontal tabulation set at current cursor position.

WRITE /HVP(vertical,horizontal)
Horizontal and vertical position. The first numeric parameter identifies the vertical coordinate to which the cursor is to be moved, the second numeric parameter identifies the horizontal position.
Default parameter values are 1 and 1.

WRITE /ICH(number)
Insert character. The numeric parameter identifies the number of characters to be inserted.
Default parameter value is 1.

WRITE /IL(number)
Insert line. The numeric parameter identifies the number of lines to be inserted.
Default parameter value is 1.

WRITE /JFY(code)
Justify. The numeric parameter is a code for the type of justification.
Default parameter value is 0.
Possible code values are:
0 = Terminate all justification [default]
1 = Fill action on (text to or from other lines)
2 = Interword spacing
3 = Letter spacing
4 = Hyphenation
5 = Flush left margin
6 = Center text between margins
7 = Flush right margin
8 = Italian form (arbitrary word break with underscore)

WRITE /MC(code)
Media copy. The numeric parameter is a code for the type of copy operation.
Default parameter value is 0.
Possible code values are:
0 = To primary auxiliary device [default]
1 = From primary auxiliary device
2 = To secondary auxiliary device
3 = From secondary auxiliary device
4 = Turn off copying received data stream to primary auxiliary device
5 = Turn on copying received data stream to primary auxiliary device
6 = Turn off copying received data stream to secondary auxiliary device
7 = Turn on copying received data stream to secondary auxiliary device

WRITE /NP(number)
Next page. The numeric parameter identifies the number of pages that the cursor is to be moved down.
Default parameter value is 1.

WRITE /PP(number)
Previous page. The numeric parameter identifies the number of pages that the cursor is to be moved up.
Default parameter value is 1.

WRITE /QUAD(code)
Quad - fill out. The numeric parameter is a code for the type of fill operation that is to be executed.
Default parameter value is 0.
Possible code values are:
0 = Flush left [default]
1 = Flush left and fill with leader
2 = Center
3 = Center and fill with leader
4 = Flush right
5 = Flush right and fill with leader

WRITE /REP(number)
Repeat. The numeric parameter identifies the number of times that the preceding character is to be repeated.
Default parameter value is 1.

WRITE /RM(code)
Reset mode. The parameter identifies the mode that is to be reset (turned off).
No default parameter value.
See WRITE /SM(code) for a list of possible code values.

WRITE /SD(number)
Scroll down. The numeric parameter identifies the number of lines that the cursor is to scroll down.
Default parameter value is 1.

WRITE /SEM(code)
Select editing extent mode. The numeric parameter is a code that defines the editing extent.
Default parameter value is 0.
Possible code values are:
0 = Edit in display [default]
1 = Edit in line
2 = Edit in field (between horizontal tab stops)
3 = Edit in qualified area (defined by DAQ, SPA or EPA)

WRITE /SGR(code,...)
Set graphic rendition. The numeric parameters are codes for the combination of attributes that is to be activated.
Default parameter value is 0.
Possible code values are:
0 = Primary rendition [default]
1 = Bold or increased intensity
2 = Faint or decreased intensity
3 = Italic
4 = Underscored
5 = Slow blink (slower than 150 per minute)
6 = Rapid blink (equal to or faster than 150 per minute)
7 = Negative (reverse) image
10 = Primary font (see FNT)
11 = First alternative font (see FNT)
12 = Secondary alternative font (see FNT)
13 = Third alternative font (see FNT)
14 = Fourth alternative font (see FNT)
15 = Fifth alternative font (see FNT)
16 = Sixth alternative font (see FNT)
17 = Seventh alternative font (see FNT)
18 = Eighth alternative font (see FNT)
19 = Ninth alternative font (see FNT)
20 = Fraktur

WRITE /SL(number)
Scroll left. The numeric paremeter identifies the number of positions that the cursor is to be scrolled to the left.
Default parameter value is 1.

WRITE /SM(code)
Set mode. The parameter is a code for the mode that is to be set (turned on).
This function has no default parameter value.
Possible code values are:
1 = Guarded area transfer mode
2 = Keyboard action mode
3 = Control representation mode
4 = Insertion/replacement mode
5 = Status reporting mode
6 = Erasure mode
7 = Vertical editing mode
10 = Horizontal editing mode
11 = Positioning unit mode
12 = Send/receive mode
13 = Format effector action mode
14 = Format effector transfer mode
15 = Multiple area transfer mode
16 = Transfer termination mode
17 = Selected area transfer mode
18 = Tabulation stop mode
19 = Editing boundary mode
20 = Line feed/new line mode

WRITE /SPI(number)
Spacing increment. The numeric parameter identifies the number of units that the cursor is to move forward to represent a 'single fixed space'.
This function has no default parameter value.

WRITE /SR(number)
Scroll right. The numeric parameter identifies the number of positions that the cursor is to be scrolled to the right.
Default parameter value is 1.

WRITE /SU(number)
Scroll up. The numeric parameter identifies the number of lines that the cursor is to be scrolled up.
Default parameter value is 1.

WRITE /TBC(code)
Tabulation clear. The numeric parameter is a code for the tabulation clear action that is to be executed.
Default parameter value is 0.
Possible code values are:
0 = Clear horizontal tabulation stop at active position
1 = Clear vertical tabulation stop at active line
2 = Clear all horizontal tabulation stops in active line
3 = Clear all horizontal tabulation stops
4 = Clear all vertical tabulation stops

WRITE /TSS(number)
Thin space specification.The numeric parameter identifies the number of units that the cursor is to move forward to represent a 'thin space'.
This function has no default parameter value.

WRITE /VPA(number)
Vertical position absolute. The numeric parameter identifies the vertical coordinate to which the cursor is to be moved.
Default parameter value is 1.

WRITE /VPR(number)
Vertical position relative. The numeric parameter identifies the number of lines that the cursor is to be moved.
Default parameter value is 1.


This document is © Ed de Moel, 1995-2005.
It is part of a book by Ed de Moel that is published under the title "M[UMPS] by Example" (ISBN 0-918118-42-5).
Printed copies of the book are no longer available.