Historial of commands in the shell isn't working properly. When I modify a previous command, the command executed isn't the same that's showed.

Bug #493394 reported by Jorge L Plaza R
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
New
Low
Unassigned

Bug Description

Binary package hint: gnome-terminal

1) Ubuntu 9.10
2) Gnome Terminal 2.28.1
3) I search for a previous command (using the up arrow key), then I modify the one I want. When I click "del" or "backspace", I expect the shell to remove the character.
4) Other letters or white spaces appear in that point. Even if I get to a point where the command is OK, when I click enter an error occurs because the executed command is not exactly like the one I was seeing, it contains another letters.

ProblemType: Bug
Architecture: i386
Date: Sun Dec 6 20:53:00 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gnome-terminal
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: gnome-terminal 2.28.1-0ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: gnome-terminal
Uname: Linux 2.6.31-15-generic i686

Revision history for this message
Jorge L Plaza R (jplaza) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

do you get the same with xterm ?

Changed in gnome-terminal (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Jorge L Plaza R (jplaza) wrote : Re: [Bug 493394] Re: Historial of commands in the shell isn't working properly. When I modify a previous command, the command executed isn't the same that's showed.

Hi Pedro,

I'm sorry for not answering you sooner, I was not able to try it at work.
It happens in xterm too, I noticed that sometimes the position where the
command starts is different (sometimes next to the $ sign [$ls] and
sometimes
with a blank character in between [$ ls]), and when it's right next to the
$, I cannot
reach the first character, and it dissappears when I move the cursor trying
to
reach it.

I hope this information is useful, if there's something I can do please tell
me.

Best regards,

Jorge L. Plaza R.
<email address hidden>

On Tue, Dec 8, 2009 at 9:17 AM, Pedro Villavicencio <email address hidden>wrote:

> do you get the same with xterm ?
>
> ** Changed in: gnome-terminal (Ubuntu)
> Importance: Undecided => Low
>
> ** Changed in: gnome-terminal (Ubuntu)
> Status: New => Incomplete
>
> --
> Historial of commands in the shell isn't working properly. When I modify a
> previous command, the command executed isn't the same that's showed.
> https://bugs.launchpad.net/bugs/493394
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Jorge L Plaza R (jplaza) wrote :

More Info:
Apparently this happens only when the line is wrapped. I tried to reproduce the bug with a bigger shell window and it works fine, although there's still present the issue with the prompt (some commands start right next to the $ and others --most of them-- don't)

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

ok thanks you so it might be something else, the bug needs to be reassigned, thanks for the update.

affects: gnome-terminal (Ubuntu) → ubuntu
Changed in ubuntu:
status: Incomplete → New
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.