This java script stuff sounds interesting, hope you get it perfected.
What'll need to be done for the console popups is to port readline to
win32. There exists callback functions already but they need to be
Win32ized. I'll take a look at rxvt and -mwindows. The RXVT Cygwin
package doesn't exactly build straight OOTB, there's a lots a futzing to
do especially with W11. I'll at least look at the binary edit.
Earnie.
Wu Yongwei wrote:
>
> When starting MSYS, I found the flashing black window (DOS Prompt) a
> little annoying, and I used the following way to get rid of it.
>
> First, rxvt.exe should be modified. It is currently marked a CUI instead
> of a GUI executable. Change the byte at position 0xDC to 02 will do. Or
> rebuilt it as a GUI executable. It should not interfere with the use of
> msys.bat.
>
> Second, make sure your system has Windows Script support. If you have
> Windows 98 or later, Windows 2000 or later, or have installed Internet
> Explorer 4.0 or later, this should not be a problem. You may choose to
> download the latest scripting engine from
>
> http://msdn.microsoft.com/scripting/
>
> Third, create the following JavaScript file as msys.js
>
> var oShell = WScript.CreateObject("WScript.Shell");
> var oEnvir = oShell.Environment("PROCESS");
> oEnvir("CYGWIN") = "nowinsymlinks notty notitle binmode nontsec nontea nosmbntsec";
> oShell.Run("rxvt -sl 2500 -fg NavajoWhite -bg SteelBlue -sr -fn \"Courier-12\" -tn msys -e /bin/sh --login -i");
>
> Lastly, create a shortcut to msys.js just in the way one creates a
> shortcut for msys.bat. Done.
>
> Bad thing when I am finishing this message. Maybe some people like
> Earnie already know of this kind of problems: disgusting black windows
> (titled "sh.exe") will now pop up when doing SOME operations, like
> "gcc -v --help" or "make clean". So it is even worse. Maybe I am doing
> something useless....
>
> I just wonder, anyone knows the reason or a cure?
>
> Best regards,
>
> Wu Yongwei
>
> _______________________________________________
> Mingw-msys mailing list
> Mingw-msys@...
> https://lists.sourceforge.net/lists/listinfo/mingw-msys
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|