Path: utzoo!attcan!uunet!mcvax!ukc!warwick!cudcv From: cudcv@warwick.ac.uk (Rob McMahon) Newsgroups: comp.sources.bugs Subject: jove 4.9 (displays wrong characters on MSDOS) Message-ID: <41@titania.warwick.ac.uk> Date: 10 Sep 88 10:54:19 GMT Reply-To: cudcv@warwick.ac.uk (Rob McMahon) Organization: Computing Services, Warwick University, UK Lines: 60 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@uk.ac.warwick ARPA: cudcv@warwick.ac.uk Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England