term ttyrec plus
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1064
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.
<<lessSYNOPSIS
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.
Download (0.056MB)
Added: 2007-01-04 License: Perl Artistic License Price:
1023 downloads
Term::TtyRec::Player 0.03
Term::TtyRec::Player is a Perl module that playbacks ttyrec data. more>>
Term::TtyRec::Player is a Perl module that playbacks ttyrec data.
SYNOPSIS
use Term::TtyRec::Player;
use FileHandle;
# $handle is any IO::* object
my $handle = FileHandle->new(file.tty);
my $player = Term::TtyRec::Player->new($handle);
# options can be set as hashref
my $player = Term::TtyRec::Player->new($handle, {
speed => 1, nowait => undef,
});
Term::TtyRec::Player playbacks ttyrec recorded data. See pttyplay and Term::TtyRec for details about ttyrec.
METHODS
new
$player = Term::TtyRec::Player->new($handle, %attr);
constructs new Term::TtyRec::Player instance.
play
$player->play();
Plays recorded data on your terminal.
peek
$player->peek();
Plays live-recoded data to your terminal. This method implements ttyplay -p option.
<<lessSYNOPSIS
use Term::TtyRec::Player;
use FileHandle;
# $handle is any IO::* object
my $handle = FileHandle->new(file.tty);
my $player = Term::TtyRec::Player->new($handle);
# options can be set as hashref
my $player = Term::TtyRec::Player->new($handle, {
speed => 1, nowait => undef,
});
Term::TtyRec::Player playbacks ttyrec recorded data. See pttyplay and Term::TtyRec for details about ttyrec.
METHODS
new
$player = Term::TtyRec::Player->new($handle, %attr);
constructs new Term::TtyRec::Player instance.
play
$player->play();
Plays recorded data on your terminal.
peek
$player->peek();
Plays live-recoded data to your terminal. This method implements ttyplay -p option.
Download (0.004MB)
Added: 2006-12-26 License: Perl Artistic License Price:
1032 downloads
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#.
<<lessSYNOPSIS
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#.
Download (0.033MB)
Added: 2006-11-15 License: Perl Artistic License Price:
1073 downloads
Getopt::Plus 0.98
Getopt::Plus is a Perl module with options wrapper with standard options, help system and more. more>>
Getopt::Plus is a Perl module with options wrapper with standard options, help system and more.
FILE_SIZE_HUMAN
Map from file size in bytes to human name, as hashref, keys being name (full name, lowercase, no trailing s) and abbrev (one/two-letter abbreviation).
Option Types
Permissable values to the type field of an option specifier.
OPT_FLOAT
OPT_INT
OPT_STRING
OPT_FDLEVEL
OPT_BOOLEAN
Error Codes
ERR_OK
Not an error at all. Hence the name.
ERR_ABNORMAL
Not so much an error as a non-erroneous circumstance worthy of signalling, e.g., grep finding no matches.
ERR_UTILITY
Again, not really an error, rather a utility function being called --- e.g., the --help or --version. This gets an error code because it is almost certainly an error to call from batch scripts.
ERR_USAGE
The program was called wrong.
ERR_IO_READ
Some problem reading from disk or network (system read).
ERR_IO_WRITE
Some problem writing to disk or network (system write).
ERR_DB_READ
Some problem reading from db or similar (application read).
ERR_DB_WRITE
Some problem writing to db or similar (application write).
ERR_EXTERNAL
Some problem with an external application.
ERR_INTERNAL
An internal logic error (the sort of thing that should never happen, but has been caught by an internal assertion or sanity check).
ERR_INPUT
Some problem with the input file (which was read fine, but contains bad data).
<<lessFILE_SIZE_HUMAN
Map from file size in bytes to human name, as hashref, keys being name (full name, lowercase, no trailing s) and abbrev (one/two-letter abbreviation).
Option Types
Permissable values to the type field of an option specifier.
OPT_FLOAT
OPT_INT
OPT_STRING
OPT_FDLEVEL
OPT_BOOLEAN
Error Codes
ERR_OK
Not an error at all. Hence the name.
ERR_ABNORMAL
Not so much an error as a non-erroneous circumstance worthy of signalling, e.g., grep finding no matches.
ERR_UTILITY
Again, not really an error, rather a utility function being called --- e.g., the --help or --version. This gets an error code because it is almost certainly an error to call from batch scripts.
ERR_USAGE
The program was called wrong.
ERR_IO_READ
Some problem reading from disk or network (system read).
ERR_IO_WRITE
Some problem writing to disk or network (system write).
ERR_DB_READ
Some problem reading from db or similar (application read).
ERR_DB_WRITE
Some problem writing to db or similar (application write).
ERR_EXTERNAL
Some problem with an external application.
ERR_INTERNAL
An internal logic error (the sort of thing that should never happen, but has been caught by an internal assertion or sanity check).
ERR_INPUT
Some problem with the input file (which was read fine, but contains bad data).
Download (0.046MB)
Added: 2006-11-02 License: Perl Artistic License Price:
1087 downloads
edonkey plus 0.01
edonkey plus is a free program peer to peer for the peer to peer network edonkey 2000,overnet etc. more>>
edonkey plus is a free program peer to peer (P2P) for the peer to peer network Edonkey 2000, Overnet etc.
Basic aMule Tips
- NEVER run aMule as root.
- If you are behind a firewall or router, be sure that the ports have been opened. The default ports are 4662 (TCP). 4665 (UDP) and 4672 (UDP). If these are blocked, you will receive a "LowID" which results in fewer available sources for the files you are downloading.
- Obtain an appropriate server.met: e.g., if you are a dialup, using a large server list is not appropiate.
- Set your temp and shared directories in Preferences->Directories
- To recursively select a certain directory, right-click over it.
- You should *NOT* share
- Your temp download directory!
- Your /etc directory
- Probably not your /var, /lib, /boot, or /usr directory
- Certainly make sure that any really confidential files (password files, private SSH keys, credit card numbers :) are *not* shared. So generally do not share your entire home directory, although you might want to share some files or directories in it.
- Remember that you get certain download priveledges with those clients (aMule, eMule, etc users) to whom you upload files, in the form of reduced queue waits.
- Please note that compilation with optimizations is supported. However, if you pull a Gentoo, we will probably just tell you to recompile aMule and/or your system with sane compiler-flags before we will attempt to address the problem.
<<lessBasic aMule Tips
- NEVER run aMule as root.
- If you are behind a firewall or router, be sure that the ports have been opened. The default ports are 4662 (TCP). 4665 (UDP) and 4672 (UDP). If these are blocked, you will receive a "LowID" which results in fewer available sources for the files you are downloading.
- Obtain an appropriate server.met: e.g., if you are a dialup, using a large server list is not appropiate.
- Set your temp and shared directories in Preferences->Directories
- To recursively select a certain directory, right-click over it.
- You should *NOT* share
- Your temp download directory!
- Your /etc directory
- Probably not your /var, /lib, /boot, or /usr directory
- Certainly make sure that any really confidential files (password files, private SSH keys, credit card numbers :) are *not* shared. So generally do not share your entire home directory, although you might want to share some files or directories in it.
- Remember that you get certain download priveledges with those clients (aMule, eMule, etc users) to whom you upload files, in the form of reduced queue waits.
- Please note that compilation with optimizations is supported. However, if you pull a Gentoo, we will probably just tell you to recompile aMule and/or your system with sane compiler-flags before we will attempt to address the problem.
Download (4.3MB)
Added: 2007-07-09 License: GPL (GNU General Public License) Price:
844 downloads
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.
<<lessSYNOPSIS
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.
Download (0.042MB)
Added: 2006-06-16 License: Perl Artistic License Price:
1225 downloads
translate plus 1.0
translate plus is a facelift, update, and re-code of the Translate theme from Suslik. more>>
translate plus is a facelift, update, and re-code of the Translate theme from Suslik. This version utilises a new technique for coding input boxes for Superkaramba, which was written (again) by Suslik.
This new technique allows for a transparent input box, which allows for a much nicer looking theme
<<lessThis new technique allows for a transparent input box, which allows for a much nicer looking theme
Download (0.058MB)
Added: 2007-04-17 License: GPL (GNU General Public License) Price:
924 downloads
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).
<<lessSYNOPSIS
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).
Download (0.007MB)
Added: 2006-09-05 License: Perl Artistic License Price:
1144 downloads
Term::ReadLine::Gnu 1.16
Term::ReadLine::Gnu is a Perl extension for the GNU Readline/History Library. more>>
Term::ReadLine::Gnu is a Perl extension for the GNU Readline/History Library.
SYNOPSIS
use Term::ReadLine;
$term = new Term::ReadLine ProgramName;
while ( defined ($_ = $term->readline(prompt>)) ) {
...
}
This is an implementation of Term::ReadLine using the GNU Readline/History Library.
For basic functions object oriented interface is provided. These are described in the section "Standard Methods" and "Term::ReadLine::Gnu Functions".
This package also has the interface with the almost all functions and variables which are documented in the GNU Readline/History Library Manual. They are documented in the section "Term::ReadLine::Gnu Functions" and "Term::ReadLine::Gnu Variables" briefly. For more detail of the GNU Readline/History Library, see GNU Readline Library Manual and GNU History Library Manual.
The sample programs under eg/ directory and test programs under t/ directory in the Term::ReadLine::Gnu distribution include many example of this module.
<<lessSYNOPSIS
use Term::ReadLine;
$term = new Term::ReadLine ProgramName;
while ( defined ($_ = $term->readline(prompt>)) ) {
...
}
This is an implementation of Term::ReadLine using the GNU Readline/History Library.
For basic functions object oriented interface is provided. These are described in the section "Standard Methods" and "Term::ReadLine::Gnu Functions".
This package also has the interface with the almost all functions and variables which are documented in the GNU Readline/History Library Manual. They are documented in the section "Term::ReadLine::Gnu Functions" and "Term::ReadLine::Gnu Variables" briefly. For more detail of the GNU Readline/History Library, see GNU Readline Library Manual and GNU History Library Manual.
The sample programs under eg/ directory and test programs under t/ directory in the Term::ReadLine::Gnu distribution include many example of this module.
Download (0.065MB)
Added: 2006-07-17 License: Perl Artistic License Price:
1198 downloads
Added: 2009-07-16 License: Freeware Price: FREE
16 downloads
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.
<<lessSYNOPSIS
# 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.
Download (0.015MB)
Added: 2006-06-14 License: Perl Artistic License Price:
1227 downloads
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.
<<lessSYNOPSIS
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.
Download (0.024MB)
Added: 2006-08-29 License: Perl Artistic License Price:
1154 downloads
Quanta Plus 3.5.7
Quanta is a web editor for KDE supporting HTML and more. more>>
Quanta Plus is a highly stable and feature rich web development environment. Quantas vision has always been to start with the best architectural foundations, design for efficient and natural use and enable maximal user extensibility.
We recognize that we dont have the resources to do everything we would like to so our target is to make it easy for you to help make this the best community based desktop application anywhere. Pretty much everything in Quanta is designed so you can extend it.
Even the way it handles XML DTDs is based on XML files you can edit. You can even import DTDs, write scripts to manage editor contents, visually create dialogs for your scripts and assign script actions to nearly any file operation in a project. You can even look at and communicate with a wide range of what happens inside Quanta using DCOP.
Quanta is based on KDE so this means it is network transparent from any dialog or project. It can use not only FTP but other KDE KIO slaves from file dialogs or in project settings. For instance if you want secure access try the fish KIO slave that uses SSH.
Just enter fish://[user]@domain in any dialog or select fish in your project settings. Here on this site you will find information on using Kommander to visually build dialogs you can extend Quanta with. These applications talk to each other using an IPC (Inter Process Communication) called DCOP (DEsktop Communication Protocol).
Of course I realize this can sound like alphabet soup techno-babble to some web developers, but heres what it means. When you are using Quanta and realize you would like to do something and you want to ask "Can I do this?" you can expect the answer will not only be yes, but it will probably be even cooler than you hoped for.
Not included on this site are other tools you can use with Quanta for revision control and reviewing and merging changes in files. Those applications are Cervisia and Kompare, and if they are not installed and you install them Quanta will use them.
We would like to think that there are rich rewards to be found here for those willing to explore new ways of doing things, or perhaps in some cases old ways that are just new to you.
<<lessWe recognize that we dont have the resources to do everything we would like to so our target is to make it easy for you to help make this the best community based desktop application anywhere. Pretty much everything in Quanta is designed so you can extend it.
Even the way it handles XML DTDs is based on XML files you can edit. You can even import DTDs, write scripts to manage editor contents, visually create dialogs for your scripts and assign script actions to nearly any file operation in a project. You can even look at and communicate with a wide range of what happens inside Quanta using DCOP.
Quanta is based on KDE so this means it is network transparent from any dialog or project. It can use not only FTP but other KDE KIO slaves from file dialogs or in project settings. For instance if you want secure access try the fish KIO slave that uses SSH.
Just enter fish://[user]@domain in any dialog or select fish in your project settings. Here on this site you will find information on using Kommander to visually build dialogs you can extend Quanta with. These applications talk to each other using an IPC (Inter Process Communication) called DCOP (DEsktop Communication Protocol).
Of course I realize this can sound like alphabet soup techno-babble to some web developers, but heres what it means. When you are using Quanta and realize you would like to do something and you want to ask "Can I do this?" you can expect the answer will not only be yes, but it will probably be even cooler than you hoped for.
Not included on this site are other tools you can use with Quanta for revision control and reviewing and merging changes in files. Those applications are Cervisia and Kompare, and if they are not installed and you install them Quanta will use them.
We would like to think that there are rich rewards to be found here for those willing to explore new ways of doing things, or perhaps in some cases old ways that are just new to you.
Download (5.8MB)
Added: 2007-05-22 License: GPL (GNU General Public License) Price:
943 downloads
Other version of Quanta Plus
License:Freeware
TagCloud Maker Class 1.0
TagCloud Maker Class is a class that takes a single dimensional array of terms and outputs a piece of HTML with each term. more>>
TagCloud Maker Class is a class that takes a single dimensional array of terms and outputs a piece of HTML with each term wrapped in a span tag with an ID that you can define in your CSS.
TagCloud Maker Class script can be called either as an object or as a static class.
Check out the example page. The keywords from the sample page come from the last 30 entries of my blog. Ill admit I cheated and just open the database and pull them from there instead of trying to call my blog w/curl or fopen and parse it. (Although that would have been cooler.) I then ran each blog entry against Yahoos Term Extraction API to get the terms. Then I pumped that array into my new TagCloud maker. The important code you cant see from the index.php is below.
require_once(TagCloud.php);
$x = TagCloud::fetch_cloud($thisArray,...,tagcloud_,http://www.technorati.com/tags/%s);
$o = new TagCloud($thisArray,...,tagcloud_,http://www.technorati.com/tags/%s,10,weight,2);
$o->get_cloud();
$y = $o->output_cloud;
As you can see, I used 2 different methods of creating the 2 lists. The first is just calling the object::method statically with all the necessary parameters. This is by far the easiest way to use this class and unless you need something special, its the way I recommend. The second way it to instantiate an object. I pass all the variables into the constructor but you could just as easily use the setters to set them all. (dont know why you would but hey, I spent an extra 15 minutes creating getters and setters so use them, by all means use them!)
<<lessTagCloud Maker Class script can be called either as an object or as a static class.
Check out the example page. The keywords from the sample page come from the last 30 entries of my blog. Ill admit I cheated and just open the database and pull them from there instead of trying to call my blog w/curl or fopen and parse it. (Although that would have been cooler.) I then ran each blog entry against Yahoos Term Extraction API to get the terms. Then I pumped that array into my new TagCloud maker. The important code you cant see from the index.php is below.
require_once(TagCloud.php);
$x = TagCloud::fetch_cloud($thisArray,...,tagcloud_,http://www.technorati.com/tags/%s);
$o = new TagCloud($thisArray,...,tagcloud_,http://www.technorati.com/tags/%s,10,weight,2);
$o->get_cloud();
$y = $o->output_cloud;
As you can see, I used 2 different methods of creating the 2 lists. The first is just calling the object::method statically with all the necessary parameters. This is by far the easiest way to use this class and unless you need something special, its the way I recommend. The second way it to instantiate an object. I pass all the variables into the constructor but you could just as easily use the setters to set them all. (dont know why you would but hey, I spent an extra 15 minutes creating getters and setters so use them, by all means use them!)
Download (0.012MB)
Added: 2006-01-25 License: GPL (GNU General Public License) Price:
1380 downloads
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
<<lessAn 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
Download (0.018MB)
Added: 2006-12-19 License: Perl Artistic License Price:
1062 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above term ttyrec plus search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
