Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!ames!husc6!hao!noao!arizona!gudeman From: gudeman@arizona.UUCP Newsgroups: comp.emacs Subject: Re: reverse video Message-ID: <1749@megaron.arizona.edu> Date: Wed, 3-Jun-87 14:48:02 EDT Article-I.D.: megaron.1749 Posted: Wed Jun 3 14:48:02 1987 Date-Received: Sat, 6-Jun-87 04:52:01 EDT References: <8706022016.AA01606@mitre-bedford.ARPA> Distribution: world Organization: U of Arizona CS Dept, Tucson Lines: 23 In-reply-to: jfjr@MITRE-BEDFORD.ARPA's message of 2 Jun 87 20:16:21 GMT Posting-Front-End: GNU Emacs 18.41.1 of Fri Apr 3 1987 on megaron.arizona.edu (berkeley-unix) 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: