Jesse Luehrs > App-Ttyrec-0.02 > App::Ttyrec

Download:
App-Ttyrec-0.02.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

App::Ttyrec - record interactive terminal sessions

VERSION ^

version 0.02

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 to GitHub Issues at https://github.com/doy/app-ttyrec/issues.

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@tozt.net>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2014 by Jesse Luehrs.

This is free software, licensed under:

  The MIT (X11) License
syntax highlighting: