Bug 92638 - Vertically split screen for very long listings (watch/top/tail/less/...)
Summary: Vertically split screen for very long listings (watch/top/tail/less/...)
Status: RESOLVED INTENTIONAL
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-03 17:03 UTC by Jakob Østergaard
Modified: 2005-01-03 10:37 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 Jakob Østergaard 2004-11-03 17:03:02 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    Gentoo Packages
OS:                Linux

When I monitor amanda (backup) progress with 'watch amstatus ...' I have approx. 200 lines of output with a nice summary at the bottom. All lines are relevant when following the progress. This cannot be viewed in one konsole (1600x1200 X with small font) - my only option is to select a font so small that it becomes unreadable.

What I would like Konsole to offer, was the option of vertically splitting the screen, so that text would flow from the top of the left half, to the bottom of the left half, then to the top of the right half and to the bottom of the right half. Sort of like the columns in a newspaper.

This would allow me to see the 80 character wide 200-300 line long amstatus output in a 160 character wide 150 line tall Konsole.

The same feature would be useful for 'top' on big busy systems, maybe for 'less' on large files, and for 'tail -f ...' when following busy log-files.

The goal here is to allow as many lines as possible to be viewable inside one single Konsole, without having to select unreadably small fonts. Whether only one split should be allowed, or the user should select 'N' splits, I don't know. One split would make a huge difference, that's for sure.

Thanks for listening  :)
Comment 1 Steven Roberts 2004-12-09 07:04:33 UTC
Not sure if your display supports it, but if so have you tried rotating it?  aka going 1200x1600.

something I have looked into doing (a few colleagues do it under windows) but it basically isn't supported by XFree/KDE for a multihead config.  But it should work for a single head.
Comment 2 Kurt Hindenburg 2005-01-03 05:34:04 UTC
What you want is a text viewer; nothing to do with konsole.
I would suggest trying to find a program to run in konsole that does what you want. Perhaps a GUI program that you can have split views, folds, etc...
Comment 3 Jakob Østergaard 2005-01-03 09:35:01 UTC
Well, yes and no.

A program such as 'less' does allow for some flexibility when viewing text output from other programs (by means of pipes). I could imagine an extended less program which (using curses) could do some of what I ask.

I see this pretty much like the scrolling feature of Konsole. You can argue that there is *no* need for a scroll bar in Konsole, because less already allows you to scroll. Just add less to your pipes and you're done.

The above is only partially true, of course - less will not, for example, allow me to keep visible a long history of commands and outputs, like the Konsole scroll bar does. My 'column view' feature is an extension of the scroll feature - it will not only allow me to access a large number of lines (be they output or written input), it will allow me to keep it all immediately visible.

It is interesting that you mention "a text viewer" where I can have split views, folds, etc. Well, as I see it, Konsole is exactly a text viewer GUI program that displays text from the commands I run, and my request was, precisely, for such a feature :)

So, unless we're misunderstanding each other, I think we agree perfectly on what it is I want. Maybe we do not agree whether the feature belongs in Konsole or not  ;)     (?)

I guess I should learn the Konsole code, write it myself and submit it - I just hoped someone would feel it was a good enough idea to actually want to beat me to it  ;)

Thanks for your feedback!

For Steven's comment:  A 22" CRT weighs a lot more than what I can comfortably rotate on my desk, when I need 1200x1600 resolution - I think I understand your idea, but I also think that there are too many practical problems in it (which, I would argue, could be comfortably solved with this little column-view feature)  :)
Comment 4 Steven Roberts 2005-01-03 10:37:28 UTC
sorry, I made a bad assumption, I have only run 1600x1200 on a 19" LCD which rotates a little easier :) (my CRT's didn't ever do 1600x1200 well, but haven't had a 22" one).