delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/04/11:39:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <01e001c1ad9a$74ffe220$0d76aec7@D4LHBR01>
From: "Michael F. March" <march AT indirect DOT com>
To: <cygwin AT sources DOT redhat DOT com>
Subject: I have found a workaround. Just change your rxvt line to read:
Date: Mon, 4 Feb 2002 09:38:55 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700

Close, but it doesn't quite work as you state.

Anyone have any other clues?

----------------
I have found a workaround. Just change your rxvt line to read:

rxvt -geometry 80x60 -e cmd /c c:\cygwin\bin\bash --login -i

This is assuming you're running 2000, ME, or XP. I don't know about 9x.
You can look for a command.com option that does the same thing as /c for
cmd.exe. (Runs a command and then exits.)

The only side effect to this method is a warning message at the top of
the rxvt window reading:

readline: warning: rl_prep_terminal: cannot get terminal settings

Since calling bash from cmd works, it would appear to be an issue with
how rxvt is calling bash, but I'm afraid that I don't really know how to
track this down any further. Hopefully it'll be of help to someone who
is a bit more knowledgeable in the subject. Hope this helps.

-Alex Malinovich

On Sun, 2002-02-03 at 12:42, Michael F. March wrote:
> A while ago I upgraded my Cygwin installation and this stopped
> working (by cygwin.bat file):
> 
>     @echo off
>     C:
>     chdir \cygwin\bin
>     rxvt -geometry 80x60  -e c:\cygwin\bin\bash --login -i
> 
> rxvt flashes on the screen for 1/2 second and then goes away. If
> I run this batch file from a command.com prompt, it does not give
> any more clues.
> 
> Anyone have any ideas?
> 
> Thanks.
> 
> <march>





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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