Term::...ISearch(3pm)
π Term::...ISearch(3pm) β bestie edition π
okay so this is the manual page for Term::ReadLine::Zoid::ISearch, a readline incremental search mode. yep that's the whole vibe. let's get into it π¦
β¨ NAME β¨
Term::ReadLine::Zoid::ISearch β a readline incremental search mode. it does exactly what it says on the tin, no cap π
πΈ SYNOPSIS πΈ
so here's the thing: this class isn't a "use it on its own" situation. it gets used as a mode under Term::ReadLine::Zoid, and that's where you go for the actual usage details. like, this is the supporting character, not the main character β but it is giving main character energy, fr fr.
π DESCRIPTION π
okay so real talk: this mode is meant to be a work alike for the incremental search that lives in the gnu readline library. if you know, you know. iykyk π«Ά
in this mode, whatever string you type in gets treated as a perl regex, and that regex is what's used to do an incremental history search. so like, you're not typing a search term, you're typing a pattern. obsessed actually.
pressing ^R over and over again will give you alternative results β keep tapping it, keep getting new matches, it's literally a little slot machine but make it history π
and then the special keys? movements, the "return" key, all that? those drop you out of this mode and set the edit line to the last search result. so whatever you landed on is what you're working with. periodt. β¨
ngl, "work alike" is doing a lot of heavy lifting here β this is a reimplementation of gnu readline's incremental search behaviour, not a copy of it.
π AUTHOR π
Jaap Karssenberg || Pardus [Larus] <pardus@cpan.org>
Copyright (c) 2004 Jaap G Karssenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
like, legally speaking, that's the whole copyright + license situation, and we're keeping it exactly as-is because that's the rules π
π₯ SEE ALSO π₯
...okay so this section is literally empty in the original. nothing here. a whole heading with zero content. iconic behaviour honestly. not me leaving it in anyway because the rules said keep every section π
and that's the whole page bestie!! this one came from perl v5.34.0 and it's dated 2022-06-17 β so yeah, vintage in the most affectionate way possible π go forth and ^R responsibly ππ¦β
π¦ where this page comes from
- debian bookworm: libterm-readline-zoid-perl 0.07-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libterm-readline-zoid-perl 0.07-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libterm-readline-zoid-perl 0.07-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libterm-readline-zoid-perl 0.07-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libterm-readline-zoid-perl 0.07-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms