App::Termcast(3pm)

App::Termcast3pm

Broadcast your terminal sessions for remote viewing

Usage

  my $tc = App::Termcast->new(user => 'foo');
  $tc->run('bash');

Version

version 0.13

Overview

App::Termcast is a client for the <http://termcast.org/> service, which allows broadcasting of a terminal session for remote viewing.

Attributes

host

Server to connect to (defaults to noway.ratry.ru, the host for the termcast.org service).

port

Port to use on the termcast server (defaults to 31337).

user

Username to use (defaults to the local username).

password

Password for the given user. The password is set the first time that username connects, and must be the same every subsequent time. It is sent in plaintext as part of the connection process, so don't use an important password here. Defaults to 'asdf' since really, a password isn't all that important unless you're worried about being impersonated.

bell_on_watcher

Whether or not to send a bell to the terminal when a watcher connects or disconnects. Defaults to false.

timeout

How long in seconds to use for the timeout to the termcast server. Defaults to 5.

Methods

establishment_message

Returns the string sent to the termcast server when connecting (typically containing the username and password)

termsize_message

Returns the string sent to the termcast server whenever the terminal size changes.

write_to_termcast $BUF

Sends $BUF to the termcast server.

run @ARGV

Runs the given command in the local terminal as though via "system", but streams all output from that command to the termcast server. The command may be an interactive program (in fact, this is the most useful case).

Todo

Use MooseX::SimpleConfig to make configuration easier.

Support

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

    perldoc App::Termcast

You can also look for information at:

•

MetaCPAN

<https://metacpan.org/release/App-Termcast>

•

Github

<https://github.com/doy/app-termcast>

•

RT: CPAN's request tracker

<http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Termcast>

•

CPAN Ratings

<http://cpanratings.perl.org/d/App-Termcast>

Releases

7 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8
  3. 9–11
  4. 12–13

Bugs

No known bugs.

Please report any bugs to GitHub Issues at <https://github.com/doy/app-termcast/issues>.

Author

Jesse Luehrs <[email protected]>

From libapp-termcast-perl 0.13-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.