www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/02/03:57:07

Date: Wed, 2 Jul 1997 10:56:20 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jude DaShiell <jdashiel AT eagle1 DOT eaglenet DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: txi390s.zip questions
In-Reply-To: <Pine.NXT.3.95.970701200131.18276H-100000@eagle1>
Message-ID: <Pine.SUN.3.91.970702105601.27453B-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019