Saturday, April 27, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 3723  / 3 Years ago, mon, october 25, 2021, 3:08:32

I am using gnome-terminal in Ubuntu 11.10 and seem to get long lines overlapping
in the terminal window.



When I copy a long command line and paste it into the terminal, the text gets overlapped
to the start of the line and often covers the user prompt.



If I resize the terminal window, making it wider the overlapping gets undone and everything looks normal. In previous versions of Ubuntu, if a line was too long
it would continue on the next line below.



Another problem I have noticed that may be related, is when using the up arrow key
to show previously typed commands, sometimes instead of the output command line
being replaced by the previous command each time the key is pressed, the lines get
partially merged. A portion of the old line remains, and the next command gets
joined onto the end.



This leftover part of a command is persistent and does not get replaced next time the key is pressed, although the insertion point or blinking cursor is at the end of the
latest recalled command, and the leftover has no effect if I press enter.



Is this problem a bug or some setting that needs fixing?
Where do I look for the cause?
keyboard? gnome-terminal? bash?



Thank you for any help or suggestions offered


More From » gnome-terminal

 Answers
7

[SOLVED]
I tested for this behaviour using the Ubuntu 11.10 live cd and did not have the same
problems in terminal, so I guessed that a change I had made was likely to be the cause.



I had made some changes to the .bashrc file while following a tutorial on customising the
bash user prompt, which must have caused this problem.



After restoring the original .bashrc file from backup, the problem with overlapping lines
is resolved.



Thanks for your response Huckle.
Cheers


[#39266] Tuesday, October 26, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
issfullus

Total Points: 264
Total Questions: 126
Total Answers: 107

Location: Comoros
Member since Mon, Dec 19, 2022
1 Year ago
;