enter is mapped to ^[OM in gnome-terminal

Bug #511742 reported by Bernhard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vte (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-terminal

Not sure which package this bug belongs to, so please refer me to the right place. The problem is that gnome-terminal maps ENTER to ^[OM in vim.

Reproduce:

1) open vim
2) press "i" insert mode
3) press CTRL-V
4) press ENTER

you get ^[OM which is wrong, it should be ^M.

ProblemType: Bug
Architecture: i386
CheckboxSubmission: f078d6c47c1beb05b0f12538be314916
CheckboxSystem: 7dbe3241a08ed65fdce219fc8cf077b9
Date: Sun Jan 24 01:30:48 2010
DistroRelease: Ubuntu 9.10
Package: gnome-terminal 2.28.1-0ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-12.41-generic
SourcePackage: gnome-terminal
Uname: Linux 2.6.31-12-generic i686

Revision history for this message
Bernhard (b.a.koenig) wrote :
Revision history for this message
Bernhard (b.a.koenig) wrote :

Another way to reproduce the problem which shows even more how serious the bug is:

1) type into a terminal "info cat"
2) hit "/" to do a search
3) type anything and hit ENTER

you will get the error "[`ESC O m' is invalid]". This means I cannot do any regular searches in "info" dialogs in a standard Ubuntu install. Something is definitely wrong with gnome-terminal.

summary: - enter is mapped to ^[OM in vim
+ enter is mapped to ^[OM in gnome-terminal
Revision history for this message
Pedro Villavicencio (pedro) wrote :

i do get ^M here, please test the same with a new user configuration on your system, thanks.

Changed in gnome-terminal (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Bernhard (b.a.koenig) wrote :

I get the same problem with a new user live CD configuration. I played around a bit with the keyboard layout but the problem persists. I have a FujitsuSiemens Amilo laptop, wonder if that keyboard model is not correctly configured in Ubuntu.

Changed in gnome-terminal (Ubuntu):
status: Incomplete → New
Revision history for this message
Bernhard (b.a.koenig) wrote :

Btw, the reason I think it is a gnome-terminal problem is that KDE's Konsole recognizes the ENTER key as ^M in all dialogs correctly. But gnome-terminal does not for some strange reason.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

This bug is an upstream one and it would be quite helpful if somebody experiencing it could send the bug the to the people writing the software. You can learn more about how to do this for various upstreams at https://wiki.ubuntu.com/Bugs/Upstream/GNOME . Thanks in advance!

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for sent it upstream Bernhard.

affects: gnome-terminal (Ubuntu) → vte (Ubuntu)
Changed in vte (Ubuntu):
status: New → Triaged
Changed in gnome-terminal:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Olivier Mengué (dolmen) wrote :

Can not reproduce in Natty. Does it still applies?

Revision history for this message
Bernhard (b.a.koenig) wrote :

Yes, it is still reproducible. See post #2.

If you cannot reproduce it like this, it could be that the bug is with my keyboard driver.

Revision history for this message
Bernhard (b.a.koenig) wrote :

I have now found that this issue is purely a problem of my laptop, a Fujitsu machine. See here: http://linuxquery.com/26984/wrong-mapping-of-return-key-in-linux

Bernhard (b.a.koenig)
Changed in vte (Ubuntu):
status: Triaged → Invalid
no longer affects: gnome-terminal
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.