This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: xterm-like terminal emulator


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@rfk.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]