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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <266941.1702.qm@web53602.mail.re2.yahoo.com>
Date: Sun, 9 Aug 2009 09:16:01 -0700 (PDT)
From: Paul Tomsic <ptomsic AT yahoo DOT com>
Subject: 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

Hi - I'm having trouble setting up RXVT on WinXP.
I've got the following shortcut set up to launch RXVT:

C:\viper\cygwin\bin\rxvt.exe -sl 1500 -fn "Lucida Console-12" -bg black -fg yellow -sr -e bash --rcfile "/cygdrive/c/viper/.bashrc"

My $HOME directory is set to the following, as seen in the RXVT:

ptomsic:bin> echo $HOME
/cygdrive/c/viper

and as seen in the DOS prompt:

C:\>set HOME
HOME=/cygdrive/c/viper

When I launch the shortcut for RXVT, all is good but it opens in "/usr/bin"

If i type `cd ~` then I lose my $PATH, or so it would seem.  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`

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?

thanks - Paul



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