Bug 323940 - Konsole issue w/ Meta/Alt key in vim (8bit input)
Summary: Konsole issue w/ Meta/Alt key in vim (8bit input)
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (show other bugs)
Version: 2.10.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL: http://vim.wikia.com/wiki/VimTip738
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-23 18:47 UTC by Bobby
Modified: 2013-10-01 16:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.