Using Shift+left arrow or right arrow to select characters results in garbage on command line

Bug #546021 reported by Jean-Philippe Fleury on 2010-03-24
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Gnome Virtual Terminal Emulator
Invalid
Medium
vte (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: gnome-terminal

I upgraded my system from Karmic to Lucid Beta 1, and now I can't use Shift+left arrow or right arrow to select one character at a time. These keyboard shortcuts result in garbage on command line:

- "Shift+left arrow" prints D
- "Shift+right arrow" prints C

ProblemType: Bug
Architecture: i386
Date: Wed Mar 24 09:40:50 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/gnome-terminal
Package: gnome-terminal 2.29.6-0ubuntu3
ProcEnviron:
 LANGUAGE=fr_CA:fr
 LANG=fr_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: gnome-terminal
Uname: Linux 2.6.32-16-generic i686

Jean-Philippe Fleury (jpfle) wrote :
Davide Lasagna (lasagnadavide) wrote :

Hi, thanks for taking the time to report this bug and for helping to make Ubuntu a better OS.
The terminal keybindings depend on the readline configuration, which stays in the file /etc/inputrc. I also have Lucid running on my laptop and i can reproduce this behaviour although i'm not sure if you could select text in the terminal with shift+arrows in karmic. As far as i remember there was no such possibility, but i may be mistaken. Can someone running Karmic post the /etc/inputrc file? Marking as incomplete until new information.

Cheers
Davide

Changed in gnome-terminal (Ubuntu):
status: New → Incomplete

Me Too.

I'm not sure about the "Incomplete" status, but I can confirm this affects me too.
I've upgraded to Ubuntu 10.04 LTS - standard configuration on an ASUS P5N-E SLI

I was pretty sure this worked before the upgrade, and it's pretty universal behaviour.
In the mean time, does anyone know if there is a way to "remap" SHIFT-LEFT and SHIFT-RIGHT to highlight as expected?

- Peter

It would also appear that this is a regression error from previous work done.
Browsing a little more, I have found this sequence of bugs dating back quite some time...

on here: 89660 and 96676
on Bugzilla: 337252, 425462, 434921, and 600659

I'm a relatively novice Linux user, and I don't know a thing about XTerm, vte, vtl, vi, vim, ACM or other *nix flavours.

However, if I understand this right,
 * Ubuntu is supposed to be for the "Rest of us",
 * We have to learn to use the terminal (or Bash) to get anything done,
 * It would appear that basic navigation in said terminal is not stable.

This doesn't leave a good impression. Sorry if I sound ungrateful, that's not the intent.
I just want to point out that most users would not take the time to wade through all this.

- Peter

Changed in gnome-terminal (Ubuntu):
status: Incomplete → Confirmed
Chris Coulson (chrisccoulson) wrote :

The same also happens in terminator

affects: gnome-terminal (Ubuntu) → vte (Ubuntu)
Changed in vte (Ubuntu):
importance: Undecided → Low
Chris Coulson (chrisccoulson) 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. Thanks in advance!

Changed in vte:
status: Unknown → New
Chris Coulson (chrisccoulson) wrote :

Thanks for sending upstream

Changed in vte (Ubuntu):
status: Confirmed → Triaged
Changed in vte:
importance: Unknown → Medium
Changed in vte:
status: New → Invalid

Due to a hardware issue, I installed 15.04 on a new hard drive and noticed this behaviour is different from my previous install as mentioned in this bug.
Previous system was Ubuntu 11.04 but updated through 12.04 and 14.04.
Upstream bug was closed as nothing changed on their end, so clearly there must be another configuration change in Ubuntu sometime over the years that changed this?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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