node package manager

scriptbroadcast

Broadcast recorded typescripts(shell sessions)

SCRIPTBROADCAST

scriptboradcast broadcasts typescripts recorded with script command to any numbers of recipients.

DEMO

nc wei23.net 5000

First make sure you are using a normal sized 80*24 terminal, then run the above netcat command, enjoy.

INSTALL

You can install scriptbroadcast using npm.

npm install scriptbroadcast

Please make sure that npm's bin directory is exported in path.

SYNOPSIS

scriptbroadcast [port [timing [typescript [divisor]]]]

5000 is the default port, timing is the default timing file, typescript is the default typescript file and the default divisor is 1.

USAGE

You can record your timing and typescript file in this way:

script -qtf 2> timing

Then run the following command to fire up the broadcasting server with default parameters:

scriptbroadcast

Run the following netcat command elsewhere will play your typescript:

nc yourip 5000

SEE ALSO

script(1), scriptreplay(1)

scriptbroadcast is inspired by my CommandLineFu command and the comments.

LICENSE

scriptbroadcast is licensed under "MIT/X11" license, see LICENSE file.