Bug 439124 - Konsole - tabs to space conversion
Summary: Konsole - tabs to space conversion
Status: RESOLVED DUPLICATE of bug 168368
Alias: None
Product: konsole
Classification: Applications
Component: tabbar (show other bugs)
Version: 21.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-24 18:35 UTC by Matthew Levi
Modified: 2021-06-27 18:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Levi 2021-06-24 18:35:44 UTC
SUMMARY

Hello. I noticed that the output on Konsole terminal is different from the output on the file.

Example:

du test/*
4       test/aaa-file.txt
4       test/bbb-file.txt
4       test/ccc-file.txt

Between "4" and "test/aaa-file.txt" there are 7 spaces. So I copy that output from Konsole, I'll get 7 spaces in between.

On the other hand, if I run the following command du test/* > ~/Desktop/output.txt, I'll get tabs instead, on the output.txt file.

4   test/aaa-file.txt  (<<< tab in between)
4   test/bbb-file.txt  (<<< tab in between)
4   test/ccc-file.txt  (<<< tab in between)


That makes total difference in terms of CTRL-C + CTRL-V results. You can copy and paste from Konsole terminal into other softwares and the results are much better.

Where can I disable this "tab to spaces" conversion on KDE Konsole?

I really-really-really appreciate your help. Thank you so much.



SOFTWARE/OS VERSIONS

Operating System: Fedora 34
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.11-300.fc34.x86_64
OS Type: 64-bit
Graphics Platform: X11
Comment 1 ninjalj 2021-06-27 18:24:14 UTC

*** This bug has been marked as a duplicate of bug 168368 ***