delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/09/12:53:56

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <142977.2540.qm@web53603.mail.re2.yahoo.com>
Date: Sun, 9 Aug 2009 09:53:42 -0700 (PDT)
From: Paul Tomsic <ptomsic AT yahoo DOT com>
Subject: Re: rxvt and path problems
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Looks like I fixed this.  Seems if i take off the rcfile option and replace=
 it w/ a "--login" option, all's good.

Thanks

--- On Sun, 8/9/09, Paul Tomsic <ptomsic AT yahoo DOT com> wrote:

> From: Paul Tomsic <ptomsic AT yahoo DOT com>
> Subject: rxvt and path problems
> To: cygwin AT cygwin DOT com
> Date: Sunday, August 9, 2009, 11:16 AM
> Hi - I'm having trouble setting up
> RXVT on WinXP.
> I've got the following shortcut set up to launch RXVT:
>=20
> C:\viper\cygwin\bin\rxvt.exe -sl 1500 -fn "Lucida
> Console-12" -bg black -fg yellow -sr -e bash --rcfile
> "/cygdrive/c/viper/.bashrc"
>=20
> My $HOME directory is set to the following, as seen in the
> RXVT:
>=20
> ptomsic:bin> echo $HOME
> /cygdrive/c/viper
>=20
> and as seen in the DOS prompt:
>=20
> C:\>set HOME
> HOME=3D/cygdrive/c/viper
>=20
> When I launch the shortcut for RXVT, all is good but it
> opens in "/usr/bin"
>=20
> If i type `cd ~` then I lose my $PATH, or so it would
> seem.=A0 If i `echo $PATH` it looks like it's in tact,
> but i can't do simple things, like `ls` or `which ping` or
> `who`
>=20
> Why would it be okay when I first launch the RXVT shortcut,
> but then simply changing to my $HOME directory causes
> everything to start misbehaving?
>=20
> thanks - Paul
>=20
>=20
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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