[comp.emacs] reverse video

jfjr@MITRE-BEDFORD.ARPA.UUCP (06/02/87)

  Before I get into it I would like to thank everybody who responded
to my request for help in customizing emacs. Other boards are
less courteous and helpful and a reasonable request can generate
any number of insulting replies. Not so here. Not a nasty letter in
the bunch.

 I use a vt100 and I set it for dark characters on a white background.
Usually, in any emacs editing session at some point the screen reverses
to white text on black background. Why and when seem to be random
but it does happen. I'd like to stop this behaviour

                                              Jerry Freedman,Jr
                                              jfjr@mitre-bedford.arpa

gudeman@arizona.UUCP (06/03/87)

In article <8706022016.AA01606@mitre-bedford.ARPA> jfjr@MITRE-BEDFORD.ARPA writes:

   From: jfjr@MITRE-BEDFORD.ARPA
   ...
    I use a vt100 and I set it for dark characters on a white background.
   Usually, in any emacs editing session at some point the screen reverses
   to white text on black background. Why and when seem to be random
   but it does happen. I'd like to stop this behaviour
   ...

When I had this problem, it was caused by my visible bell.  On the
vt100, the visible bell is implemented by turning the screen to
reverse video, waiting a short time, then turning it to regular
display.  Since you already have it on reverse video, the first
command does nothing and the second command cancels the reverse video.
Solutions: (1) (the obnoxious solution) set visible-bell to nil.  (2)
(the complicated solution) write a termcap entry that uses visible
bell correctly.  Here's one that works, notice that the vt100 entry
must be in the same termcap file as this entry:

d2|vt100-rv|vt100 reverse video:\
	:ti=\E[?5h:vb=\E[?5l\E[?5h:\
	:tc=vt100: