scriptboradcast broadcasts typescripts recorded with
script command to any
numbers of recipients.
nc wei23.net 5000
First make sure you are using a normal sized 80*24 terminal, then run the above netcat command, enjoy.
You can install scriptbroadcast using npm.
npm install scriptbroadcast
Please make sure that npm's bin directory is exported in path.
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.
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:
Run the following netcat command elsewhere will play your typescript:
nc yourip 5000
scriptbroadcast is inspired by my CommandLineFu command and the comments.
scriptbroadcast is licensed under "MIT/X11" license, see LICENSE file.