lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: [Mingw-users] ANSI escape sequences problem
- Date: Tue, 24 Jun 2008 10:52:24 +0200
- From: Bengt Werstén <Bengt.Wersten@xxxxxxxx>
- Subject: ***BOGO*** Re: [Mingw-users] ANSI escape sequences problem
Thank you sir,
Most welcommed information. I have updated cygwin for rxvt support. However, when I use rxvt it seems to do local echo of everything I type. How can I read data from stdin without local echo using MinGW and rxvt?
/Bengt
-----Original Message-----
From: mingw-users-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:mingw-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Brian Dessent
Sent: den 24 juni 2008 09:59
To: MinGW Users List
Subject: Re: [Mingw-users] ANSI escape sequences problem
Bengt Werstén wrote:
> Hmm, does I not matter at all that I run both programs from the same bash shell in cygwin?
The code that does the translation of the escape sequences into the
appropriate Win32 console API calls lives in the Cygwin DLL, thus it's
only available to an app that does I/O through Cygwin. When you run the
MinGW program (or any native Win32 app) it has direct control of the
console -- the Cygwin bash shell is simply the parent process, it
doesn't have any special control. It does not own the console while the
child is executing, there is no way for it to intercede on the actions
of an independent child process.
Note that your testcase does work if you use Cygwin's rxvt, because in
that case there is no Win32 console involved at all and no need for any
translation; rxvt is doing the interpretation of all escape sequences
regardless of source.
Brian
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users