Re: two process writing simultaneously

2006-06-18 Thread Andreas Schwab
"Anthony Ettinger" <[EMAIL PROTECTED]> writes:

> +-+
> |   1  |
> |   |
> 
> |2 |
> |   |
> +-+
>
> is it possible to write to the same stdout but in two different
> locations on the screen ( 1 and 2)? I'd like to combine the output of
> a repeating pstree command with an strace at the same time.

Redirect the output of pstree and strace to different windows inside
screen(1).

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash


Cygwin and Vista

2006-06-18 Thread NA

I tried to install Cygwin on Vista.  The bash.exe file will not run.

I always get this error from the command prompt:

bash-3.1$ /var
 6 [main] ? (2560) C:\cygwin\bin\bash.exe: *** fatal error - couldn't
alloc
ate heap, Win32 error 0, base 0x80, top 0x82, reserve_size 126976,
alloc
size 131072, page_const 4096
 5 [main] bash 2076 child_copy: stack write copy failed,
0x22E940..0x23
, done 0, windows pid 2287732, Win32 error 5
bash: fork: No error
bash-3.1$ chdir /var
 6 [main] ? (3036) C:\cygwin\bin\bash.exe: *** fatal error - couldn't
alloc
ate heap, Win32 error 0, base 0x80, top 0x82, reserve_size 126976,
alloc
size 131072, page_const 4096
12729142 [main] bash 2076 child_copy: stack write copy failed,
0x22E940..0x23000
0, done 0, windows pid 2287732, Win32 error 5
bash: fork: No error
bash-3.1$ dir
 6 [main] ? (3960) C:\cygwin\bin\bash.exe: *** fatal error - couldn't
alloc
ate heap, Win32 error 0, base 0x80, top 0x82, reserve_size 126976,
alloc
size 131072, page_const 4096
23898801 [main] bash 2076 child_copy: stack write copy failed,
0x22E940..0x23000
0, done 0, windows pid 2287732, Win32 error 5
bash: fork: No error
bash-3.1$ cygrunsrv -L
 6 [main] ? (3520) C:\cygwin\bin\bash.exe: *** fatal error - couldn't
alloc
ate heap, Win32 error 0, base 0x80, top 0x82, reserve_size 126976,
alloc
size 131072, page_const 4096
96502088 [main] bash 2076 child_copy: stack write copy failed,
0x22E940..0x23000
0, done 0, windows pid 2287732, Win32 error 5
bash: fork: No error

Will you please help me?

Thanks
___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash


Re: Cygwin and Vista

2006-06-18 Thread Eric Blake
> I tried to install Cygwin on Vista.  The bash.exe file will not run.

Sorry, but this is the wrong list.  Reread cygwin.com, which states:

The Cygwin DLL works with all non-beta, non "release candidate",
ix86 32 bit versions of Windows since Windows 95, with the exception
of Windows CE.

> 
> Will you please help me?

Windows Vista is only a release candidate, so cygwin does not
support it, therefore, running bash under cygwin on Vista is
unsupported, and you are on your own.  The bug is not in bash,
however, but in the fact that the cygwin1.dll (which the cygwin
version of bash depends on) has not yet been ported to that
platform.

At any rate, the cygwin mailing list is a better place to ask these
sorts of questions.

-- 
Eric Blake


___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash