Termcast
termcast









Termcasting means broadcasting a live terminal session. The best known
termcasting is on nethack.alt.org. Some other
people termcast on termcast.org.

I sometimes termcast, when I'm doing something I think may be interesting.

To see my termcasts


You need to have IPv6 working. The easiest way is probably via Teredo;
try apt-get install miredo.
Make sure your terminal is at least 80x32 in size. (I sometimes use
127x34 too, so bigger the better.) If you see corruption, try a bigger
size.
telnet darkstar.kitenet.net





Setup your own termcast

The general idea is that inetd runs a script that uses ttyplay to display
what I'm doing to users who telnet in. In the meantime, I'm using ttyrec
to record it, with screen running inside that, and a tweaked screen setup
that tells me how many people are watching. Here's how to set it up.


Get a static IPv6 address. For this,
I use a tunnel from SixXs.
Get termcast
and termcast-play,
put in path.
Add to /etc/inetd.conf, lightly edited:



    telnet stream tcp4 nowait joey /usr/sbin/tcpd /home/joey/bin/termcast-play
    telnet stream tcp6 nowait joey /usr/sbin/tcpd /home/joey/bin/termcast-play




For now, I also recommend using my patched version of ttyrec from
http://git.joeyh.name/?p=ttyrec.git, which fixes many bugs and makes
significant improvements.







