Command automatically execute after a copy paste
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-terminal (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnome-terminal
If I do a copy paste on a command with the middle mouse button, it will be automatically validate in the gnome-terminal.
I just enter "history" in order to find an old command, I select it with a triple click, I copy it with the a middle click, the command is well paste, but it will be executed immediately.
In my case the command is wrong because I have paste the line number, I wanted to correct it before its executions.
And many times, if commands come with a copy/paste, they will be executed directly without warning.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gnome-terminal 2.32.0-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-
NonfreeKernelMo
Architecture: i386
Date: Mon Jan 24 09:19:14 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta i386 (20100901.1)
ProcEnviron:
LANG=fr_FR.utf8
SHELL=/bin/bash
SourcePackage: gnome-terminal
You're copying a carriage return when you copy the command. You only need to double click it when you're copying text from the terminal. That third click is copying the whitespace at the end of the line, which is being interpreted as a carriage return when you paste it.