A rather awesome "command-line" program: iselect
Jon maddog Hall
maddog at li.org
Wed Dec 1 18:05:01 EST 2004
Hi,
This discussion came from the SAGE mailing list, but I thought this group might
like to see it, as it introduced (to me, anyway) an interesting little program
called "iselect". Here is the issue:
Many moons ago I remember seeing an announcement for a program and
now it is making me crazy that I can't find it again despite much
looking. In desperation, I turn to the collective sage-consciousness.
Here's what I remember, any help you can offer in finding it again
would be much appreciated:
This program was meant to sit in the middle of a pipeline like so:
createlisting | {pipechooser} | dosomething
The theory is:
1) the first program (createlisting) would spit out a list of items
(let's use filenames as an example)
2) the pipechooser (the program I need) would display a curses-based
listing of the items and allow the user to cursor around and select/tag
some of them in a mode that looked a lot like the Emacs dired package.
After the user finished selecting the items, it would spit out a list
of the chosen ones.
3) the final program could then operate on that list of items
My only other recollection of this package is that it used tar as an
example of the end program.
AND HERE IS THE ANSWER:
I found one program which does this, iselect(1) which is another Ralf S.
Engelschall thing.
I happened to be at freshmeat.net for something anyway, so shoved in
"curses grep" as a search term; success! Project homepage is:
<URL:http://www.ossp.org/pkg/tool/iselect/>
I get the results you describe when using "iselect -am" to allow
selecting on all input, with multiple selections allowed. A full
man-page and everything.
Installed locally now. Thanks. :^)
This was good enough that I thought you might like to see it.
maddog
--
Jon "maddog" Hall
Executive Director Linux International(R)
email: maddog at li.org 80 Amherst St.
Voice: +1.603.672.4557 Amherst, N.H. 03031-3032 U.S.A.
WWW: http://www.li.org
Board Member: Uniforum Association, USENIX Association
(R)Linux is a registered trademark of Linus Torvalds in several countries.
(R)Linux International is a registered trademark in the USA used pursuant
to a license from Linux Mark Institute, authorized licensor of Linus
Torvalds, owner of the Linux trademark on a worldwide basis
(R)UNIX is a registered trademark of The Open Group in the USA and other
countries.
More information about the gnhlug-discuss
mailing list