Mail Archives: djgpp/1997/04/08/08:31:56
On 7 Apr 1997 18:42:47 GMT, G.W. Owen <mad14 AT cc DOT keele DOT ac DOT uk> wrote:
> Well heres a different one then. My copy of emacs works fine under
> DOS and Windows 3.11, but under bash.exe, it complains that it
> cannot find the termcap (it doesn't exist) unless I unset the 'term'
> variable. Is this the only workaround?
I solved this problem by adding the following to $DJDIR/DJGPP.ENV:
----------------------------------------------------------------------
[emacs]
TERM=
SHELL=c:/bin/bash -login
----------------------------------------------------------------------
As you can see I also set the SHELL so that I get exactly what I want
when I suspend emacs.
The other possibility would be to add something like the following
to ~/[._]profile:
function emacs()
{
( unset TERM;emacs $* )
}
That's off the top of my head and I've not tested it, but I use
something similar in a different situation under bash on my Linux box.
--
Take a look in Hagbard's World: | w3ng - The WWW Norton Guide reader.
http://www.acemake.com/hagbard/ | ng2html - The NG to HTML converter.
Also available in the UK: | eg - Norton Guide reader for Linux.
http://www.hagbard.demon.co.uk/ | dgscan - DGROUP scanner for Clipper.
- Raw text -