View previous topic :: View next topic |
Author |
Message |
G. S. Tatch n00b
Joined: 11 Jul 2010 Posts: 18 Location: The Netherlands
|
Posted: Thu Jul 22, 2010 5:24 pm Post subject: New idea's for gnome-terminal? [CLOSED] |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Jul 22, 2010 5:42 pm Post subject: |
|
|
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 |
|
|
G. S. Tatch n00b
Joined: 11 Jul 2010 Posts: 18 Location: The Netherlands
|
Posted: Thu Jul 22, 2010 10:04 pm Post subject: Just a button... |
|
|
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 |
|
|
jw5801 Apprentice
Joined: 12 Jun 2008 Posts: 251 Location: Melbourne, Australia
|
Posted: Fri Jul 23, 2010 8:45 am Post subject: Re: Just a button... |
|
|
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 |
|
|
G. S. Tatch n00b
Joined: 11 Jul 2010 Posts: 18 Location: The Netherlands
|
Posted: Fri Jul 23, 2010 9:21 am Post subject: That's not what I meant... |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10655 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Jul 23, 2010 11:16 am Post subject: |
|
|
Mostly, I think you're talking to people that aren't involved with Gnome Terminal development.
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 |
|
|
jw5801 Apprentice
Joined: 12 Jun 2008 Posts: 251 Location: Melbourne, Australia
|
Posted: Fri Jul 23, 2010 11:24 am Post subject: Re: That's not what I meant... |
|
|
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 |
|
|
G. S. Tatch n00b
Joined: 11 Jul 2010 Posts: 18 Location: The Netherlands
|
Posted: Fri Jul 23, 2010 12:45 pm Post subject: A few scenario's |
|
|
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 |
|
|
jw5801 Apprentice
Joined: 12 Jun 2008 Posts: 251 Location: Melbourne, Australia
|
Posted: Fri Jul 23, 2010 12:59 pm Post subject: |
|
|
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 |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1932
|
Posted: Fri Jul 23, 2010 12:59 pm Post subject: |
|
|
Konsole has a Find function (Ctrl+Shift+F) |
|
Back to top |
|
|
G. S. Tatch n00b
Joined: 11 Jul 2010 Posts: 18 Location: The Netherlands
|
Posted: Fri Jul 23, 2010 2:09 pm Post subject: Closing proposal? |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10655 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Jul 23, 2010 3:12 pm Post subject: Re: Closing proposal? |
|
|
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 |
|
|
G. S. Tatch n00b
Joined: 11 Jul 2010 Posts: 18 Location: The Netherlands
|
Posted: Fri Jul 23, 2010 3:56 pm Post subject: |
|
|
Well thanks John..
I shall close the topic.
G. S. Tatch |
|
Back to top |
|
|
|