Client side part of ttycast.