Zoidberg::Fish::ReadLine(3)

NAME
Zoidberg::Fish::ReadLine - Readline glue for zoid

SYNOPSIS
This module is a Zoidberg plugin, see Zoidberg::Fish for details.

DESCRIPTION
This plugin provides a general readline interface to Zoid, the readline functionality can be provided by any module in the Term::ReadLine hierarchy. By default Term::ReadLine::Zoid is used when it is available; with other modules functionality can be a little buggy.

  Prompt
Env::PS1 is used to expand prompt escapes if it is available. Some application specific escapes are added to the ones known to Env::PS1.

\m  Current mode, defaults to '-' if no mode is used

\j  The number of jobs currently managed by the application.

\v  The version of the application.

COMMANDS

readline
    Returns a line of input.

select
    Given a list of items presents the user with a menu and returns the choice made or undef.

SetHistory
    Takes either an array or an array reference and uses that as new commandline history.

    This routine does not alter the history file.

GetHistory
    Returns the commandline history either as an array reference or as an array.

    This routine does not use the history file.

AUTHOR
Jaap Karssenberg || Pardus [Larus] <pardus@cpan.org>

Copyright (c) 2011 Jaap G Karssenberg and Joel Berger. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO
Zoidberg, Zoidberg::Fish, Term::ReadLine::Zoid, Term::ReadLine