From: "A.Appleyard" To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Wed, 25 Oct 1995 16:51:35 GMT Subject: That rings a bell!! Eli Zaretskii wrote (Subject: Re: Error, Emacs for DOS, Random upper case letters):- > ... extraneous characters would appear in the buffer when a key was pressed > during auto-save in the DOS port of Emacs (like if you press PageDown to > scroll the buffer which shows a modified file). ... this is somehow > connected to the way the terminal bell is rung on a DOS machine. The > problem never happens if you use visible bell; even under non-visible bell, > it never happens until the bell is rung for the first time. ... The way the > bell is rung in DOS version of Emacs is by writing the bell character > ('\07') to the standard output with a call to write(); I never get this nuisance in my AAMACS which I wrote. In it when I want to ring the bell I directly call the DOS interrupt "AX=0x0200; DX=7; int21;" = "send character \007 to stdout (= the screen, there)", bypassing all of djgpp's buffers and all of DOS's write-to-file buffers.