perl-Term-Clui - Term-Clui module for perl
||OpenMandriva Contrib x86_64
Term::Clui offers a high-level user interface to give the user of
command-line applications a consistent "look and feel". Its metaphor
for the computer is as a human-like conversation-partner, and as each
question/response is completed it is summarised onto one line, and
remains on screen, so that the history of the session gradually
accumulates on the screen and is available for review, or for
cut/paste. This user interface can therefore be intermixed with
standard applications which write to STDOUT or STDERR, such as
make, pgp, rcs etc.
For the user, &choose uses arrow keys (or hjkl) and Return or q;
also SpaceBar for multiple choices. &confirm expects y, Y, n or N.
In general, ctrl-L redraws the (currently active bit of the) screen.
&edit and &view use the default EDITOR and PAGER if possible.
It's fast, simple, and has few external dependencies. It doesn't use curses
(which is a whole-of-screen interface); it uses a small subset of vt100
sequences (up down left right normal and reverse) which are very portable.
- Enable OpenMandriva Contrib repository on Install and Remove Software"
- Update packages list:
# urpmi.update -a
- Install perl-Term-Clui rpm package:
# urpmi perl-Term-Clui