发信人: monopoly (MN国庆回来还要带鱼片么?), 信区: BBS_Help
标 题: 终端体验之旅(一)
发信站: 日月光华 (2005年09月18日13:28:33 星期天), 站内信件
首先最重要的便是光标移动。
在没有方向键的旅行过程中,BBS为我们准备了不少快捷键。
普通状态下光标移动:
k 向上一项 j 向下一项 Enter 进入一项 q 退出一项
^B 上翻一页 ^F 下翻一页 ## <cr> 跳至某项 $ 跳至最后一项
编辑状态下光标移动:
^P 向上一行 ^N 向下一行 ^V 向右一列
^A 跳至行首 ^E 跳至行末 ^B 上翻一页 ^F 下翻一页
^S 跳至第一行第一列 ^T 跳至最后一行第一列
另外,我们还需要其他一些键来配合编辑工作:
编辑状态下删除操作:
^O 切换插入/改写模式 ^D 删除当前字符 ^H 删除当前行前一列字符
^Y 删除当前行所有字符 ^K 删除当前至行末所有字符
BBS中其他快捷键在此不一一列举,请按h参考帮助文件(编辑状态下[按Ctrl-Q求救])。
在Windows下,我们可以用Alt+小键盘数字键,输入对应十进制ASCII字符,
比如当我们按住Alt,依次按下小键盘的9、3,再弹起Alt键,就输入了93号ASCII字符,
也就是大家看到的右方括号]。
0-127(0x00-0x7F,0x表示其后为16进制数)共128个字符的ASCII码表如下:
Chr 0x 按键 功能
0 00 Ctrl+@ <Null>
1 01 Ctrl+A
2 02 Ctrl+B
3 03 Ctrl+C
4 04 Ctrl+D
5 05 Ctrl+E
6 06 Ctrl+F
7 07 Ctrl+G
8 08 Ctrl+H <BackSpace>
9 09 Ctrl+I <Tab>
10 0A Ctrl+J <Return>
11 0B Ctrl+K
12 0C Ctrl+L
13 0D Ctrl+M <Enter>
14 0E Ctrl+N
15 0F Ctrl+O
16 10 Ctrl+P
17 11 Ctrl+Q
18 12 Ctrl+R
19 13 Ctrl+S
20 14 Ctrl+T
21 15 Ctrl+U
22 16 Ctrl+V
23 17 Ctrl+W
24 18 Ctrl+X
25 19 Ctrl+Y
26 1A Ctrl+Z
27 1B Ctrl+[ <Esc>
28 1C Ctrl+\
29 1D Ctrl+]
30 1E Ctrl+^
31 1F Ctrl+_
32 20 <Space>
33 21 !
34 22 "
35 23 #
36 24 $
37 25 %
38 26 &
39 27 '
40 28 (
41 29 )
42 2A *
43 2B +
44 2C ,
45 2D -
46 2E .
47 2F /
48 30 0
49 31 1
50 32 2
51 33 3
52 34 4
53 35 5
54 36 6
55 37 7
56 38 8
57 39 9
58 3A :
59 3B ;
60 3C <
61 3D =
62 3E >
63 3F ?
64 40 @
65 41 A
66 42 B
67 43 C
68 44 D
69 45 E
70 46 F
71 47 G
72 48 H
73 49 I
74 4A J
75 4B K
76 4C L
77 4D M
78 4E N
79 4F O
80 50 P
81 51 Q
82 52 R
83 53 S
84 54 T
85 55 U
86 56 V
87 57 W
88 58 X
89 59 Y
90 5A Z
91 5B [
92 5C \
93 5D ]
94 5E ^
95 5F _
96 60 `
97 61 a
98 62 b
99 63 c
100 64 d
101 65 e
102 66 f
103 67 g
104 68 h
105 69 i
106 6A j
107 6B k
108 6C l
109 6D m
110 6E n
111 6F o
112 70 p
113 71 q
114 72 r
115 73 s
116 74 t
117 75 u
118 76 v
119 77 w
120 78 x
121 79 y
122 7A z
123 7B {
124 7C |
125 7D }
126 7E ~
127 7F <Del>
ASCII码表,对应的是ANSI编码,是BBS乃至于终端服务最重要的核心部分。
其中(0x00-0x1F)为Ctrl键控制区,(0x20-0x3F)为符号区,(0x40-7E)为字母区。
(to be continued)
--
※ 转载:·日月光华 bbs.fudan.edu.cn·[FROM: 10.100.111.111]
※ 修改:·monopoly 於 09月18日14:28:29 修改本文·[FROM: 10.100.111.111]
Sender: monopoly MN Do you still need to bring fish fillets when you come back during the National Day? Message area: BBS Help
Title: Terminal Experience Journey 1
Sending site: Sun and Moon Guanghua September 18, 2005 13:28:33 Sunday, site mail
The first and most important thing is to move the cursor
BBS has prepared many shortcut keys for us during travel without arrow keys.
Cursor movement in normal state
k Go up one item j Go down one item Enter Enter one item q Exit one item
^B Go up one page ^F Go down one page ## <cr> Jump to an item $ Jump to the last item
Cursor movement in editing state
^P one row up ^N one row down ^V one column right
^A Go to the beginning of the line ^E Go to the end of the line ^B Go up one page ^F Go down one page
^S Jump to the first row and first column ^T Jump to the last row and first column
In addition, we also need some other keys to cooperate with editing work
Delete operation in editing state
^O Switch to insert and overwrite mode ^D Delete the current character ^H Delete the characters in the previous column of the current line
^Y deletes all characters in the current line ^K deletes all characters from the current line to the end of the line
Other shortcut keys in BBS are not listed here. Please press h to refer to the help file. In editing mode [press Ctrl Q for help]
Under Windows, we can use the Alt keypad numeric keys to enter the corresponding decimal ASCII characters.
For example, when we hold down Alt, press 9 3 on the small keyboard, and then pop up the Alt key, ASCII character No. 93 is entered.
That is the right square bracket that everyone sees]
0 127 0x00 0x7F 0x means that it is followed by a hexadecimal number. The ASCII code table of a total of 128 characters is as follows
Chr 0x button function
0 00 Ctrl @ <Null>
1 01 Ctrl A
2 02 Ctrl B
3 03 Ctrl C
4 04 Ctrl D
5 05 Ctrl E
6 06 Ctrl F
7 07 Ctrl G
8 08 Ctrl H <BackSpace>
9 09 Ctrl I <Tab>
10 0A Ctrl J <Return>
11 0B Ctrl K
12 0C Ctrl L
13 0D Ctrl M <Enter>
14 0E Ctrl N
15 0F Ctrl O
16 10 Ctrl P
17 11 Ctrl Q
18 12 Ctrl R
19 13 Ctrl S
20 14 Ctrl T
21 15 Ctrl U
22 16 Ctrl V
23 17 Ctrl W
24 18 Ctrl X
25 19 Ctrl Y
26 1A Ctrl Z
27 1B Ctrl [ <Esc>
28 1C Ctrl
29 1D Ctrl ]
30 1E Ctrl ^
31 1F Ctrl
32 20 <Space>
33 21!
34 22 "
35 23 #
36 24 $
37 25%
38 26 &
39 27'
40 28
41 29
42 2A*
43 2B
44 2C,
45 2D
46 2E.
47 2F
48 30 0
49 31 1
50 32 2
51 33 3
52 34 4
53 35 5
54 36 6
55 37 7
56 38 8
57 39 9
58 3A :
59 3B;
60 3C <
61 3D
62 3E >
63 3F?
64 40 @
65 41A
66 42B
67 43 C
68 44D
69 45 E
70 46F
71 47G
72 48 H
73 49 I
74 4AJ
75 4B K
76 4C L
77 4D M
78 4E N
79 4F O
80 50P
81 51Q
82 52 R
83 53 S
84 54 T
85 55 U
86 56V
87 57 W
88 58
89 59 Y
90 5A Z
91 5B [
92 5C
93 5D ]
94 5E ^
95 5F
96 60
97 61 a
98 62 b
99 63c
100 64 days
101 65 e
102 66f
103 67g
104 68 hours
105 69i
106 6Aj
107 6B k
108 6C l
109 6Dm
110 6E n
111 6F o
112 70p
113 71 q
114 72r
115 73 seconds
116 74t
117 75 u
118 76v
119 77w
120 78 x
121 79 y
122 7A z
123 7B {
124 7C
125 7D }
126 7E
127 7F <Del>
The ASCII code table corresponds to ANSI encoding and is the most important core part of BBS and even terminal services.
Among them, 0x00 0x1F is the Ctrl key control area, 0x20 0x3F is the symbol area, 0x40 7E is the letter area
to be continued
Reprint: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 10.100.111.111]
Modification: monopoly modified this article at 14:28:29 on September 18th [FROM: 10.100.111.111]