Please enable JavaScript to view this site.

A-Shell Reference

Code

Action

 

Code

Action

0

Clear screen and set normal intensity

 

80

Set to wide (132 column) mode

1

Cursor home (move to col 1, row 1)

 

81

Set to normal (80 column) mode

2

Cursor return (move to col 1 without linefeed)

 

82

Enter transparent print mode

3

Cursor up one row

 

83

Exit transparent print mode

4

Cursor down one row

 

84-90

Undefined, unsupported, reserved

5

Cursor left one column

 

91

Block fill with character

6

Cursor right one column

 

92

Draw a box

7

Lock keyboard

 

93

Scroll box up one line

8

Unlock keyboard

 

94

Scroll box down one line

9

Erase to end of line

 

95-99

Undefined, unsupported, reserved

10

Erase to end of screen

 

100

Start underscored, blinking field

11

Enter background display mode (reduced intensity)

 

101

End underscored, blinking field

12

Enter foreground display mode (normal intensity)

 

102

Start underscored, reverse field

13

Enable protected fields

 

103

End underscored, reverse field

14

Disable protected fields

 

104

Start underscored, reverse, blinking field

15

Delete line

 

105

End underscored, reverse, blinking field

16

Insert line

 

106

Start underscored text without space

17

Delete character

 

107

End underscored text without space

18

Insert character

 

108

Start reverse text without space

19-20

Undefined, unsupported, reserved

 

109

End reverse text without space

21

Start blinking field

 

110

Start reverse blinking text without space

22

End blinking field

 

111

End reverse blinking text without space

23

Start line drawing mode / enable alt char set

 

112

Start underscored blinking text without space

24

End line drawing mode / disable alt char set

 

113

End underscored blinking text without space

25-26

Undefined, unsupported, reserved

 

114

Start underscored reverse text without space

27

Set terminal attributes

 

115

End underscored reverse text without space

28

Cursor on

 

116

Start underscored reverse blinking text w/out space

29

Cursor off

 

117

End underscored reverse blinking text w/out space

30

Start underscore

 

118

Start blink without space

31

End underscore

 

119

End blink without space

32

Start reverse video

 

120

Set cursor to blinking block

33

End reverse video

 

121

Set cursor to steady block

34

Start reverse blink

 

122

Set cursor to blinking underline

35

End reverse blink

 

123

Set cursor to steady underline

36

Turn off screen display

 

124-127

Undefined, unsupported, reserved

37

Turn on screen display

 

128

Select top status line without address

38

Top left corner

 

129

End status line (all kinds)

39

Top right corner

 

130

Select unshifted status line without address

40

Bottom left corner

 

131

Select shifted status line without address

41

Bottom right corner

 

132

Select black text (AM70-style color)

42

Top intersect

 

133

Select white text

43

Right intersect

 

134

Select blue text

44

Left intersect

 

135

Select magenta text

45

Bottom intersect

 

136

Select red text

46

Horizontal line

 

137

Select yellow text

47

Vertical line

 

138

Select green text

48

Intersection

 

139

Select cyan text

49

Solid block

 

140

Select black reverse text

50

Slant block

 

141

Select white reverse text

51

Cross-hatch block

 

142

Select blue reverse text

52

Double line horizontal

 

143

Select magenta reverse text

53

Double line vertical

 

144

Select red reverse text

54

Send message to function key line

 

145

Select yellow reverse text

55

Send message to shifted function key line

 

146

Select green reverse text

56-62

Undefined, unsupported, reserved

 

147

Select cyan reverse text

63

Send message to host message field

 

148

Amigos-style save area

64

Up-arrow

 

149

Amigos-style restore area

65

Down-arrow

 

150-157

Undefined, unsupported, reserved

66

Raised dot

 

158

Enable Mouse Cursor Reporting

67

End of line marker

 

159

Disable Mouse Cursor Reporting

68

Horizontal tab symbol

 

160

Insight / AM75 set cursor shape. See Mouse Interaction.

69

Paragraph

 

161

Undefined, unsupported, reserved

70

Dagger

 

162

Insight / AM75 define hot spot. Mouse Interaction.

71

Section

 

163-191

Undefined, unsupported, reserved

72

Cent sign

 

192

Insight id (Unix only)

73

One-quarter

 

193-200

Undefined, unsupported, reserved

74

One-half

 

201

Tracker save screen attributes

75

Degree

 

202

Tracker save entire screen

76

Trademark

 

203

Tracker restore entire screen

77

Copyright

 

253

Display Euro symbol

78

Registered

 

254

Flush Screen Output Buffer

79

Undefined, unsupported, reserved