Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Zsh changes on Ubuntu



I looked into Thorsten's issue. I suspect it is caused by Fizsh being dependent on raw directional codes. Newer versions of Ubuntu seem to work with a different set of raw directional codes than older versions. For example, Ubuntu's raw code for "arrow-up" seems to have changed from "^[[A" to "^[0A". This would explain why things work on Debian and Cygwin but not on Ubuntu. 

I agree with Frank's suggestion to revert to more portable code like: 

> bindkey "${key[Up]}" 

This does not work on my Debian system (Stable distribution), but it can be made to work like this: 

> typeset -A key
> key[Up]=${terminfo[kcuu1]}

Guido 



Messages sorted by: Reverse Date, Date, Thread, Author