Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New idea's for gnome-terminal? [CLOSED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
G. S. Tatch
n00b
n00b


Joined: 11 Jul 2010
Posts: 18
Location: The Netherlands

PostPosted: Thu Jul 22, 2010 5:24 pm    Post subject: New idea's for gnome-terminal? [CLOSED] Reply with quote

Hi,

Don't really know where to post this, so here I go...

Is there a way to search through the terminal? I use gnome-terminal, and there's no search functions, it seems...

I figured, that might be nice....

G. S. Tatch


Last edited by G. S. Tatch on Fri Jul 23, 2010 3:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu Jul 22, 2010 5:42 pm    Post subject: Reply with quote

as the buffer is limited you can only search for few text, so i don't think anyone saw an utility for that.
if it's search for files, slocate, whereis... all tools work

i think grep & more/less/head... are the tools that might get close to what you want get
Back to top
View user's profile Send private message
G. S. Tatch
n00b
n00b


Joined: 11 Jul 2010
Posts: 18
Location: The Netherlands

PostPosted: Thu Jul 22, 2010 10:04 pm    Post subject: Just a button... Reply with quote

No, just a button...

Like in gEdit, the "find" button...

You can define the scrollback amount...

Mine's 8192.... Edit > Profile Preferences > Scrolling, and whoop, there the setting is!

Something Like That!

Human Visual Sensor in One Character Form, and all that that stands for!
Back to top
View user's profile Send private message
jw5801
Apprentice
Apprentice


Joined: 12 Jun 2008
Posts: 251
Location: Melbourne, Australia

PostPosted: Fri Jul 23, 2010 8:45 am    Post subject: Re: Just a button... Reply with quote

G. S. Tatch wrote:
No, just a button...

Like in gEdit, the "find" button...

You can define the scrollback amount...

Mine's 8192.... Edit > Profile Preferences > Scrolling, and whoop, there the setting is!

Something Like That!

Human Visual Sensor in One Character Form, and all that that stands for!


Press ctrl+r in bash to do a rough find on your command history.

If you want to search through a long output pipe it to less and press '/' to search.
Code:
command_with_lots_of_output | less
Back to top
View user's profile Send private message
G. S. Tatch
n00b
n00b


Joined: 11 Jul 2010
Posts: 18
Location: The Netherlands

PostPosted: Fri Jul 23, 2010 9:21 am    Post subject: That's not what I meant... Reply with quote

Does anyone use gEdit, maybe it's easier to explain it to someone that uses that...

From all the output in the terminal, there's not a quick way to search through that....

Sorry, it's in most browsers as well... I'm using Epiphany, but Firefox will do it to.. press ctrl+f and there's a search function... That's what I'm talking about...

What did you people think I'm talkin' about?

Me...

// Take the semicolon to Jamie Cullum.... ;)
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10655
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Jul 23, 2010 11:16 am    Post subject: Reply with quote

Mostly, I think you're talking to people that aren't involved with Gnome Terminal development. :wink:

A couple of people have suggested that the *nix search tools (grep, sed, awk, etc.) are so much more powerful that they don't find the feature you're describing all that compelling. I'm afraid I'm in that camp, too.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
jw5801
Apprentice
Apprentice


Joined: 12 Jun 2008
Posts: 251
Location: Melbourne, Australia

PostPosted: Fri Jul 23, 2010 11:24 am    Post subject: Re: That's not what I meant... Reply with quote

G. S. Tatch wrote:
What did you people think I'm talkin' about?


I know what you're describing, I just can't see a scenario where one of the standard search tools would not be better suited for the task. I'm also not aware of a terminal emulator with a 'find' function, hence the discussion of alternate tools.

Can you describe a situation where you would want to use this function?
Back to top
View user's profile Send private message
G. S. Tatch
n00b
n00b


Joined: 11 Jul 2010
Posts: 18
Location: The Netherlands

PostPosted: Fri Jul 23, 2010 12:45 pm    Post subject: A few scenario's Reply with quote

In which you try to find a certain package from the emerge -s output when the list is too long...

Situations in which the output only gets posted to the terminal...

G. S. Tatch
Back to top
View user's profile Send private message
jw5801
Apprentice
Apprentice


Joined: 12 Jun 2008
Posts: 251
Location: Melbourne, Australia

PostPosted: Fri Jul 23, 2010 12:59 pm    Post subject: Reply with quote

Code:
emerge -s package | less


Then press '/' and you have your find function. Type what you're looking for, hit enter and us 'n' and 'p' to find the next and previous match. That's the way I usually do it (although I use eix for searching packages, but that's neither here nor there).

Plus you also don't get false positives from other commands and other outputs, and you can scroll through your output using the keyboard.
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1932

PostPosted: Fri Jul 23, 2010 12:59 pm    Post subject: Reply with quote

Konsole has a Find function (Ctrl+Shift+F)
Back to top
View user's profile Send private message
G. S. Tatch
n00b
n00b


Joined: 11 Jul 2010
Posts: 18
Location: The Netherlands

PostPosted: Fri Jul 23, 2010 2:09 pm    Post subject: Closing proposal? Reply with quote

It still doesn't autoselect me the querried querry....

Does someone know howto contact the gnome-terminal people?

Maybe they'll see it as a handy additive....

It isn't because it's an everyday thing it should be there... I just think it's a handy addon...

But thanks for the comments anyway, should I close it?

G. S. Tatch
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10655
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Jul 23, 2010 3:12 pm    Post subject: Re: Closing proposal? Reply with quote

G. S. Tatch wrote:
Does someone know howto contact the gnome-terminal people?
Might want to start by asking on the GNOME Support Forums.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
G. S. Tatch
n00b
n00b


Joined: 11 Jul 2010
Posts: 18
Location: The Netherlands

PostPosted: Fri Jul 23, 2010 3:56 pm    Post subject: Reply with quote

Well thanks John..

I shall close the topic.

G. S. Tatch
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum