comparison man/trouble.texi @ 37126:6a2d75e45a87

Add concept of "usual erasure key" to explain about DEL.
author Richard M. Stallman <rms@gnu.org>
date Sun, 01 Apr 2001 03:32:04 +0000
parents a4f474cb3812
children bd817d6f9ba3
comparison
equal deleted inserted replaced
37125:fe3c5a341a4d 37126:6a2d75e45a87
137 137
138 @node DEL Gets Help 138 @node DEL Gets Help
139 @subsection If @key{DEL} Fails to Delete 139 @subsection If @key{DEL} Fails to Delete
140 @cindex @key{DEL} vs @key{BACKSPACE} 140 @cindex @key{DEL} vs @key{BACKSPACE}
141 @cindex @key{BACKSPACE} vs @key{DEL} 141 @cindex @key{BACKSPACE} vs @key{DEL}
142 142 @cindex usual erasure key
143 Every keyboard has a large key, a little ways above the @key{RET} 143
144 or @key{ENTER} key, which you normally use outside Emacs to erase 144 Every keyboard has a large key, a little ways above the @key{RET} or
145 the last character that you typed. We call this key @key{DEL}. 145 @key{ENTER} key, which you normally use outside Emacs to erase the
146 last character that you typed. We call this key @dfn{the usual
147 erasure key}. In Emacs, it is supposed to be equivalent to @key{DEL}.
146 148
147 When Emacs starts up using a window system, it determines 149 When Emacs starts up using a window system, it determines
148 automatically which key should be @key{DEL}. In some unusual cases 150 automatically which key should be @key{DEL}. In some unusual cases
149 Emacs gets the wrong information from the system. If the @key{DEL} 151 Emacs gets the wrong information from the system. If the usual
150 key deletes forwards instead of backwards, that is probably what 152 erasure key deletes forwards instead of backwards, that is probably
151 happened---Emacs ought to be treating the @key{DELETE} key as 153 what happened---Emacs ought to be treating the @key{DELETE} key as
152 @key{DEL}, but it isn't. 154 @key{DEL}, but it isn't.
153 155
154 With a window system, if the @key{DEL} key says @key{BACKSPACE} and 156 With a window system, if the usual erasure key is labeled
155 there is a @key{DELETE} key elsewhere, but the @key{DELETE} key 157 @key{BACKSPACE} and there is a @key{DELETE} key elsewhere, but the
156 deletes backward instead of forward, that too suggests Emacs got the 158 @key{DELETE} key deletes backward instead of forward, that too
157 wrong information---but in the opposite sense. It ought to be 159 suggests Emacs got the wrong information---but in the opposite sense.
158 treating the @key{BACKSPACE} key as @key{DEL}, but it isn't. 160 It ought to be treating the @key{BACKSPACE} key as @key{DEL}, but it
159 161 isn't.
160 On a text-only terminal, if you find the @key{DEL} key prompts for a 162
161 Help command like @kbd{Control-h}, instead of deleting a character, it 163 On a text-only terminal, if you find the usual erasure key prompts
162 means that key is actually sending the @key{BS} character. Emacs 164 for a Help command, like @kbd{Control-h}, instead of deleting a
163 ought to be treating @key{BS} as @key{DEL}, but it isn't. 165 character, it means that key is actually sending the @key{BS}
166 character. Emacs ought to be treating @key{BS} as @key{DEL}, but it
167 isn't.
164 168
165 In all of those cases, the immediate remedy is the same: use the 169 In all of those cases, the immediate remedy is the same: use the
166 command @kbd{M-x normal-erase-is-backspace-mode}. That should make 170 command @kbd{M-x normal-erase-is-backspace-mode}. That should make
167 the proper @key{DEL} key work. On a text-only terminal, if you do 171 the proper @key{DEL} key work. On a text-only terminal, if you do
168 want to ask for help, use @key{F1} or @kbd{C-?}. 172 want to ask for help, use @key{F1} or @kbd{C-?}.