aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-12-17 12:20:46 +0000
committerRichard M. Stallman1994-12-17 12:20:46 +0000
commitd80bd4a0297223d276772179d1b787928cfd26cc (patch)
tree96d100c9b96caa7b415e8ab6d7b93dc71ef45b0d /src
parent396134d7a30fb9cef4ccd4e07d38681b84dc0821 (diff)
downloademacs-d80bd4a0297223d276772179d1b787928cfd26cc.tar.gz
emacs-d80bd4a0297223d276772179d1b787928cfd26cc.zip
(tgetst1): Let ^? stand for DEL character.
Diffstat (limited to 'src')
-rw-r--r--src/termcap.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/termcap.c b/src/termcap.c
index 9462122677e..bcd1ece8cfd 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -219,7 +219,13 @@ tgetst1 (ptr, area)
219 while ((c = *p++) && c != ':' && c != '\n') 219 while ((c = *p++) && c != ':' && c != '\n')
220 { 220 {
221 if (c == '^') 221 if (c == '^')
222 c = *p++ & 037; 222 {
223 c = *p++;
224 if (c == '?')
225 c = 0177;
226 else
227 c &= 037;
228 }
223 else if (c == '\\') 229 else if (c == '\\')
224 { 230 {
225 c = *p++; 231 c = *p++;