Version: (using KDE KDE 3.5.6) Installed from: Ubuntu Packages When copying text from konsole, tabs get converted to spaces. This is a bit of a nuisance when editing, for example, makefiles. This applies when directly using the shell, it also applies when running a console editor such as nano. To reproduce: 1) echo -e "This\tcontains\ttabs" 2) select text 3) paste text 4) result: "This contains tabs" [This might be intentional; if so, can we have an option to change it?] Thanks very much - Richard
To the best of my knowledge, this is not fixable within Konsole, as it happens lower down the software stack. I'd need to verify that though. You can observe the same effects in xterm and gnome terminal.
Sounds like a CANTFIX but we don't have that
If your script produces a tab-separated CSV, copying and pasting into a spreadsheet application like LibreOffice Calc or Google Sheets prints it into a table as expected in most GUI terminals like GNOME terminal. However, Konsole doesn't do this. Konsole converts hard tabs to spaces, which gives unexpected and unwanted results when pasting the text into spreadsheet applications. Can we reopen this bug?
David, did you check if it works with xterm or gnome terminal? I quickly checked only xterm, and there an echo -e "X\tY" shows output with individual spaces selectable, instead of only being able to select the single Tab character.
GNOME Terminal works as expected (hard tabs stay hard tabs), but xterm seems to convert hard tabs to spaces.