delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/11:43:56

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
Subject: RE: rxvt shortcut problem (bash, XP, memory, heap, Win32 error 487)
Date: Thu, 10 Jul 2003 10:41:20 -0500
Message-ID: <03C99898510C8C47945B932907D99AAA02E827@E2KMEMMCS1.ftbco.ftn.com>
MIME-Version: 1.0
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
From: "DePriest, Jason R." <jrdepriest AT ftb DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 10 Jul 2003 15:41:20.0515 (UTC) FILETIME=[B5AA6530:01C346F9]
X-DCC-FTBDCCD1-Metrics: dns2 1130; Body=0 Fuz1=0 Fuz2=0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h6AFhr618767

What are the contents of your shortcut?

I point to this batch file:
<batch>
@echo off
C:
cd \cygwin\bin
rxvt.exe -bg white -fg black -fn "Lucida Console-12" -ls -sl 9000 -rv
-geometry 110x49 -sb -si -sk -sr -sw -e bash --login -i
</batch>

Which works fine.  I briefly see a command window and then the RXVT term
comes up and the command window disappears.

> -----Original Message-----
> From: Garrett, Ron [mailto:ron DOT garrett AT il DOT proquest DOT com] 
> Sent: Thursday, July 10, 2003 10:14 AM
> To: cygwin AT cygwin DOT com
> Subject: rxvt shortcut problem (bash, XP, memory, heap, Win32 
> error 487)
> 
> 
> I'm having trouble starting rxvt from a shortcut icon. If I 
> simply click on
> the rxvt.exe icon in a Windows Explorer window, then I get a 
> console window
> that is running /usr/bin/sh. If I then try to start bash, I get a heap
> allocation error:
> 
> $ ps
>       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
>       180       1     180        180  con 1005 11:43:00 /usr/bin/rxvt
>      3292     180    3292        948    0 1005 11:43:01 /usr/bin/sh
>      3812    3292    3292       2440    0 1005 11:43:17 /usr/bin/ps
> $ bash
> C:\cygwin\bin\bash.exe: *** Couldn't reserve space for cygwin's heap
> (0x2B80000) in child, cygheap, Win32 error 487
>  
> 
> If I try a shortcut that starts bash immediately (as 
> suggested by several
> sources), then I see two windows open briefly and close. I'm 
> guessing the
> same problem is happening there.
> 
> If I start rxvt from a cygwin terminal window (already 
> running bash), then
> rxvt starts up fine, and begins running bash itself. This 
> happens even when
> I don't include the "-e /bin/bash" arguments to rxvt.
> 
> I'm running Windows XP and my env under bash includes
> BASH_VERSION=$'2.05.0(6)-release'.
> 
> Anyone have any clues what's going wrong with my shortcut?
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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