D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Ssearching previous terminal ouput



Konsole has a facility to search the history through the "Edit - Find 
in History" menu option.  Konsole seems to hold 1000 lines by default 
but this can be changed with "Settings - History".    

The above refers to Konsole 1.1 on kde3.  Don't confuse with the 
command line history (using the up arrow). 

I have to admit that I have only just noticed this capability!

Tony

On Monday 10 June 2002 12:18 pm, GRANT SEWELL wrote:
I haven't used Konsole in a while, but I think that generally using
either <shitf>+up arrow, or <ctrl>+up arrow should scroll through
whatever was put on screen.  Also, doesn't konsole allow you to have
a 'scrollbar' on the side?  The only advantage that I can see of
outputing to a text file is to make life easier when using grep to
find a keyword.

Hope this helps.

On 10-Jun-2002 at 10:45:08 Ian P. Christian wrote:
From: John Horne

An odd subject line I admit! Okay, using redhat 7.0 and KDE,
I start up a shell/terminal (kconsole). Unzip and untar a
package and run the configure program. No problem I'm sure
most of us have done that :-) However, I want to 'search' the
output displayed in kconsole from the configure program to
try and find something (a word). I'm sure someone said it
could be done from a long time ago, but I have no idea how.
Anyone any ideas?

I personally would do $ ./program > file.txt
Then you can grep that file.

Does that help?

No. Here's the reply I just mailed someone else who suggested the
same thing:

  Nope, that's not the question :-) It could be any program, I
just happened to be running configure at the time. I want to
search what is displayed on the screen. I *could* redirect it to a
file, but it would be far easier to search the 'screen'. Saves
faffing around with files and then deleting them, etc. The
question is probably very generic - 'using X11 how can I search an
xterm's output' may have been better. The fact I am using
redhat/KDE and was running configure is not important.



John.

------------------------------------------------------------------
------ John Horne, University of Plymouth, UK           Tel: +44
(0)1752 233914 E-mail: jhorne@xxxxxxxxxxxxxx
PGP key available from public key servers

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.

-- 
--------------------------------------------------------------------------
Tony Atkin
Geography Department, The College of St Mark and St John, Plymouth
email:  tone_pl@xxxxxxxxxxx, tatkin@xxxxxxxxxxxx
tel:    01752 636700 ext. 4316
--------------------------------------------------------------------------

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly