[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
I don't understand this sentence -- there seem to be something missing, either a word or a punctuation mark. Do you mean Don't you want to be better_,_ Debian?, Don't you want to be _a_ better Debian? or Don't you want to be better _than_ Debian?? Ah, insult upon injury. Much easier than actually fixing the problem. For which I sent an effective fix in 2006 and more granular patches in 2008. It's almost been 6 years. Wonderful. Incidentally, Fedora has none of these keymappings and zsh works wonderfully there. Someone might want to have look at that. Ward -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/72054 Title: package defaults are unfriendly for users that use the 'viins' editing mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/72054/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
Don't you want to be better Debian? This is insane and drives most people crazy. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/72054 Title: package defaults are unfriendly for users that use the 'viins' editing mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/72054/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
Hi, Tomasz 'Zen' Napierala wrote: Don't you want to be better Debian? I don't understand this sentence -- there seem to be something missing, either a word or a punctuation mark. Do you mean Don't you want to be better_,_ Debian?, Don't you want to be _a_ better Debian? or Don't you want to be better _than_ Debian?? Regards, Axel -- ,''`. | Axel Beckert a...@debian.org, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `-| 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/72054 Title: package defaults are unfriendly for users that use the 'viins' editing mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/72054/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
** Changed in: zsh (Debian) Status: Unknown = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/72054 Title: package defaults are unfriendly for users that use the 'viins' editing mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/72054/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
JFTR: The according Debian bug has been tagged and closed as wontfix. Seems as if fixing this for vi users would make all Emacs users unhappy for the very same reason. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/72054 Title: package defaults are unfriendly for users that use the 'viins' editing mode -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
** Also affects: zsh (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383737 Importance: Unknown Status: Unknown -- package defaults are unfriendly for users that use the 'viins' editing mode https://bugs.launchpad.net/bugs/72054 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
Any reason that this still hasn't been fixed? The override mappings are insane. They seem to come directly from Debian (where there's also a bug on it http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383737). No one seems to know how they got there in the first place. I think it's ridiculous for the package to override the packaged software's default for me to just have to change it back again in my environment. I can edit the systemwide zshrc, but then I have to watch out for package upgrades overwriting my changes. All that needs to be done is remove the lines that reference vi-up-line- or-history and vi-down-line-or-history in /etc/zsh/zshrc. ** Bug watch added: Debian Bug tracker #383737 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383737 -- package defaults are unfriendly for users that use the 'viins' editing mode https://bugs.launchpad.net/bugs/72054 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
** Changed in: zsh (Ubuntu) Status: Confirmed = Incomplete -- package defaults are unfriendly for users that use the 'viins' editing mode https://bugs.launchpad.net/bugs/72054 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
I just tried in Karmic and the problem is still there. It's irrelevant that most keys work as expected, they should all work as expected. This whole situation leaves me wondering why it's taking over 2 years to fix something as trivial as this. To reproduce: $ sudo apt-get install zsh $ zsh (choose 'q' to do nothing) % bindkey -v press arrow up. You'll see: % bindkey -v with the cursor on the 'b' instead of at the end of the line. As you can see, actually testing this takes 2 minutes at most. The fix is still to just get rid of all the 'bindkey -M viins' lines in /etc/zsh/zshrc. Which is exactly what the patch that I sent in a year and a half ago would accomplish. Seeing how long something as simple as this is taking, I don't have much faith left in the ubuntu bug handling process... -- package defaults are unfriendly for users that use the 'viins' editing mode https://bugs.launchpad.net/bugs/72054 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
Removing all keybindings as you suggested in your second patch is not an option, as this would make some keys, e.g. Home and Delete, unusable (zsh doesn't recognize them correctly by default). Removing the other keybindings may cause problems, because I don't know how zsh determines which sequence the key sends (here this is done via the terminfo database). So I would suggest to change the keybindings that are annoying and differ from what you would expect (e.g. k in vicmd mode is bound to up-line-or-history and arrow up in viins mode is bound to vi-up-line-or-history). The line [[ -z $terminfo[kcuu1] ]] || bindkey -M viins $terminfo[kcuu1] vi-up-line-or-history should be replaced with: [[ -z $terminfo[kcuu1] ]] || bindkey -M viins $terminfo[kcuu1] up-line-or-history and similar for the other Arrow keys. -- package defaults are unfriendly for users that use the 'viins' editing mode https://bugs.launchpad.net/bugs/72054 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
Still the case in karmic It's easy to check if this is still there by looking at the .diff.gz file in packages.ubuntu.com ** Changed in: zsh (Ubuntu) Importance: Undecided = Wishlist ** Changed in: zsh (Ubuntu) Status: Incomplete = Confirmed -- package defaults are unfriendly for users that use the 'viins' editing mode https://bugs.launchpad.net/bugs/72054 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
I tried this in Karmic and most keys worked as expected. Anybody else tried this in Karmic? ** Changed in: zsh (Ubuntu) Status: Confirmed = Incomplete -- package defaults are unfriendly for users that use the 'viins' editing mode https://bugs.launchpad.net/bugs/72054 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
The zsh manual says the viins mode is automatically turned on if the EDITOR environment variable contains anything linke 'vi'. http://zsh.sourceforge.net/Doc/Release/zsh_17.html#SEC92 The additional ubuntu keybindings cause a lot of trouble if someone exports EDITOR=vim in .zshrc and starts an other zsh instance via sudo -s oder screen. The new instance starts with viins mode and the keybindings in /etc/zsh/zshrc are activated. This doesn't affect a normal login shells since the environment most likely doesn't have the EDITOR variable set. -- package defaults are unfriendly for users that use the 'viins' editing mode https://bugs.launchpad.net/bugs/72054 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
setting status to confirmed... where are we on this issue? has anyone looked at the patches proposed by ward? have they been introduced? ** Changed in: zsh (Ubuntu) Status: Incomplete = New ** Changed in: zsh (Ubuntu) Status: New = Confirmed -- package defaults are unfriendly for users that use the 'viins' editing mode https://bugs.launchpad.net/bugs/72054 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 72054] Re: package defaults are unfriendly for users that use the 'viins' editing mode
** Summary changed: - very non-default zsh behaviour + package defaults are unfriendly for users that use the 'viins' editing mode -- package defaults are unfriendly for users that use the 'viins' editing mode https://bugs.launchpad.net/bugs/72054 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs