delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/09/14:20:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 9 Dec 2002 20:20:02 +0100 (MET)
From: "[mn]" <svartsjel AT gmx DOT net>
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: problems with CygwinPromptHere
X-Priority: 3 (Normal)
X-Authenticated-Sender: #0000624634 AT gmx DOT net
X-Authenticated-IP: [141.54.167.93]
Message-ID: <2113.1039461602@www19.gmx.net>
X-Flags: 0001

Hi,

I noticed a strange shell behaviour using the "CygwinPromptHere feature" by
Glen Coakley. Within a console opened with CygwinPromptHere no alias'es I
defined in /etc/profile are read out. However, if I run rxvt the usual way (via
the default shortcut), my alias'es work just fine.
My /etc/profile looks like this (alias definitions in /etc/alias):

[...]
test -e /etc/alias && . /etc/alias
cd $HOME
[...]

It doesn't matter whether the alias definitions are included in /etc/profile
or not. I also tried using ~/.profile, same problem.
Strangely enough, any other lines in /etc/profile seem to execute correctly.

I'm using the latest Cygwin release 1.3.17-1 and the responsible registry
value looks like:

[HKEY_CLASSES_ROOT\Folder\shell\Cygwin_Prompt_here\command]
c:\cygwin\bin\rxvt.exe [...] -tn cygwin -e /bin/bash.exe --login -c "cd
'%1'; exec bash"

Maybe a switch for /bin/bash.exe is missing - which one? -i?
Any ideas?

Thanks,
- [mn]

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019