Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 886  / 2 Years ago, mon, march 7, 2022, 2:33:36

I use gnome-terminal in combination with irssi and I am wondering if there's anything like .bash_history logfile for irssi, that can be used/implemented/set up, that enables one to retrieve previously typed commands, like /server xxx, /j #channel etc.. also in a later anew started session, by using gnome-terminals standard key-shortcuts like and .



It is really troublesome to repeatedly type all the commands again and again while not being connected to any /server the next day, so any help here is much appreciated. --Thank you!!






Edit: When I am prompted to connect to any /server of my choice, I would like to use the key-shortcut prior mention, that then brings up my previous choices of connected servers/commands, like /server irc.blah01.com, /server irc.blah02.com, /server irc.blah03.com etc.. I simply can then skip through and confirm with Enter instead of typing the exact command and server address again and again. (I know about the auto-connect function, but I prefer the other option, if it is one).


More From » history

 Answers
5

The history_search.pl script from irssi.org in combination with Ctrl+R worked quite nicely in the end!



How to use it:




  1. First do: /bind ^R /history_search.

  2. Then type Ctrl+R and type what you're searching for.

  3. Optionally, you can bind something to /history_search -forward to go forward in the results.


[#24619] Tuesday, March 8, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mentpengu

Total Points: 148
Total Questions: 114
Total Answers: 119

Location: Anguilla
Member since Sun, Aug 7, 2022
2 Years ago
mentpengu questions
Sun, Apr 17, 22, 18:09, 2 Years ago
Fri, Aug 12, 22, 01:35, 2 Years ago
Tue, Jul 26, 22, 14:52, 2 Years ago
;