Bug 439124

Summary: Konsole - tabs to space conversion
Product: [Applications] konsole Reporter: Matthew Levi <matthew.levi12>
Component: tabbarAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ninjalj
Priority: NOR    
Version: 21.04.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***