delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/03/15:31:33

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
Subject: Re: rxvt in my cygwin.bat file..
From: Alex Malinovich <baggend AT howlermonkey DOT net>
To: "Michael F. March" <march AT indirect DOT com>
Cc: cygwin AT sources DOT redhat DOT com
In-Reply-To: <000701c1ace2$83700eb0$0200a8c0@D4LHBR01>
References: <000701c1ace2$83700eb0$0200a8c0 AT D4LHBR01>
X-Mailer: Evolution/1.0.1
Date: 03 Feb 2002 14:30:48 -0600
Message-Id: <1012768250.3532.157.camel@Thief>
Mime-Version: 1.0

--=-omoovGZg4JanoLm3X1CJ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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):
>=20
>     @echo off
>     C:
>     chdir \cygwin\bin
>     rxvt -geometry 80x60  -e c:\cygwin\bin\bash --login -i
>=20
> 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.
>=20
> Anyone have any ideas?
>=20
> Thanks.
>=20
> <march>
>=20
>=20
> --
> 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/
>=20
>=20



--=-omoovGZg4JanoLm3X1CJ
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEABECAAYFAjxdnfgACgkQbL/osxHh7S1aawCgoXARi/SV695FArFBjNZxIRA2
S3oAoJbk08c0jdgScxAWxyqRqszy+Tdd
=HQLC
-----END PGP SIGNATURE-----

--=-omoovGZg4JanoLm3X1CJ--

- Raw text -


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