help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to make cygwin/bash shell work in emacs


From: Roman Adar
Subject: RE: How to make cygwin/bash shell work in emacs
Date: Mon, 1 Oct 2001 18:14:44 -0700

Ehud

Your link, which I've somehow missed was very helpful. I've copied and
pasted the code in that link into my ".emacs" file. Now my shell behaves
quite normal. At least in the first instance like I've expected.

I'm still having a minor problem. The Perl I'm running from the "cygwin"
command line is the ActiveState Perl. I've modified the /etc/profile file to
look 1st in the c:/Program Files/bin directory. However when I do "which
perl" in the shell within emacs, the shell that is invoked is the "cygwin"
Perl, from the /usr/bin directory. This is what I do not want.

So my question is how do I force also in the shell that is spawned in the
emacs to invoke the correct Perl.

Thanks again

Roman

-----Original Message-----
From: Ehud Karni [mailto:ehud@unix.simonwiesel.co.il]
Sent: Saturday, September 29, 2001 11:22 AM
To: Roman Adar
Cc: Help-gnu-emacs@gnu.org
Subject: Re: How to make cygwin/bash shell work in emacs


On Fri, 28 Sep 2001 16:30:22 -0700, Roman Adar <radar@cacheware.com> wrote:
>
> I'm using emacs 20.7.1 on Win2K. I've also installed the Cygwin package.
>
> Since I'm used to run the shell from emacs directly I've tried to
> install and configure, using the Web isntructions how to work with the
> "bash" shell within emacs.
>
> While I'm able todo some basic stuff, I'm having problems, when each
> command executed in the emacs/bash shell echoes two lines of ASCII
> characters. Also I was not able to run Perl from within.

The only problem I'm aware of is that ^C does not work (because the
Emacs pipe is not TTY as Cygwin excepts it). If you're problems are
different please post examples and also your shell startup files (i.e.
your ~/.bashrc or ~/.[t]csh + ~./login).

I assume you've read the Cygwin FAQ entry: How do I run bash as a shell
under NT Emacs? (http://cygwin.com/faq/faq_toc.html#TOC60).

Ehud.


--
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-7966-561 Fax: +972-3-7966-667   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:ehud@unix.simonwiesel.co.il    http://www.simonwiesel.co.il




reply via email to

[Prev in Thread] Current Thread [Next in Thread]