Date: Wed, 2 Jul 1997 10:56:20 +0300 (IDT) From: Eli Zaretskii To: Jude DaShiell cc: djgpp AT delorie DOT com Subject: Re: txi390s.zip questions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 1 Jul 1997, Jude DaShiell wrote: > Perhaps a rebuild of emacs 19.34 won't be necessary, I can check the info > for command line options and know by tomorrow. I would suggest to try make Emacs use the original terminal functions instead of the DOS-specific terminal emulator that uses direct screen writes. I think this might be simpler than changing the DOS-specific code to use stdio. The terminal-related code is present in Emacs, but is not used because the DOS emulator hooks the screen-related functions and is called instead of it. But if you set the environment variable TERM to anything but the string "internal", Emacs will use its original terminal driver, which uses stdio functions. Emacs will use the value of TERM to look for a termcap (Terminal Capabilities) entry that describes how to handle that terminal, and will then use these capabilities. The capabilities include commands to position the cursor, switch to inverse video and back, etc. There are several files in the `gnu/emacs/etc' directory that might help you set up this correctly. Specifically, take a look at etc/terms and etc/termcap.src files. You will also have to install the ANSI.SYS driver or its work-alike. If you are unfamiliar with the termcap feature, I'd suggest to read the related man pages on the nearest Unix box. Sorry, I don't have time to try this myself now, but if you bump into problems, I will try to help you overcome them.