Main > Free Download Search >

Free terms software for linux

terms

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 742
Term::Shell 0.01

Term::Shell 0.01


Term::Shell is a simple command-line shell framework. more>>
Term::Shell is a simple command-line shell framework.

SYNOPSIS

package MyShell;
use base qw(Term::Shell);

sub run_command1 { print "command 1!n"; }
sub smry_command1 { "what does command1 do?" }
sub help_command1 {
cmdloop;

Term::Shell lets you write simple command-line shells. All the boring details like command-line parsing, terminal handling, and tab completion are handled for you.
The base class comes with two commands pre-defined: exit and help.

To write a shell with an exec command, do something like this:

package MyShell;
use base qw(Term::Shell); # or manually edit @MyShell::ISA.

sub run_exec {
my ($o, $cmd, @args) = @_;
if ($cmd ne $0) {
print "Im sorry youre leaving us...n";
}
exec $cmd, @args;
exit 1;
}

When Term::Shell needs to handle the exec command, it will invoke this method. Thats all there is to it! You write handlers, and Term::Shell handles the gory details.

<<less
Download (0.017MB)
Added: 2006-11-02 License: Perl Artistic License Price:
1087 downloads
Term::ShellUI 0.85

Term::ShellUI 0.85


Term::ShellUI is a fully-featured shell-like command line environment. more>>
Term::ShellUI is a fully-featured shell-like command line environment.

SYNOPSIS

use Term::ShellUI;
my $term = new Term::ShellUI(
commands => {
"cd" => {
desc => "Change to directory DIR",
maxargs => 1, args => sub { shift->complete_onlydirs(@_); },
proc => sub { chdir($_[0] || $ENV{HOME} || $ENV{LOGDIR}); },
},
"pwd" => {
desc => "Print the current working directory",
maxargs => 0, proc => sub { system(pwd); },
},
"quit" => {
desc => "Quit using Fileman", maxargs => 0,
method => sub { shift->exit_requested(1); },
}},
history_file => ~/.gdbui-synopsis-history,
);
print Using .$term->{term}->ReadLine."n";
$term->run();

Term::ShellUI uses the history and autocompletion features of Term::ReadLine to present a sophisticated command-line interface to the user. It tries to make every feature that one would expect to see in a fully interactive shell trivial to implement. You simply declare your command set and let ShellUI take care of the heavy lifting.
This module was previously called Term::GDBUI.

<<less
Download (0.042MB)
Added: 2006-06-16 License: Perl Artistic License Price:
1225 downloads
Term::TUI 1.20

Term::TUI 1.20


Term::TUI is a simple tool for building text-based user interfaces. more>>
Term::TUI is a simple tool for building text-based user interfaces.

SYNOPSIS

If TUI_Run is the only routine being used:
use Term::TUI;
$flag=&TUI_Run($command,%desc);

$version=&Term::TUI::TUI_Version;
If other TUI subroutines are used:
use Term::TUI qw(:all);
$flag=&TUI_Run($command,%desc);

&TUI_Out($message);

$flag=&TUI_Script(%desc,$script,$sep);

Many times, Ive wanted to quickly write a nice text-based user interface around a set of perl routines only to end up writing the full (though simple) parser and interface to make it nice enough, and friendly enough, to be usable.

This module creates a simple but powerful text based user interface around perl routines, adding such features as command line history, command line editing, and online help (command completion will also be implemented), while hiding all details of the interface from the programmer.

The interface is described in a simple hash which is passed to the TUI_Run command. This routine exits only when the user has exited the program (returning a flag signalling any special exit conditions).

<<less
Download (0.007MB)
Added: 2006-09-05 License: Perl Artistic License Price:
1144 downloads
Term::ANSIMenu 0.02

Term::ANSIMenu 0.02


Term::ANSIMenu is an infrastructure for creating menus in ANSI capable terminals. more>>
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.

<<less
Download (0.020MB)
Added: 2006-11-04 License: Perl Artistic License Price:
1084 downloads
Term::Clui 1.37

Term::Clui 1.37


Term::Clui.pm is a Perl module offering a Command-Line User Interface. more>>
Term::Clui.pm is a Perl module offering a Command-Line User Interface.

SYNOPSIS

use Term::Clui;
$chosen = &choose("A Title", @a_list); # single choice
@chosen = &choose("A Title", @a_list); # multiple choice
$x = &choose("Which ?n(Arrow-keys and Return)", @w); # multi-line question
if (&confirm($text)) { &do_something(); };
$answer = &ask($question);
$answer = &ask($question,$suggestion);
$password = &ask_password("Enter password : ");
$newtext = &edit($title, $oldtext);
&edit($filename);
&view($title, $text) # if $title is not a filename
&view($textfile) # if $textfile _is_ a filename

&edit (&choose ("Edit which file ?", grep (-T, readdir D)));

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.

Its fast, simple, and has few external dependencies. It doesnt 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.

There is an associated file selector, Term::Clui::FileSelect

This is Term::Clui.pm version 1.37, #COMMENT#.

<<less
Download (0.033MB)
Added: 2006-11-15 License: Perl Artistic License Price:
1073 downloads
Term::ANSIColor 1.10

Term::ANSIColor 1.10


Term::ANSIColor is a color screen output using ANSI escape sequences. more>>
Term::ANSIColor is a color screen output using ANSI escape sequences.

SYNOPSIS

use Term::ANSIColor;
print color bold blue;
print "This text is bold blue.n";
print color reset;
print "This text is normal.n";
print colored ("Yellow on magenta.n", yellow on_magenta);
print "This text is normal.n";
print colored [yellow on_magenta], "Yellow on magenta.n";

use Term::ANSIColor qw(uncolor);
print uncolor 01;31, "n";

use Term::ANSIColor qw(:constants);
print BOLD, BLUE, "This text is in bold blue.n", RESET;

use Term::ANSIColor qw(:constants);
$Term::ANSIColor::AUTORESET = 1;
print BOLD BLUE "This text is in bold blue.n";
print "This text is normal.n";

This module has two interfaces, one through color() and colored() and the other through constants. It also offers the utility function uncolor(), which has to be explicitly imported to be used (see SYNOPSIS).

color() takes any number of strings as arguments and considers them to be space-separated lists of attributes. It then forms and returns the escape sequence to set those attributes. It doesnt print it out, just returns it, so youll have to print it yourself if you want to (this is so that you can save it as a string, pass it to something else, send it to a file handle, or do anything else with it that you might care to).
uncolor() performs the opposite translation, turning escape sequences into a list of strings.

The recognized attributes (all of which should be fairly intuitive) are clear, reset, dark, bold, underline, underscore, blink, reverse, concealed, black, red, green, yellow, blue, magenta, on_black, on_red, on_green, on_yellow, on_blue, on_magenta, on_cyan, and on_white. Case is not significant. Underline and underscore are equivalent, as are clear and reset, so use whichever is the most intuitive to you. The color alone sets the foreground color, and on_color sets the background color.
Note that not all attributes are supported by all terminal types, and some terminals may not support any of these sequences. Dark, blink, and concealed in particular are frequently not implemented.

Attributes, once set, last until they are unset (by sending the attribute "reset"). Be careful to do this, or otherwise your attribute will last after your script is done running, and people get very annoyed at having their prompt and typing changed to weird colors.

As an aid to help with this, colored() takes a scalar as the first argument and any number of attribute strings as the second argument and returns the scalar wrapped in escape codes so that the attributes will be set as requested before the string and reset to normal after the string. Alternately, you can pass a reference to an array as the first argument, and then the contents of that array will be taken as attributes and color codes and the remainder of the arguments as text to colorize.

Normally, colored() just puts attribute codes at the beginning and end of the string, but if you set $Term::ANSIColor::EACHLINE to some string, that string will be considered the line delimiter and the attribute will be set at the beginning of each line of the passed string and reset at the end of each line. This is often desirable if the output is being sent to a program like a pager that can be confused by attributes that span lines. Normally youll want to set $Term::ANSIColor::EACHLINE to "n" to use this feature.

<<less
Download (0.011MB)
Added: 2006-06-29 License: Perl Artistic License Price:
1212 downloads
Term::GDBUI 0.84

Term::GDBUI 0.84


Term::GDBUI is a fully-featured shell-like command line environment. more>>
Term::GDBUI is a fully-featured shell-like command line environment.

SYNOPSIS

use Term::GDBUI;
my $term = new Term::GDBUI(commands => get_commands());
# (see below for the code to get_commands)
$term->run();

Term::GDBUI uses the history and autocompletion features of Term::ReadLine to present a sophisticated command-line interface to the user. It tries to make every feature you would expect to see in a fully interactive shell trivial to implement. You simply declare your command set and let GDBUI take care of the heavy lifting.

<<less
Download (0.042MB)
Added: 2006-06-15 License: Perl Artistic License Price:
1226 downloads
Term::ANSIScreen 1.42

Term::ANSIScreen 1.42


Term::ANSIScreen is a Perl module for terminal control using ANSI escape sequences. more>>
Term::ANSIScreen is a Perl module for terminal control using ANSI escape sequences.

SYNOPSIS

# qw/:color/ is exported by default, i.e. color() & colored()

use Term::ANSIScreen qw/:color :cursor :screen :keyboard/;

print setmode(1), setkey(a,b);
print "40x25 mode now, with a mapped to b.";
; resetkey; setmode 3; cls;

locate 1, 1; print "@ This is (1,1)", savepos;
print locate(24,60), "@ This is (24,60)"; loadpos;
print down(2), clline, "@ This is (3,15)n";

setscroll 1, 20;

color black on white; clline;
print "This line is black on white.n";
print color reset; print "This text is normal.n";

print colored ("This text is bold blue.n", bold blue);
print "This text is normal.n";
print colored [bold blue], "This text is bold blue.n";
print "This text is normal.n";

use Term::ANSIScreen qw/:constants/; # constants mode
print BLUE ON GREEN . "Blue on green.n";

$Term::ANSIScreen::AUTORESET = 1;
print BOLD GREEN . ON_BLUE "Bold green on blue.", CLEAR;
print "nThis text is normal.n";

# Win32::Console emulation mode
# this returns a Win32::Console object on a Win32 platform
my $console = Term::ANSIScreen->new;
$console->Cls; # also works on non-Win32 platform

Term::ANSIScreen is a superset of Term::ANSIColor (as of version 1.04 of that module). In addition to color-sequence generating subroutines exported by :color and :constants, this module also features :cursor for cursor positioning, :screen for screen control, as well as :keyboard for key mapping.

NOTES

All subroutines in Term::ANSIScreen will print its return value if called under a void context.

The cursor position, current color, screen mode and keyboard mappings affected by Term::ANSIScreen will last after the program terminates. You might want to reset them before the end of your program.

<<less
Download (0.015MB)
Added: 2006-06-14 License: Perl Artistic License Price:
1227 downloads
Term::VT102 0.82

Term::VT102 0.82


Term::VT102 is a class to emulate a DEC VT102 terminal. more>>
Term::VT102 is a class to emulate a DEC VT102 terminal.

SYNOPSIS

use Term::VT102;

my $vt = Term::VT102->new (cols => 80, rows => 24);
while () { $vt->process ($_); }

The VT102 class provides emulation of most of the functions of a DEC VT102 terminal. Once initialised, data passed to a VT102 object is processed and the in-memory "screen" modified accordingly. This "screen" can be interrogated by the external program in a variety of ways.

This allows your program to interface with full-screen console programs by running them in a subprocess and passing their output to a VT102 class. You can then see what the application has written on the screen by querying the class appropriately.

OPTIONS

Setting cols or rows in the new() hash allows you to change the size of the terminal being emulated. If you do not specify a size, the default is 80 columns by 24 rows.

After initialisation, you can read and set the following terminal options using the option_read() and option_set() methods:

LINEWRAP line wrapping; 1=on, 0=off. Default is OFF.
LFTOCRLF treat LF (n) as CRLF (rn); 1=on, 0=off. Default OFF.
IGNOREXOFF ignore XON/XOFF characters; 1=on (ignore). Default ON.

<<less
Download (0.024MB)
Added: 2006-08-29 License: Perl Artistic License Price:
1154 downloads
Term::Prompt 1.03

Term::Prompt 1.03


Term::Prompt is a Perl extension for prompting a user for information. more>>
Term::Prompt is a Perl extension for prompting a user for information.

SYNOPSIS

use Term::Prompt;
$value = &prompt(...);

use Term::Prompt qw(termwrap);
print &termwrap(...);

$Term::Prompt::MULTILINE_INDENT = ;

PREREQUISITES

You must have Text::Wrap and Term::ReadKey available on your system.

This main function of this module is to accept interactive input. You specify the type of inputs allowed, a prompt, help text and defaults and it will deal with the user interface, (and the user!), by displaying the prompt, showing the default, and checking to be sure that the response is one of the legal choices. Additional "types" that could be added would be a phone type, a social security type, a generic numeric pattern type...
<<less
Download (0.011MB)
Added: 2006-11-02 License: Perl Artistic License Price:
1086 downloads
Term::TtyRec::Plus 0.02

Term::TtyRec::Plus 0.02


Term::TtyRec::Plus is a Perl module to read a ttyrec. more>>
Term::TtyRec::Plus is a Perl module to read a ttyrec.

SYNOPSIS

Term::TtyRec::Plus is a module that lets you read ttyrec files. The related module, Term::TtyRec is designed more for simple interactions. Term::TtyRec::Plus gives you more information and, using a callback, lets you munge the data block and timestamp. It will do all the subtle work of making sure timing is kept consistent, and of rebuilding each frame header.

use Term::TtyRec::Plus;

my $ttyrec = Term::TtyRec::Plus->new();
while ($frame_ref = $ttyrec->next_frame())
{
# do stuff with $frame_ref, e.g.
$total_time += $frame_ref->{diff};
}

CONSTRUCTOR AND STARTUP

new()

Creates and returns a new Term::TtyRec::Plus object.

my $ttyrec = Term::TtyRec::Plus->new();

Parameters

Here are the parameters that > recognizes.

infile

The input filename. A value of "-", which is the default, or undef, means STDIN.

filehandle

The input filehandle. By default this is undef; if you have already opened the ttyrec then you can pass its filehandle to the constructor. If both filehandle and infile are defined, filehandle is used.

time_threshold

The maximum difference between two frames, in seconds. If undef, which is the default, there is no enforced maximum. The second most common value would be 10, which some ttyrec utilities (such as timettyrec) use.

frame_filter

A callback, run for each frame before returning the frame to the user of Term::TtyRec::Plus. This callback receives three arguments: the frame text, the timestamp, and the timestamp of the previous frame. All three arguments are passed as scalar references. The previous frames timestamp is undef for the first frame. The return value is not currently looked at. If you modify the timestamp, the module will make sure that change is noted and respected in further frame timestamps. Modifications to the previous frames timestamp are currently ignored.

sub halve_frame_time_and_stumblify
{
my ($data_ref, $time_ref, $prev_ref) = @_;
$$time_ref = $$prev_ref + ($$time_ref - $$prev_ref) / 2
if defined $$prev_ref;
$$data_ref =~ s/Eidolos/Stumbly/g;
}

State

In addition to passing arguments, you can modify Term::TtyRec::Pluss initial state, if you want to. This could be useful if you are chaining multiple ttyrecs together; you could pass a different initial frame. Support for such chaining might be added in a future version.

frame

The initial frame number. Default 0.

prev_timestamp

The previous frames timestamp. Default undef.

accum_diff

The accumulated difference of all frames seen so far; see the section on diffed_timestamp in next_frame()s return value. Default 0.

relative_time

The time passed since the first frame. Default 0.

<<less
Download (0.056MB)
Added: 2007-01-04 License: Perl Artistic License Price:
1023 downloads
Term::Animation 2.3

Term::Animation 2.3


Term::Animation is a Perl module that provides a framework to produce sprite animations using ASCII art. more>>
Term::Animation is a Perl module that provides a framework to produce sprite animations using ASCII art. Each ASCII sprite is given one or more frames, and placed into the animation as an animation entity.

An animation entity can have a callback routine that controls the position and frame of the entity. The module can also do collision detection between entities.

INSTALLATION

To install this module type the following:

perl Makefile.PL
make
make test
make install

<<less
Download (0.018MB)
Added: 2006-12-19 License: Perl Artistic License Price:
1062 downloads
GO::Model::Term 0.04

GO::Model::Term 0.04


GO::Model::Term is a term or concept in an ontology. more>>
GO::Model::Term is a term or concept in an ontology.

SYNOPSIS

# From a file
use GO::Parser;
my $parser = new GO::Parser({handler=>obj}); # create parser object
$parser->parse("gene_ontology.obo"); # parse file -> objects
my $graph = $parser->handler->graph; # get L object
my $term = $graph->get_term("GO:0001303"); # fetch a term by ID
printf "Term %s %sn", $term->name, $term->acc;

# From a GO Database (requires go-db-perl)
my apph = GO::AppHandle->connect(-dbname=>$dbname);
my $term = $apph->get_term({acc=>00003677});
printf "Term:%s (%s)nDefinition:%snSynonyms:%sn",
$term->name,
$term->public_acc,
$term->definition,
join(", ", @{$term->synonym_list});

Represents an Ontology term; the same class is used for process, compartment and function
currently, a Term is not aware of its Relationships; to find out how a term is related to other terms, use the a GO::Model::Graph object, which will give you the GO::Model::Relationship objects; for example

$rels = $graph->get_parent_relationships($term->acc);

<<less
Download (0.58MB)
Added: 2006-10-02 License: Perl Artistic License Price:
1117 downloads
Sentensa 2.3

Sentensa 2.3


SENTENSA Knowledge Miner is a platform independent tool for searching any text. more>>
SENTENSA Knowledge Miner is a platform independent tool for searching any text.
SENTENSA uses robust methods of indexing and searching text, leveraging experience from more than 20 years of information retrieval.
SENTENSA products offer advanced text retrieval solutions for large databases that will make your searches for key information fast and effective. You can index on one platform and query on another.
Main features:
- Fast indexing
- Probabilistic Search
- Similarity Search
- Strong Terms
- Indexed Terms
- Relevance Rankings
- Rapid Searching in huge amounts of information
- Spider including conversion from PDF and HTML to XML
Enhancements:
- An SQL filter that supports MySQL was added.
<<less
Download (8.1MB)
Added: 2006-03-15 License: LGPL (GNU Lesser General Public License) Price:
1319 downloads
KeywordXS 0.2

KeywordXS 0.2


KeywordXS is a small tool to get keywords for specified search terms. more>>
KeywordXS is a small tool to get keywords for specified search terms. KeywordXS will simply query a given search term and display the associated results.

It uses the Internet so that all the keywords are top actual.

<<less
Download (0.043MB)
Added: 2006-11-14 License: GPL (GNU General Public License) Price:
1074 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5