delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Wed, 3 Oct 2001 00:18:32 +0200 |
Message-Id: | <200110022218.AAA24579@linux.> |
From: | "Ehud Karni" <ehud AT unix DOT simonwiesel DOT co DOT il> |
To: | "Roman Adar" <radar AT cacheware DOT com> |
Subject: | Re: How to make cygwin/bash shell work in emacs |
CC: | Chet Ramey <chet AT po DOT CWRU DOT Edu>, cygwin AT cygwin DOT com |
In-reply-to: | <NMEHIGJBPAKOAODKKENBGEGFCDAA.radar@cacheware.com> (message from |
Roman Adar on Tue, 2 Oct 2001 14:43:23 -0700) | |
Organization: | Mivtach-Simon Insurance agencies |
Reply-to: | ehud AT unix DOT simonwiesel DOT co DOT il |
References: | <NMEHIGJBPAKOAODKKENBGEGFCDAA DOT radar AT cacheware DOT com> |
X-Mailer: | Emacs 20.7.1 rmail (send-msg 1.105) |
MIME-Version: | 1.0 |
On Tue, 2 Oct 2001 14:43:23 -0700, Roman Adar <radar AT cacheware DOT com> wrote: > > When I'm in the shell in emacs I just type "perl file_name.pl <options>". > > Also another thing, maybe important. In the cygiwn shell I get the prompt: > > Administrator AT ROME ~ > $ > > (Where ROME is my machine name). > > While the shell in emacs shows: > > bash-2.05$ OK. That clarify the situation. I assumed INCORRECTLY that you run the perl directly from your Emacs (not in sub-shell). In your case bash executes ~/.bashrc, So if it does not exist create it and add the line: source /etc/profile That should solve your problems. You should keep the (setenv "Bash_ENV" "/etc/profile") for commands executed directly from Emacs (like shell-command [M-!] or compilation). 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 AT unix DOT simonwiesel DOT co DOT il http://www.simonwiesel.co.il -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |