delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/03/18:22:26

Date: Thu, 3 Jul 1997 18:23:22 -0400 (EDT)
From: Jude DaShiell <jdashiel AT eagle1 DOT eaglenet DOT com>
Sender: jdashiel AT eagle1 DOT eaglenet DOT com
To: djgpp AT delorie DOT com
Subject: emacs & termcap
Message-Id: <Pine.NXT.3.95.970703180444.3293A-100000@eagle1>
Mime-Version: 1.0

I'm using emacs 19.34 on msdos equipped computer out of the box
and in its default directory tree under c:\djgpp.
I tried the command:
set term=ansi <cr> and
set term=pcansi <cr>
before the command:
emacs <cr> and
got back the message:
Can't open termcap
and then was dropped back to dos.
In the c:\djgpp\gnu\emacs\etc directory there's a
file called termcap.src and another one called terms I think.
I take it termcap.src is a source file which needs processing
in some way to become termcap.  There's also a termcap file in
c:\djgpp right now and it has entries for ansi in it too.
Is there something needed to be done inside of emacs itself and if so
would it be possible to do with a batch file?  
That statement comes from term.c in the emacs source code, I checked using grep.
It would be nice if that error message would also
tell you how you could correct the situation or alternatively
give you keywords to search with using info to find the
relevant help to correct the problem.
I realize that would also increase code size however an emacs.err
data base with messages might be a possibility.
If a country number were used like emacs001.err multi-lingual support for emacs
would become easy to do.  This is the approach used in minuet, and
volunteers have built their own national data bases for
minuet that way.  Now I don't know what performance impact that would have, so
it's possible this idea was discussed and rightly discarded long ago.
Basically a sequential data base with record numbers and messages is constructed.
The code does a look up on the record number and sends the
content of the message field out to the terminal.
Any ideas on solving this termcap problem will be appreciated and
likely implemented this weekend.
//eoj

jude <jdashiel AT eagle1 DOT eaglenet DOT com>

Microsoft asks me where I want to go today but UNIX gets me there.

- Raw text -


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