[comp.windows.x] Xterm reverse video check mark

kucharsk@uts.amdahl.com (William Kucharski) (06/02/89)

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;

The change to charproc.c was posted a few weeks back, so you may already have
it in your code, but without the change to main.c the reverse video check mark
just indicates whether you are currently in the reverse mode of whatever mode
you started in.  The change allows the check mark to work properly whether xterm
is started with "xterm -rv" or not.

-- 
					William Kucharski

ARPA: kucharsk@uts.amdahl.com
UUCP: ...!{ames,decwrl,sun,uunet}!amdahl!kucharsk

Disclaimer:  The opinions expressed above are my own, and may not agree with
	     those of any other sentient being, not to mention those of my 
	     employer.  So there.