delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/12/12:13:43

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: <81CC73FC2FACD311A2D200508B8B88AA1ADB0F@kurion_exch.kurion.com>
From: Dan Lipofsky <dlipofsky AT kurion DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: xterm-like terminal emulator
Date: Fri, 12 Jan 2001 11:06:59 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

> > Also, the only way I can seem to run rxvt and get the
> > results I want is to have a batch file like
> >         C:
> >         chdir \cygwin\bin
> >         bash --noprofile --norc -c "rxvt ..."
> > But this involves making two bash instances per shot.
> > It doesn't seem to work right if I don't call it through bash.
> > Anyone got a better way?
> 
> 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


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