[Konsole-devel] [Bug 119986] New: long commands wrapped on the same line
if
zeylie at gmail.com
Thu Jan 12 16:20:13 UTC 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=119986
Summary: long commands wrapped on the same line
Product: konsole
Version: unspecified
Platform: Debian testing
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: konsole-devel kde org
ReportedBy: zeylie gmail com
Version: Konsole: 1.6 (using KDE KDE 3.5.0)
Installed from: Debian testing/unstable Packages
OS: Linux
After some playing with color prompt (yes, i saw bug 28273, but i think it's not in this case) long commands in Konsole started to wrap on the same line, messing with propmt.
In my ~/.bashrc i have:
export PS1='\[\e[36;40m\]\h\[\e[37;40m\]:\[\e[0m\]\w\[\e[32;40m\]\$\[\e[0m\] '
escaped correctly. In normal shell (from ssh to myhost or Alt+Fn) everything works fine.
resetting all prompts and restarting kde didnt fix the problem.
when i fire up konsole, with TERM set to xterm from "configure konsole" menu, export proves that:
myhost:~$ export | grep TERM
declare -x TERM="xterm"
myhost:~$
but long commands wrap on the same line.
if i redeclare TERM in the end of my .bashrc with something like:
if [ "TERM" == "xterm" ];
then
export TERM=xterm
fi
, or manually enter first command 'export TERM=xterm' (but export shows it's already set!) -- everything begin to work fine.
if i enter "export", then copy PS1, then enter "export <paste PS1 here>", lines still wrapped incorrectly. but if i enter "export | grep PS1" everything start to work fine. Just noticed that even if i enter "export | grep wtf " or "export | [some command here]" everything again start to work fine ;-)
if i fire up konsole from another like "konsole --tn xterm" it inherits the bug, and "resetting TERM" fix works too, while export at start still shows 'declare -x TERM="xterm"'.
myhost:~$ konsole -v
Qt: 3.3.5
KDE: 3.5.0
Konsole: 1.6
Debian unstable. (it's version, not diagnosis ;-)
that's all i think. it least hope to make you smile anyway ;)
More information about the konsole-devel
mailing list