[Konsole-devel] [konsole] [Bug 312787] New: Tab character is not printed in last column of output
adeiross at yahoo.com
adeiross at yahoo.com
Mon Jan 7 00:57:28 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=312787
Bug ID: 312787
Summary: Tab character is not printed in last column of output
Classification: Unclassified
Product: konsole
Version: 2.8.5
Hardware: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: konsole-devel at kde.org
Reporter: adeiross at yahoo.com
A tab character is not printed between two non-whitespace characters when the
tab occurs in the last column of the output.
In the example below, when I run bash in a Konsole window of width 80 and echo
a string composed of 79 "a" characters, a tab character, and 3 "b" characters,
columns 79-80 of the output contain the string "ab", not separated by any
whitespace. The output misleadingly gives no indication that there is a tab
character present in the string.
Reproducible: Always
Steps to Reproduce:
1. Launch a konsole session running bash with a width of 80.
2. Run the command below:
$ echo -e
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\tbbb
Actual Results:
Konsole does not print whitespace between "a" and "b":
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab
bb
Expected Results:
Konsole should separate the "a" and "b" with whitespace:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbb
It occurs to me that this behavior might be attributable to bash as opposed to
Konsole. (The bash version for my Linux VM is 4.2.24.) I see the same
behavior in xterm-271. On my Mac running bash 3.2.48, I also see the same
behavior in Terminal.app, but not in iTerm.app -- iTerm.app alone gives the
output I label above as expected. So perhaps this issue is default bash
behavior, which has been "corrected" only by iTerm.app?
My Linux machine is a VirtualBox VM (hosted by my Mac):
$ uname -a
Linux xubuntu 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
$ konsole --version
Qt: 4.8.1
KDE Development Platform: 4.8.5 (4.8.5)
Konsole: 2.8.5
Any insight you can offer would be appreciated.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list