Keeon , keep the interactive connection to internet or other device on by sending unused chars frequently. It create a pty for the interactive program and send chars to the pty like robots if no input from the user entered. Now telnet and ssh are
the Karma System - a distributed, terminal independent, stylistic bbs (bulletin board) scripting environment for unix/linux. Reminiscent ansi/ascii glory of days past. With as Perl the host, Curses the device, and love the inspiration, Karma will ensue.