[2325] in Athena Bugs
Fix for xterm menu bug (from the net)
daemon@ATHENA.MIT.EDU (John Carr)
Sat Jun 3 21:17:24 1989
To: bugs@ATHENA.MIT.EDU
Date: Sat, 03 Jun 89 21:17:07 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>
The reverse-video option on the x11r3 xterm menu is displayed incorrecly (it
does not get checked or un-checked when the option is chosen on the menu,
though sending the RV escape sequence to the xterm does switch the state).
The following fix was sent to xpert/comp.windows.x:
-----
From: kucharsk@uts.amdahl.com (William Kucharski)
Subject: Xterm reverse video check mark
As currently written, the check mark for reverse video is not functional
in xterm(1).
To get the check mark to work properly, make the following changes:
main.c, around line 744:
========================
if (!screen->jumpscroll) term->flags |= SMOOTHSCROLL;
/* fix reverse video checkmark */
if (term->misc.re_verse) term->flags |= REVERSE_VIDEO;
if (term->misc.reverseWrap) term->flags |= REVERSEWRAP;
charproc.c, around line 2665:
=============================
case MMENU_VIDEO:
ReverseVideo(term);
term->flags ^= REVERSE_VIDEO;
break;
-----
These aren't in diff format; by examining the sources it appears that the
lines containing "REVERSE_VIDEO" should be inserted at the appropriate
places.