delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/12/12:31:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20010112121436.021d5358@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Fri, 12 Jan 2001 12:17:31 -0500
To: Dan Lipofsky <dlipofsky AT kurion DOT com>, cygwin AT sources DOT redhat DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: RE: xterm-like terminal emulator
In-Reply-To: <81CC73FC2FACD311A2D200508B8B88AA1ADB0F@kurion_exch.kurion.
com>
Mime-Version: 1.0

At 12:06 PM 1/12/2001, you wrote:
> > c:
> > chdir \cygwin\bin
> > rxvt -e bash --login -i
>
>That doesn't work.  A window briefly flashes up and disappears.
>I tried this
>         C:
>         chdir \cygwin\bin
>         rxvt -ls ...    (no -e command: just let rxvt create the bash)
>This produces a shell which is very screwed up.  I set PS1="\w\$ "
>in my .bash_profile, but it outputs a literal "\w\$ " instead of
>substituting the current working directory for \w.  Also I went
>to see if my alias were defined and alias is not a valid command.
>alias is a bash built-in command!!!
>         \w$ alias
>         alias: not found
>How a shell could get that badly messed up is a bit
>of a mystery to me. I also tried using run.exe as
>suggested by Jason but it had the same problem.
>- Dan


You assume too much.  Unless you changed /bin/sh on your system to be a
copy/link of bash, /bin/sh != /bin/bash.  You're getting /bin/sh with your
attempt.  /bin/sh is ash by default which has none of the features you're 
trying to use.


Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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