[konsole] [Bug 485923] New: Line numbers.

bug-control at kde.org bug-control at kde.org
Sun Apr 21 21:36:48 BST 2024


https://bugs.kde.org/show_bug.cgi?id=485923

            Bug ID: 485923
           Summary: Line numbers.
    Classification: Applications
           Product: konsole
           Version: 24.02.2
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: emulation
          Assignee: konsole-devel at kde.org
          Reporter: 4wy78uwh at rokejulianlockhart.addy.io
  Target Milestone: ---
             Flags: performance-

Created attachment 168765
  --> https://bugs.kde.org/attachment.cgi?id=168765&action=edit
The current Konsole GUI.

SUMMARY
I'd like line numbers.

STEPS TO REPRODUCE
Invoke Konsole, and use a command like
https://github.com/coreutils/coreutils/blob/225cb8d7473eadb481a4884e929bf23589d4bd82/src/cat.c#L1
or
https://github.com/MicrosoftDocs/PowerShell-Docs/blob/04dac6ae6b2abcb91006b6a515cc26c72219ffd5/reference/7.4/Microsoft.PowerShell.Management/Get-Content.md#example-2-limit-the-number-of-lines-get-content-returns
to output the content of a file to the terminal.

OBSERVED RESULT
Without using `cat`'s `-b` or `-n` flags, the content cannot be numbered. For
others, like the aforecited `Get-Content`, it's impossible to output line
numbers without writing code for every interaction to iterate over the lines.

EXPECTED RESULT
I should have line numbers in the terminal, to its side (according to LTR/RTL
preference).

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASRock
Product Name: X670E Taichi

ADDITIONAL INFORMATION
https://discuss.kde.org/t/line-numbers-in-autostart-kcm-information/14402?u=rokejulianlockhart#:~:text=i%E2%80%99d%20suggest%20the%20konsole%20kpart%2C%20but%20konsole%20doesn%E2%80%99t%20appear%20to%20support%20line%20numbers%2C%20surprisingly.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list