Date: Wed, 8 Dec 1999 10:05:05 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Jude Dashiell cc: djgpp AT delorie DOT com Subject: Re: termcap data base not found In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 7 Dec 1999, Jude Dashiell wrote: > I finally got emacs up and running with djgpp but emacs is doing direct > screen writes. When I used set term=ansi before running emacs I got the > error termcap data base not found and emacs exited. There is a > termcap.src file under the etc directory. Should I compile it to termcap > and if so what will compile termcap.src? We had gotten these problems > solved a few years ago, but my hard drive died and wasn't backed up at the > time. Would you believe if I told you that I have your own message from more than 2 years ago, which explains how you did that, stashed away safely in my archives? Well, I do; it is reproduced below. Don't forget to invoke Emacs with the -nw switch, so that it won't use direct screen writes. > but bash doesn't run from the > djgpp directory even with djgpp=c:\djgpp\djgpp.env set How do you mean ``bash doesn't run''? What exactly happens when you try to invoke Bash? Do you invoke it from the command line or from inside Emacs? If the latter, how did you configure Emacs to do that, and what Emacs command did you use to invoke Bash? > so I'm thinking > not all applications are finding djgpp.env and its contents or perhaps I > have to update djgpp.env too. I don't think you should need to modify djgpp.env. I suggest to describe every problem you have here before you go out and change djgpp.env, because editing that file is an all too easy way of messing your entire DJGPP installation beyond repair. > A final set up question, I once read a command on comp.os.msdos.djgpp > which I used earlier that went out and found all installed info files and > updated the dir. file for me. Does anyone know the command? The command is "install-info", but it cannot automatically loop on all Info files you have; you need to invoke it separately for every such file. However, I doubt that you should need that: the file info/DIR supplied with djdev202.zip should already have an entry for every Info file that you might get from one of the ported packages. Here's your message of yore which explains how to set up Emacs for character terminal mode operation: > Date: Fri, 4 Jul 1997 16:53:35 -0400 (EDT) > From: Jude DaShiell > > Finally figured how to get emacs 19.34 to connect with termcap.src. > If anyone else can use the batch file > in this message you're welcome to it! Understand I have everything > in my disk setup that's djgpp in and below the > d:\djgpp directory tree so if your system differs > adjust accordingly. > > @echo off > cls > set djgpp=d:/djgpp/djgpp.env > set termcap=d:/djgpp/gnu/emacs/etc/termcap.src > set term=pcansi > set path=d:\djgpp;d:\djgpp\bin;d:\djgpp\gnu\emacs\bin;%path%