jove 4.9 (displays wrong characters on MSDOS)
Rob McMahon
cudcv at warwick.ac.uk
Sat Sep 10 20:54:19 AEST 1988
Under MSDOS, under certain circumstances using describe-command or
describe-bindings can leave jove in a state where it echoes the wrong
characters. E.g. C-x ? C-p will report that Alt-Q is bound to previous-line.
The routines that go hunting for keys (describe-bindings, or describe-command
when it is looking to see how to access a command), can leave specialmap
turned on. This patch to extend.c seems to fix the problem:
RCS file: extend.c,v
retrieving revision 1.1
diff -c -r1.1 extend.c
*** /tmp/,RCSt1a01895 Sat Sep 10 11:53:21 1988
--- extend.c Sat Sep 10 11:17:12 1988
***************
*** 361,366 ****
--- 361,367 ----
data_obj **prefp;
#ifdef IBMPC
+ int oldspecialmap = specialmap;
specialmap = (map == miscmap);
#endif
***************
*** 383,388 ****
--- 384,392 ----
else
Typeout("%-18s%s", keydescbuf, map[c1]->Name);
}
+ #ifdef IBMPC
+ specialmap = oldspecialmap;
+ #endif
}
private void
***************
*** 413,418 ****
--- 417,423 ----
data_obj **prefp;
#ifdef IBMPC
+ int oldspecialmap = specialmap;
specialmap = (map == miscmap);
#endif
***************
*** 445,450 ****
--- 450,458 ----
}
bufp += strlen(bufp);
}
+ #ifdef IBMPC
+ specialmap = oldspecialmap;
+ #endif
}
void
--
UUCP: ...!mcvax!ukc!warwick!cudcv PHONE: +44 203 523037
JANET: cudcv at uk.ac.warwick ARPA: cudcv at warwick.ac.uk
Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England
More information about the Comp.sources.bugs
mailing list