lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] Using mintty with cygwin [Was: NDEBUG]


From: Greg Chicares
Subject: [lmi] Using mintty with cygwin [Was: NDEBUG]
Date: Wed, 21 Jan 2015 13:01:49 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0

On 12/05/2014 02:18 AM, Greg Chicares wrote:
[...]
> Because this was wrong once, let's start by figuring out how to test
> it, so that we can be certain it's right after we fix it. Already I'm
> lost. I did run this test with the original r6007 change:
> 
> /opt/lmi/bin[0]$./lmi_wx_shared --ash_nazg --data_path=/opt/lmi/data
>   Test | Test system command
>   x
>   OK
> 
> and observed these effects, which I guessed were exactly correct:
> 
> Messagebox:
>   Error | Command 'x' not recognized.
> and in the terminal:
>   01:52:19: Error: Execution of command 'x' failed (error 2: the system 
> cannot find the file specified.)

This desirable behavior requires a terminal emulator (an msw console
won't do). That's also required for 'wx_test --list'.

To create a zsh shortcut that uses mintty (tested with msw-xp):

right-click on the desktop
New | Shortcut
"location":
  C:\cygwin-lmi\bin\mintty.exe /bin/zsh --login
"name":
  zsh
Finish

Optionally, to select a more idoneous icon:

right-click on the new shortcut
Properties | Change Icon
"Look for icons..." click Browse
select "zsh.exe" | Open
OK | OK

I find it convenient to drag the shortcut to the "quick start" area.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]