This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Not Delivered: RE: Bash shell extension ?
- From: MAILER-DAEMON at avacado dot atomice dot net
- To: cygwin at cygwin dot com
- Date: Fri, 12 Apr 2002 21:53:03 +0100
- Subject: Not Delivered: RE: Bash shell extension ?
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:
=========================
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
--- Begin Message ---
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/
--- End Message ---