www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/29/07:29:03

Date: Sun, 29 Nov 1998 14:28:54 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: flavpol AT tin DOT it
cc: djgpp AT delorie DOT com
Subject: Re: EMACS under BASH
In-Reply-To: <365F3F36.98D1EEBF@writeme.com>
Message-ID: <Pine.SUN.3.91.981129142452.2340P-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Sat, 28 Nov 1998, Flavio Poletti wrote:

> Excuse me if it is off-topic, but it seems to me that you guys know the
> answer!

This is on-topic, provided that you are using the DJGPP version of 
Emacs.  Since I am not aware of a Cygwin32 version of Emacs, I guess you 
do; otherwise, the info below is not relevant for your problems.

> I succeeded in installing cyg-win32 and in running bash (I had an 'Out
> of environment' problem), and tried to start emacs only to get:
> 
>         emacs: Cannot open termcap database file.

If this is a DJGPP version of Emacs, you need to unset the environment 
variable TERM before you run Emacs.  The DJGPP port of Emacs uses its own 
internal terminal emulator, but setting TERM in the environment confuses 
the Emacs startup code into trying to use the usual character terminal 
interface (which then requires a termcap database which most PCs don't 
have).

> PS: Do you know somewhere to look for some help about bash? I couldn't
> even succeed in setting an environment variable!!!

Bash comes with a man page.  Look for a file called bash.1 or bash.man.

- Raw text -


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