Term::ANSIMenu 0.02
Sponsored Links
Term::ANSIMenu 0.02 Ranking & Summary
File size:
0.020 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1085
Date added:
2006-11-04
Publisher:
J.A. de Vries
Term::ANSIMenu 0.02 description
Term::ANSIMenu is an infrastructure for creating menus in ANSI capable terminals.
SYNOPSIS
use Term::ANSIMenu;
my $menu = Term::ANSIMenu->new(
width => 40,
help => [[, &standard_help],
[hint 1, &help_item],
[ undef, &standard_help],
[hint 3, undef]
],
title => title,
items => [[1, First menu item, &exec_item],
[2, This string is just too long
to fit in a normal terminal
and thus it will be clipped.],
[3, , sub { system "man man" }]
],
status => status,
prompt => prompt: );
$menu->print_menu();
while (my $key = $menu->read_key()) {
last unless defined $menu->do_key($key);
$menu->update_status() if $key eq S;
$menu->update_status(New status) if $key eq s;
$menu->update_prompt() if $key eq P;
$menu->update_prompt(New prompt: ) if $key eq p;
}
$menu->pos($menu->line_after_menu() + 1, 1);
I wrote this mainly to make live easy on those staff members to whom I delegate tasks. Most of them prefer to use a menu instead of having to type complicated commands. To them its a faster and safer way of working (we all know about typos dont we...).
By using this module you can create menus with only a few lines of code and still have a shipload of features. Need context-sensitive help or a statusbar? Like to use hotkeys? Want flashy colors and styles? Its all there. Just fill in the attributes and youre good to go.
SYNOPSIS
use Term::ANSIMenu;
my $menu = Term::ANSIMenu->new(
width => 40,
help => [[, &standard_help],
[hint 1, &help_item],
[ undef, &standard_help],
[hint 3, undef]
],
title => title,
items => [[1, First menu item, &exec_item],
[2, This string is just too long
to fit in a normal terminal
and thus it will be clipped.],
[3, , sub { system "man man" }]
],
status => status,
prompt => prompt: );
$menu->print_menu();
while (my $key = $menu->read_key()) {
last unless defined $menu->do_key($key);
$menu->update_status() if $key eq S;
$menu->update_status(New status) if $key eq s;
$menu->update_prompt() if $key eq P;
$menu->update_prompt(New prompt: ) if $key eq p;
}
$menu->pos($menu->line_after_menu() + 1, 1);
I wrote this mainly to make live easy on those staff members to whom I delegate tasks. Most of them prefer to use a menu instead of having to type complicated commands. To them its a faster and safer way of working (we all know about typos dont we...).
By using this module you can create menus with only a few lines of code and still have a shipload of features. Need context-sensitive help or a statusbar? Like to use hotkeys? Want flashy colors and styles? Its all there. Just fill in the attributes and youre good to go.
Term::ANSIMenu 0.02 Screenshot
Term::ANSIMenu 0.02 Keywords
ANSIMenu
ANSI
ANSIMenu 0.02
creating menus
key
status
menu
menus
terminals
update
Term::ANSIMenu
TermANSIMenu
Term::ANSIMenu 0.02
Libraries
Programming
Bookmark Term::ANSIMenu 0.02
Term::ANSIMenu 0.02 Copyright
WareSeeker periodically updates pricing and software information of Term::ANSIMenu 0.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Term::ANSIMenu 0.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Term::ANSIScreen is a Perl module for terminal control using ANSI escape sequences. Free Download
DOM Menu is a hierarchical JavaScript popup menus. Free Download
StealIt is a service menu to take ownership on selected file/directory. Free Download
Term::Animation is a Perl module that provides a framework to produce sprite animations using ASCII art. Free Download
Term::Shell is a simple command-line shell framework. Free Download
Term::ANSIColor is a color screen output using ANSI escape sequences. Free Download
Convert::Transcribe is a Perl extension for transcribing natural languages. Free Download
Text::PromptBalanced aid in creating CLI prompts that keep track of balanced text. Free Download
Latest Software
Popular Software
Favourite Software