On Sat, 2 Nov 2013, Thorsten Kampe wrote:
> Fish runs fine in Mintty (Cygwin's default terminal) but a lot of 
> "interactive" keys are broken in ConEmu (which is my Terminal 
> Emulator for all shells and non GUI applications).
> 
> Non working keys are Home, End, Del, all cursor keys.
> 
> History file shows that "\n[A" is executed (in the case of the Up 
> cursor key). I tried to bind this key code to the "up-or-search" 
> widget but without any change.
> 
> Interestingly the prompt in ConEmu is actually a two line prompt with 
> the Unicode return symbol (http://codepoints.net/U+23CE):
> 
> """
> Welcome to fish, the friendly interactive shell
> Type help for instructions on how to use fish
> U+23CE
> user@host F:/path>
> """

This second issue has been noted by others, too - see 
https://github.com/fish-shell/fish-shell/issues/1071.

This is a complicated area; we have to support both the behaviour of the 
Cygwin DLL terminal emulation, which emulates UNIX terminal 
characteristics into the Windows console API, plus the fact that ConEmu 
injects a second DLL which also partially emulates UNIX terminal 
characteristics within the Windows console API.

Do those keys work for you if you run fish from a standard cmd.exe/Command 
Prompt window (i.e. without ConEmu)?

Detecting the presence or absence of ConEmu is difficult from within fish 
running on the same machine, and probably impossible over SSH; the 
terminal type is set to `cygwin` regardless.

David Adam
fish shell committer
zanc...@ucc.gu.uwa.edu.au

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to