Bug 323940

Summary: Konsole issue w/ Meta/Alt key in vim (8bit input)
Product: [Applications] konsole Reporter: Bobby <rrockers>
Component: keyboardAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: khindenburg
Priority: NOR    
Version First Reported In: 2.10.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
URL: http://vim.wikia.com/wiki/VimTip738
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bobby 2013-08-23 18:47:59 UTC
With the default setup, konsole doesn't seem to send 8 bit character (instead using 7 bit) to the terminal when typing.  This causes problems in programs like Vim when using alt+p or M-Y combinations.  Currently xterm, gterm, and several others now support this by default.

see also:
http://vim.wikia.com/wiki/VimTip1129
http://www.kubuntuforums.net/showthread.php?61643-Alt-key-mappings-for-vim-in-konsole

Reproducible: Always

Steps to Reproduce:
1. In konsole, type vim
2. In vim, type i<press Ctrl-V><press Meta-A>
3. If you see a ^[a (that is, escape character followed by something) something is wrong
Comment 1 Christoph Feck 2013-08-27 10:23:33 UTC
If Konsole would only accept 7 bit input, I could not type german umlauts. So the bug must be a completely different issue. It could, for example, related to setup of X keyboard mappings.
Comment 2 Kurt Hindenburg 2013-10-01 12:55:54 UTC
In konsole and gnome-terminal I get: ^[å

xterm : å
Comment 3 Bobby 2013-10-01 16:05:34 UTC
This bug can be safely closed.  The problem seems to be an issue with X keyboard mappings on my MacBook Air laptop.  I had to play with the layout and found that the US English layout has a specific variation for the Mac.  Konsole seems to simply be using whatever character set is being passed in from X.

Sorry for the confusion.  Hopefully this helps anyone else with a Mac keyboard who is using Vim.