Jesse Luehrs > App-Ttyrec-0.01 > App::Ttyrec

Download:
App-Ttyrec-0.01.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.01   Source   Latest Release: App-Ttyrec-0.02

NAME ^

App::Ttyrec - record interactive terminal sessions

VERSION ^

version 0.01

SYNOPSIS ^

  use App::Ttyrec;

  App::Ttyrec->new(
      ttyrec_file => 'nethack.ttyrec',
  )->run('nethack');

DESCRIPTION ^

This module handles setting up and running a terminal session which records its output to a ttyrec file. These files can then be later read via software such as Term::TtyRec::Plus.

ATTRIBUTES ^

ttyrec_file

The name of the file to write to (which can be a named pipe). Defaults to ttyrecord.

append

Whether or not to append to the ttyrec file. Defaults to false.

ttyrec

The Tie::Handle::TtyRec instance used to actually write the ttyrec file. Defaults to an instance created based on the values of ttyrec_file and append.

METHODS ^

run(@cmd)

Run the command specified by @cmd, as though via system. The output that this command writes to the terminal will also be recorded in the file specified by ttyrec_file.

BUGS ^

No known bugs.

Please report any bugs through RT: email bug-app-ttyrec at rt.cpan.org, or browse to http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-Ttyrec.

SEE ALSO ^

Term::TtyRec::Plus

Tie::Handle::TtyRec

http://0xcc.net/ttyrec/index.html.en

SUPPORT ^

You can find this documentation for this module with the perldoc command.

    perldoc App::Ttyrec

You can also look for information at:

AUTHOR ^

Jesse Luehrs <doy at tozt dot net>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Jesse Luehrs.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: