Main > Free Download Search >

Free term ttyrec plus 0.02 software for linux

term ttyrec plus 0.02

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1302
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::TtyRec::Player 0.03

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.

<<less
Download (0.004MB)
Added: 2006-12-26 License: Perl Artistic License Price:
1032 downloads
Template::Plugin::JSON 0.02

Template::Plugin::JSON 0.02


Template::Plugin::JSON is a Perl module that adds a .json vmethod for all TT values. more>>
Template::Plugin::JSON is a Perl module that adds a .json vmethod for all TT values.

SYNOPSIS

[% USE JSON %];

< script type="text/javascript" >

var foo = [% foo.json %];

< /script >

This plugin provides a .json vmethod to all value types when loaded.

With no argument it will try to load JSON::Syck and then JSON::Converter. If used as [% USE JSON("Syck") %] or [% USE JSON("Converter") %] it will load that specific plugin.
If no plugin could be loaded an exception is thrown. Check for errors from "process" in Template.

<<less
Download (0.004MB)
Added: 2007-02-19 License: Perl Artistic License Price:
977 downloads
Template::Ast 0.02

Template::Ast 0.02


Template::Ast is a Perl module to process ASTs for Perl Template Toolkit. more>>
Template::Ast is a Perl module to process ASTs for Perl Template Toolkit.

SYNOPSIS

use Template::Ast;

# Rebuild AST stored in file:
$ast = Template::Ast->read(foo.ast) or
die Template::Ast->error();

# Writing existing AST to file:
$ast = { Marry => [24, F], John => [21, M] };
Template::Ast->write($ast, foo.ast) or
die Template::Ast->error();

$ast = Template::Ast->merge([1,2,3], undef); # [1,2,3]
$ast = Template::Ast->merge(undef, [1,2,3]); # [1,2,3]
$ast = Template::Ast->merge(undef, undef); # undef

$ast = Template::Ast->merge({A=>1,B=>2}, [C]); # [C]
$ast = Template::Ast->merge([1,2,3], [5,6]); # [5,6]
$ast = Template::Ast->merge([{A=>1},2], 5); # 5

$ast = Template::Ast->merge({A=>1,B=>2}, {C=>3}); # {A=>1,B=>2,C=>3}
$ast = Template::Ast->merge({A=>1,B=>2}, {B=>3}); # {A=>1,B=>3}

# {A=>1,B=>2}
$ast = Template::Ast->merge({A=>1,B=>undef}, {A=>undef,B=>2});

Template::Ast->merge(
{A=>1,B=>{C=>1,D=>2}},
{B=>{C=>1,D=>3,E=>4}}
); # {A=>1,B=>{C=>1,D=>3,E=>4}}

Template::Ast->merge(
{A=>1,B=>{C=>[1,2]}},
{B=>{C=>[3,4]}}
); # {A=>1,B=>{C=>[3,4]}}

print Template::Ast->dump([$vars], [vars]);

ASTs are essential in the programming model based on Perl Template Toolkit. This module provides some easy interface to do the dirty work involved in AST handling. The term AST used here are referred to any Perl referece pointed to a complex data structure, such as a nested hash, a nested array, or such.

<<less
Download (0.020MB)
Added: 2007-06-29 License: Perl Artistic License Price:
847 downloads
Template::Plugin::Datum 0.02

Template::Plugin::Datum 0.02


Template::Plugin::Datum is a Perl module with TT2 plugin that converts international date format to German date format. more>>
Template::Plugin::Datum is a Perl module with TT2 plugin that converts international date format to German date format.

SYNOPSIS

[% USE Datum %]

von: [% 20030101 | datum %] -> 01.01.2003
bis: [% 2003-12-31 | datum %] -> 31.12.2003

Zeitstempel: [% 20031212143000 | datum %] -> 12.12.2003 14:30:00

This plugin converts international date format (year-month-day) to German date format (day.month.year).

Recognized formats are:

yyyy-mm-dd (2003-12-31)
yyyymmdd (20031231)
yyyymmddHHMMSS (20031231143000) date and time

<<less
Download (0.002MB)
Added: 2006-09-20 License: Perl Artistic License Price:
1129 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::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
translate plus 1.0

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

<<less
Download (0.058MB)
Added: 2007-04-17 License: GPL (GNU General Public License) Price:
924 downloads
Template::Plugin::StickyQuery 0.02

Template::Plugin::StickyQuery 0.02


Template::Plugin::StickyQuery is a TT plugin for HTML::StickyQuery. more>>
Template::Plugin::StickyQuery is a TT plugin for HTML::StickyQuery.

SYNOPSIS

use Template;
use Apache;
use Apache::Request;

my $apr = Apache::Request->new(Apache->request); # or CGI.pm will do
my $template = Template->new( ... );
$template->process($filename, { apr => $apr });

# in your template
[% USE StickyQuery %]
[% FILTER stickyquery param => apr %]
[% END %]

Template::Plugin::StickyQuery is a plugin for TT, which allows you to make your HTML tag sticky using HTML::StickyQuery.

Special thanks to IKEBE Tomohiro.

<<less
Download (0.002MB)
Added: 2007-04-06 License: Perl Artistic License Price:
931 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
PerlIO 0.02

PerlIO 0.02


PerlIO is a Perl module created to load on demand PerlIO layers and root of PerlIO::* name space. more>>
PerlIO is a Perl module created to load on demand PerlIO layers and root of PerlIO::* name space.

SYNOPSIS

open($fh,":utf8", "data.utf");
print F $out;
close(F);

open(F, "<<less
Download (0.014MB)
Added: 2007-05-14 License: Perl Artistic License Price:
893 downloads
Simpla 0.02

Simpla 0.02


Simpla project is a concept language for child education. more>>
Simpla project is a concept language for child education.
Simpla is a basic concept language for use in teaching children and adults with no programming experience or computer knowledge whatsoever.
The intent is to have a language which is capable of many basic scripting language tasks without adding excess complexity.
Still a barely working alpha, and Ive got contributor code to include. Added variable declaration, an improved variable parser (thanks to Richard Nolan for the explanation, and a whole lot of cleanup.
Enhancements:
- 0.02 - remains Alpha.
- Variable declatation now works, parsing of lines works (too well), code reorganization (again)
<<less
Download (0.001MB)
Added: 2006-10-31 License: Artistic License Price:
1089 downloads
Template::Plugin::Heritable 0.02

Template::Plugin::Heritable 0.02


Template::Plugin::Heritable is a Perl module with OO dispatching and inheritance for templates. more>>
Template::Plugin::Heritable is a Perl module with OO dispatching and inheritance for templates.

SYNOPSIS

[% USE Heritable %]

[%# searches providers for a "view" template method on
class (which should be a metamodel object, eg
someobj.meta in Perl 6) %]
[% Heritable.include(class, "view", { self = object }) %]

[%# return list of paths it would look %]
[% paths = Heritable.dispatch_paths(class, "view") %]

[%# if you dont have the class of the object handy, then
use invoke instead %]
[% Heritable.invoke(object, "method", { self = object } %]

[%# call the next method in the inheritance tree from
inside a template method %]
[% next_template() %]

Template::Plugin::Heritable provides support for selecting an appropriate template based on the class of an object. It is also possible to call the next template in the inheritance heirarchy/chain.

This provides a form of inheritance for template display.

The core of this is the template dispatch mechanism, which deals in terms of a suitable metamodel class. The module currently deals in the following metamodels; but no doubt you could fool it with modules which encapsulate other metamodels (such as Perl 5, NEXT, Class::C3, DBIx::Class::Schema, etc) with minimal effort by conforming to one of their APIs.

<<less
Download (0.021MB)
Added: 2007-07-18 License: Perl Artistic License Price:
828 downloads
Convert::Transcribe 0.02

Convert::Transcribe 0.02


Convert::Transcribe is a Perl extension for transcribing natural languages. more>>
Convert::Transcribe is a Perl extension for transcribing natural languages.

SYNOPSIS

use Convert::Transcribe;

$t = new Convert::Transcribe();
$t->fromfile(filename);
# or
$t = new Convert::Transcribe();
$t->fromstring("transcription def. containing newlines");
# or
$t = new Convert::Transcribe(filename);
# or
$t = new Convert::Transcribe("transcription def. containing newlines");

$t->transcribe("text");

$t->generated_code(); # for debugging

<<less
Download (0.004MB)
Added: 2007-07-27 License: Perl Artistic License Price:
820 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5