Terminal lines overlapping ?

Often when dealing with long commands and having resized the window of konsole or gnome-terminal, the line was not wrapped correctly and I was writing over the previously typed characters. Usually resizing the terminal back to default size helped so I was not really pushed into finding the culprit. But today I got really upset and spent five minutes googling around :-)

And it appears this is a bug/feature of bash itself. In short, when setting the shell prompt, bash can count some non-printing characters into the length of line text. It can be easily cured by adjusting the .bashrc file, as explained in the fine documentation.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Members of the EMEA Globalization Center are blogging about the products that comprise the Java Enterprise System stack.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today