Files attached as suggested. Cygcheck.def is from the default terminal running bash. Cygcheck.rxvt is from the rxvt terminal running sh.
One other note: If I set the environment variable "SHELL" to "bash" using the Control Panel, then clicking the rxvt icon (invoking rxvt with NO arguments) leads to the two windows opening briefly and then closing. It seems pretty clear the problem is caused by starting bash from within rxvt, rather than the rxvt program itself. Thanks for any help. -----Original Message----- From: Elfyn McBratney [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 5:29 PM To: Garrett, Ron Cc: [EMAIL PROTECTED] Subject: Re: rxvt shortcut problem (bash, XP, memory, heap, Win32 error 487) On Thu, 10 Jul 2003, Garrett, Ron wrote: > 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. Can you send the output of `cygcheck -svr', as a plain-text *non-compressed* attachment (not inlined) to the list? It might help pinpoint your problem. Elfyn -- Elfyn McBratney, EMCB http://www.emcb.co.uk [EMAIL PROTECTED]
cygcheck.rxvt
Description: Binary data
cygcheck.def
Description: Binary data
-- 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/