Difference between revisions of "CodeChart:HP 2648A/HP 2648 Mode/ESC"

From Terminals
Jump to: navigation, search
m (clear all tabs)
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[:Special:PrefixIndex/{{FULLPAGENAME}}/|Subpages of {{SUBPAGENAME}}]]
 
[[:Special:PrefixIndex/{{FULLPAGENAME}}/|Subpages of {{SUBPAGENAME}}]]
  
{| border="1" style="text-align: center;"
+
{|
! style="width: 3em;" |   !! style="width: 3em;" | 0 !! style="width: 3em;" | 1
+
| valign="top" align="right" |
! style="width: 3em;" | 2 !! style="width: 3em;" | 3 !! style="width: 3em;" | 4
+
{{CodeChart
! style="width: 3em;" | 5 !! style="width: 3em;" | 6 !! style="width: 3em;" | 7
+
| title=Received
 +
| a=#cursor-up
 +
| b=#cursor-down
 +
| c=#cursor-right
 +
| d=#cursor-left
 +
| e=#reset-terminal
 +
| f=#cursor-home-down
 +
| g=#cursor-return
 +
| h=#home-cursor
 +
| i=#horizontal-tab
 +
| j=#clear-display
 +
| k=#erase-to-eol
 +
| l=#insert-line
 +
| m=#delete-line
 +
| n=#insert-char-wrap
 +
| o=#delete-char-wrap
 +
| p=#delete-char
 +
| q=#insert-char-on
 +
| r=#insert-char-off
 +
| s=#roll-up
 +
| t=#roll-down
 +
| u=#next-page
 +
| v=#previous-page
 +
| w=#format-mode-on
 +
| x=#format-mode-off
 +
| y=#display-functions-on
 +
| z=#display-functions-off
 +
| lowera=#cursor-absolute-sense
 +
| lowerb=#keyboard-enable
 +
| lowerc=#keyboard-disable
 +
| lowerd=#send-display
 +
| lowere=#binary-read
 +
| lowerf=#modem-disconnect
 +
| lowerg=#soft-reset
 +
| lowerh=#home-cursor-no-transmit
 +
| loweri=#back-tab
 +
| lowerj=#soft-key-display-on
 +
| lowerk=#soft-key-display-off
 +
| lowerl=#memory-lock-on
 +
| lowerm=#memory-lock-off
 +
| lowerx=#data-comm-self-test
 +
| lowery=#monitor-mode-on
 +
| lowerz=#terminal-self-test
 +
| one=#set-tab
 +
| two=#clear-tab
 +
| three=#clear-all-tabs
 +
| four=#set-left-margin
 +
| five=#set-right-margin
 +
| six=#start-alpha-field
 +
| seven=#start-numeric-field
 +
| eight=#start-alphanumeric-field
 +
| at=#delay-1sec
 +
| backquote=#cursor-relative-sense
 +
| closeparen=#select-alt-charset
 +
| openbracket=#start-unprotected-field
 +
| openbrace=#start-transmit-only-field
 +
| closebracket=#end-field
 +
| caret=#terminal-primary-status
 +
| tilde=#send-secondary-status
 +
| underscore=#insert-non-displayed-terminator
 +
| amp=/Ampersand
 +
| asterisk=/Asterisk
 +
}}
 +
| style="width: 2ex;" |
 +
| valign="top" |
 +
{{CodeChart
 +
| title=Transmitted
 +
| lowerp=#f1
 +
| lowerq=#f2
 +
| lowerr=#f3
 +
| lowers=#f4
 +
| lowert=#f5
 +
| loweru=#f6
 +
| lowerv=#f7
 +
| lowerw=#f8
 +
| backslash=#primary-status-report
 +
| pipe=#secondary-status-report
 +
| amp=/Ampersand
 +
}}
 
|-
 
|-
! 0
+
| valign="top" |
| NUL || DLE || SP || 0 || @ || P || [[#cursor-sense-relative|'''`''']] || p
+
{| class="wikitable"
|-
+
|+ ESC Control Sequences
! 1
+
{{CodeDescriptionHeader}}
| SOH || DC1 || !  || [[#set-tab-cursor|'''1''']] || A || Q || [[#cursor-sense-absolute|'''a''']] || q
+
{{CodeDescriptionRow|)|select-alt-charset|Select Alternate Character Set|''charset''}}
|-
+
{{CodeDescriptionRow|1|set-tab|Set Tab at Cursor}}
! 2
+
{{CodeDescriptionRow|2|clear-tab|Clear Tab at Cursor}}
| STX || DC2 || "  || [[#clear-tab-cursor|'''2''']] || B || R || b || r
+
{{CodeDescriptionRow|3|clear-all-tabs|Clear All Tabs}}
|-
+
{{CodeDescriptionRow|4|set-left-margin|Set Left Margin at Cursor}}
! 3
+
{{CodeDescriptionRow|5|set-right-margin|Set Right Margin at Cursor}}
| ETX || DC3 || #  || [[#clear-all-tabs|'''3''']] || C || S || c || s
+
{{CodeDescriptionRow|6|start-alpha-field|Start Alphabetic Field}}
|-
+
{{CodeDescriptionRow|7|start-numeric-field|Start Numeric Field}}
! 4
+
{{CodeDescriptionRow|8|start-alphanumeric-field|Start Alphanumeric Field}}
| EOT || DC4 || || 4 || D || T || d || t
+
{{CodeDescriptionRow|@|delay-1sec|Delay One Second}}
|-
+
{{CodeDescriptionRow|A|cursor-up|Cursor Up}}
! 5
+
{{CodeDescriptionRow|B|cursor-down|Cursor Down}}
| ENQ || NAQ || || 5 || E || U || e || u
+
{{CodeDescriptionRow|C|cursor-right|Cursor Right}}
|-
+
{{CodeDescriptionRow|D|cursor-left|Cursor Left}}
! 6
+
{{CodeDescriptionRow|E|reset-terminal|Reset Terminal}}
| ACK || SYN || [[{{FULLPAGENAME}}/ampersand|'''&''']]  || 6 || F || V || f || v
+
{{CodeDescriptionRow|F|cursor-home-down|Cursor Home Down}}
|-
+
{{CodeDescriptionRow|G|cursor-return|Cursor Return}}
! 7
+
{{CodeDescriptionRow|H|home-cursor|Home Cursor Including Transmit-Only Fields}}
| BEL || ETB || || 7 || G || W || g || w
+
{{CodeDescriptionRow|I|horizontal-tab|Horizontal Tab}}
|-
+
{{CodeDescriptionRow|J|clear-display|Clear Display}}
! 8
+
{{CodeDescriptionRow|K|erase-to-eol|Erase to End of Line}}
| BS  || CAN || || 8 || H || X || h || x
+
{{CodeDescriptionRow|L|insert-line|Insert Line}}
|-
+
{{CodeDescriptionRow|M|delete-line|Delete Line}}
! 9
+
{{CodeDescriptionRow|N|insert-char-wrap|Insert Character With Wrap On}}
| HT  || EM  || || 9 || I || Y || [[#tab-backwards|'''i''']] || y
+
{{CodeDescriptionRow|O|delete-char-wrap|Delete Character With Wrap}}
|-
+
{{CodeDescriptionRow|P|delete-char|Delete Character}}
! 10
+
{{CodeDescriptionRow|Q|insert-char-on|Insert Character On}}
| LF  || SUB || [[{{FULLPAGENAME}}/asterisk|'''*''']]  || : || J || Z || j || z
+
{{CodeDescriptionRow|R|insert-char-off|Insert Character Off}}
|-
+
{{CodeDescriptionRow|S|roll-up|Roll Up}}
! 11
+
{{CodeDescriptionRow|T|roll-down|Roll Down}}
| VT || ESC || + || ; || K || [ || k || {
+
{{CodeDescriptionRow|U|next-page|Next Page}}
|-
+
{{CodeDescriptionRow|V|previous-page|Previous Page}}
! 12
+
{{CodeDescriptionRow|W|format-mode-on|Format Mode On}}
| FF || IS4 || , || < || L || \ || l || |
+
{{CodeDescriptionRow|X|format-mode-off|Format Mode Off}}
|-
+
{{CodeDescriptionRow|Y|display-functions-on|Display Functions On}}
! 13
+
{{CodeDescriptionRow|Z|display-functions-off|Display Functions Off}}
| CR || IS3 || - || = || M || ] || m || }
+
{{CodeDescriptionRow|[|start-unprotected-field|Start Unprotected Field}}
|-
+
{{CodeDescriptionRow|]|end-field|End Field}}
! 14
+
{{CodeDescriptionRow|^|terminal-primary-status|Terminal Primary Status}}
| SO || IS2 || . || > || N || ^ || n || ~
+
{{CodeDescriptionRow|_|insert-non-displayed-terminator|Insert Non-displayed Terminator}}
|-
+
{{CodeDescriptionRow|`|cursor-relative-sense|Cursor Relative Sense}}
! 15
+
{{CodeDescriptionRow|a|cursor-absolute-sense|Cursor Absolute Sense}}
| SI || IS1 || / || ? || O || _ || o || DEL
+
{{CodeDescriptionRow|b|keyboard-enable|Keyboard Enable}}
 +
{{CodeDescriptionRow|c|keyboard-disable|Keyboard Disable}}
 +
{{CodeDescriptionRow|d|send-display|Send Display}}
 +
{{CodeDescriptionRow|e|binary-read|Binary Read}}
 +
{{CodeDescriptionRow|f|mdoem-disconnect|Modem Disconnect}}
 +
{{CodeDescriptionRow|g|soft-reset|Soft Reset}}
 +
{{CodeDescriptionRow|h|home-cursor-no-transmit|Home Cursor Excluding Transmit-Only Fields}}
 +
{{CodeDescriptionRow|i|back-tab|Back Tab}}
 +
{{CodeDescriptionRow|j|soft-key-display-on|Soft Key Display On}}
 +
{{CodeDescriptionRow|k|soft-key-display-off|Soft Key Display Off}}
 +
{{CodeDescriptionRow|l|memory-lock-on|Memory Lock On}}
 +
{{CodeDescriptionRow|m|memory-lock-off|Memory Lock Off}}
 +
{{CodeDescriptionRow|x|data-comm-self-test|Data Communications Self Test}}
 +
{{CodeDescriptionRow|y|monitor-mode-on|Monitor Mode On}}
 +
{{CodeDescriptionRow|z|terminal-self-test|Terminal Self Test}}
 +
{{CodeDescriptionRow|{|start-transmit-only-field|Start Transmit-Only Field}}
 +
{{CodeDescriptionRow|~|send-secondary-status|Send Secondary Status}}
 +
|}
 +
|
 +
| valign="top" |
 +
{| class="wikitable"
 +
|+ ESC Control Sequences
 +
{{CodeDescriptionHeader}}
 +
{{CodeDescriptionRow|p|f1|f1 Key &dagger;}}
 +
{{CodeDescriptionRow|q|f2|f2 Key &dagger;}}
 +
{{CodeDescriptionRow|r|f3|f3 Key &dagger;}}
 +
{{CodeDescriptionRow|s|f4|f4 Key &dagger;}}
 +
{{CodeDescriptionRow|t|f5|f5 Key &dagger;}}
 +
{{CodeDescriptionRow|u|f6|f6 Key &dagger;}}
 +
{{CodeDescriptionRow|v|f7|f7 Key &dagger;}}
 +
{{CodeDescriptionRow|w|f8|f8 Key &dagger;}}
 +
{{CodeDescriptionRow|\|primary-status-report|Primary Status Report|''s0'' ''s1'' ''s2'' ''s3'' ''s4'' ''s5'' ''s6''}}
 +
{{CodeDescriptionRow|<nowiki>|</nowiki>|secondary-status-report|Secondary Status Report|''s0'' ''s1'' ''s2'' ''s3'' ''s4'' ''s5'' ''s6''}}
 
|}
 
|}
  
 
+
&dagger; '''Note:''' The transmit sequences for these keys can be redefined.
=== ESC Control Sequences ===
 
 
 
{| style="text-align: center;" border="1"
 
! style="padding: 1ex;" | Prefix !! style="padding: 1ex;" | Name !! style="padding: 1ex;" | Parameters
 
|-
 
! style="padding: 1ex;" | <span id="clear-tab-cursor">1</span>
 
| style="padding: 1ex;" | Set Tab at Cursor
 
| style="padding: 1ex;" | ''none''
 
|-
 
! style="padding: 1ex;" | <span id="clear-tab-cursor">2</span>
 
| style="padding: 1ex;" | Clear Tab at Cursor
 
| style="padding: 1ex;" | ''none''
 
|-
 
! style="padding: 1ex;" | <span id="clear-all-tabs">3</span>
 
| style="padding: 1ex;" | Clear All Tabs
 
| style="padding: 1ex;" | ''none''
 
|-
 
! style="padding: 1ex;" | <span id="cursor-sense-relative">`</span>
 
| style="padding: 1ex;" | Cursor Sense Relative
 
| style="padding: 1ex;" | ''none''
 
|-
 
! style="padding: 1ex;" | <span id="cursor-sense-absolute">a</span>
 
| style="padding: 1ex;" | Cursor Sense Absolute
 
| style="padding: 1ex;" | ''none''
 
|-
 
! style="padding: 1ex;" | <span id="tab-backwards">i</span>
 
| style="padding: 1ex;" | Move to Previous Tab
 
| style="padding: 1ex;" | ''none''
 
 
|}
 
|}

Latest revision as of 17:17, 15 February 2013

Subpages of ESC

Received
0 1 2 3 4 5 6 7
0 NUL DLE SP 0 @ P ` p
1 SOH DC1 ! 1 A Q a q
2 STX DC2 " 2 B R b r
3 ETX DC3 # 3 C S c s
4 EOT DC4 $ 4 D T d t
5 ENQ NAQ % 5 E U e u
6 ACK SYN & 6 F V f v
7 BEL ETB ' 7 G W g w
8 BS CAN ( 8 H X h x
9 HT EM ) 9 I Y i y
10 LF SUB * : J Z j z
11 VT ESC + ; K [ k {
12 FF IS4 , < L \ l |
13 CR IS3 - = M ] m }
14 SO IS2 . > N ^ n ~
15 SI IS1 / ? O _ o DEL
Transmitted
0 1 2 3 4 5 6 7
0 NUL DLE SP 0 @ P ` p
1 SOH DC1 ! 1 A Q a q
2 STX DC2 " 2 B R b r
3 ETX DC3 # 3 C S c s
4 EOT DC4 $ 4 D T d t
5 ENQ NAQ % 5 E U e u
6 ACK SYN & 6 F V f v
7 BEL ETB ' 7 G W g w
8 BS CAN ( 8 H X h x
9 HT EM ) 9 I Y i y
10 LF SUB * : J Z j z
11 VT ESC + ; K [ k {
12 FF IS4 , < L \ l |
13 CR IS3 - = M ] m }
14 SO IS2 . > N ^ n ~
15 SI IS1 / ? O _ o DEL
ESC Control Sequences
Prefix Description Parameters
) Select Alternate Character Set charset
1 Set Tab at Cursor none
2 Clear Tab at Cursor none
3 Clear All Tabs none
4 Set Left Margin at Cursor none
5 Set Right Margin at Cursor none
6 Start Alphabetic Field none
7 Start Numeric Field none
8 Start Alphanumeric Field none
@ Delay One Second none
A Cursor Up none
B Cursor Down none
C Cursor Right none
D Cursor Left none
E Reset Terminal none
F Cursor Home Down none
G Cursor Return none
H Home Cursor Including Transmit-Only Fields none
I Horizontal Tab none
J Clear Display none
K Erase to End of Line none
L Insert Line none
M Delete Line none
N Insert Character With Wrap On none
O Delete Character With Wrap none
P Delete Character none
Q Insert Character On none
R Insert Character Off none
S Roll Up none
T Roll Down none
U Next Page none
V Previous Page none
W Format Mode On none
X Format Mode Off none
Y Display Functions On none
Z Display Functions Off none
[ Start Unprotected Field none
] End Field none
^ Terminal Primary Status none
_ Insert Non-displayed Terminator none
` Cursor Relative Sense none
a Cursor Absolute Sense none
b Keyboard Enable none
c Keyboard Disable none
d Send Display none
e Binary Read none
f Modem Disconnect none
g Soft Reset none
h Home Cursor Excluding Transmit-Only Fields none
i Back Tab none
j Soft Key Display On none
k Soft Key Display Off none
l Memory Lock On none
m Memory Lock Off none
x Data Communications Self Test none
y Monitor Mode On none
z Terminal Self Test none
{ Start Transmit-Only Field none
~ Send Secondary Status none
ESC Control Sequences
Prefix Description Parameters
p f1 Key † none
q f2 Key † none
r f3 Key † none
s f4 Key † none
t f5 Key † none
u f6 Key † none
v f7 Key † none
w f8 Key † none
\ Primary Status Report s0 s1 s2 s3 s4 s5 s6
| Secondary Status Report s0 s1 s2 s3 s4 s5 s6

Note: The transmit sequences for these keys can be redefined.