Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 12 Apr 2002 21:53:03 +0100
From: MAILER-DAEMON@atomice.no-ip.com
To: cygwin@cygwin.com
Subject: Not Delivered: RE: Bash shell extension ?
Mime-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status; boundary="mime-boundary-interchange-3cb74577"
Message-Id: <E16w7zx-0004CK-00.2002-04-12-21-50-23@cmailg7.svr.pol.co.uk>

--mime-boundary-interchange-3cb74577
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

An error occurred sending a message to:
POSTMASTER@avacado.atomice.net

Relay host reported error: (127.0.0.1)
550 <POSTMASTER> ... Recipient is unknown


Original Message Follows:
=========================
--mime-boundary-interchange-3cb74577
Content-Type: message/delivery-status

Reporting-MTA: dns; avacado.atomice.net

Remote-MTA: dns; 127.0.0.1
Final-Recipient: rfc822;POSTMASTER@avacado.atomice.net
Action: failed
Status: 5.0.0
Last-Attempt-Date: Fri, 12 Apr 2002 21:53:03 +0100

--mime-boundary-interchange-3cb74577
Content-Type: message/rfc822

X-From_: cygwin-return-48181-chris=atomice.net@cygwin.com Fri Apr 12 21:38:13 2002
Envelope-to: karel@usurper.freeserve.co.uk
Delivery-date: Fri, 12 Apr 2002 21:38:13 +0100
Received: from [216.148.213.135] (helo=m1.dnsix.com)
	by imailg2b.svr.pol.co.uk with esmtp (Exim 3.35 #1)
	id 16w7oD-0003fE-00
	for karel@usurper.freeserve.co.uk; Fri, 12 Apr 2002 21:38:13 +0100
Received: from [209.249.29.67] (helo=sources.redhat.com)
	by m1.dnsix.com with smtp (Exim 3.34 #1)
	id 16w7oC-0006Ok-00
	for chris@atomice.net; Fri, 12 Apr 2002 13:38:12 -0700
Received: (qmail 28735 invoked by alias); 12 Apr 2002 20:38:00 -0000
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-chris=atomice.net@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Received: (qmail 28725 invoked from network); 12 Apr 2002 20:37:58 -0000
Received: from unknown (HELO main.gmane.org) (80.91.224.249)
  by sources.redhat.com with SMTP; 12 Apr 2002 20:37:58 -0000
Received: from list by main.gmane.org with local (Exim 3.33 #1 (Debian))
	id 16w7nv-0001kS-00
	for <cygwin@cygwin.com>; Fri, 12 Apr 2002 22:37:55 +0200
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Received: from news by main.gmane.org with local (Exim 3.33 #1 (Debian))
	id 16w7nv-0001kK-00
	for <gmane-os-cygwin@m.gmane.org>; Fri, 12 Apr 2002 22:37:55 +0200
Path: not-for-mail
From: Andrew DeFaria <ADeFaria@Salira.com>
Newsgroups: gmane.os.cygwin
Subject: Re: Bash shell extension ?
Date: Fri, 12 Apr 2002 13:38:01 -0700
Lines: 29
Message-ID: <3CB745A9.5090809@Salira.com>
References: <019201c1e1cf$7026dec0$52b4fc3e@nori> <3CB70C91.204@DeFaria.com> <3CB71B61.6020707@dramgo.co.uk> <3CB7339E.6080409@Salira.com> <3CB7402D.2010404@dramgo.co.uk>
Reply-To: cygwin@cygwin.com
NNTP-Posting-Host: 206.184.204.2
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1018643875 6715 206.184.204.2 (12 Apr 2002 20:37:55 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Fri, 12 Apr 2002 20:37:55 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2
X-Accept-Language: en-us

Donald MacVicar wrote:

>>> surely you could just have @="rxvt -ls -e bash -c \"cd '%1'; exec 
>>> bash --login\"" and then all the startup scripts would be run properly? 
>>
>> Nope! Because --login runs /etc/profile and /etc/profile cd's to $HOME!
>
>
> Realised that about 10 secs after I sent the mail. 

I know how that goes! :-)

> how about put the --login on the first bash - i.e. txvt -ls -e bash 
> --login -c ......  Just tried that and it seems to wok.

Perhaps. Actually I'm a big advocate of putting options in ~/.Xdefaults 
to make the command line for things like rxvt a lot shorter. I already 
have loginShell set to true there so the -ls is irrelevent in my situation.

Actually does anybody know how to make this run minimized by default? I 
say that because there is that annoying, flashing window that Windows 
apparenlty runs cmd in to execute the contents of the command key here. 
My workaround for this, WRT shortcuts say on the desktop, is to preceed 
this already long command with "cmd /c start /b..." but then set the 
shortcut to run minimized. So instead of a large flashing cmd window 
there's a momentary blip in the taskbar that is quickly replaced with 
the rxvt entry. BTW the /c is equivalent to -c and start's /b option 
says don't open a cmd window for this command.




--
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/


--mime-boundary-interchange-3cb74577--

