Bug 132215 - highlight recent console display
Summary: highlight recent console display
Status: RESOLVED LATER
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-10 17:14 UTC by Daniel Herring
Modified: 2012-06-19 15:41 UTC (History)
0 users

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 Daniel Herring 2006-08-10 17:14:50 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Unspecified

When developing code, a common console usage pattern is
while(compile-time bugs)
{
 `make`
 decipher messages to fix errors
}

The problem is that the `make` line is small when compared to the multi-page error reports that can spew out, and most bugs are best identified in the first few lines of output.  Thus, I would like to have konsole change the background color for all text output since the last user input, and use another color to highlight output between the two previous user inputs (e.g. `make` and <Control>-C).  This highlighting should then disappear as new commands are typed in.  In this way, a strong visual cue would indicate which output is "current".  Just coloring the prompt is insufficient (easily done now) -- its hard to distinguish one prompt from another after scrolling several pages.

I think a feature like this would be useful for non-compiling tasks (such as listing or grepping) as well.
Comment 1 Robert Knight 2006-08-10 19:18:18 UTC
Hi,

That's a good idea.

I find the easiest way of parsing 'make' output is to use Vim's error list which saves the hassle of trying to search it manually.  It can be used even when you are doing the editing in a different text editor.

1.  Start Vim ("vim") and type ":make" and press Enter to execute the 'make' command in the current location

2.  When the output stops, either when make finishes or if you press <Control>+C, you will be taken back to Vim which will take you to the first warning or error message ouput by the compiler.  For simple projects this works well.

3.  To browse the errors from the last make, type ":cope" and press Enter to open the error window, and you can browse it using the Up/Down arrow keys

4.  To jump quickly to the first fatal error that causes the compilation to fail, type "/err" and press Enter (which almost always works since the guilty line will begin with the text "error:"

Steps 1 and 3,4 can be bound to a handy shortcut key combination (I use the function keys) to make the process even quicker.

Comment 2 Robert Knight 2007-02-10 04:17:31 UTC
I hope to have some facilities for highlighting lines of text matching particular expressions in KDE 4.  This should help here.
Comment 3 Kurt Hindenburg 2012-06-19 15:41:57 UTC
I'll close this for now - if anyone wants to code this reopen this.