in reply to A "better" Putty keep-alive
and /home/myname/bin/keepalive is just (periodically print a space and a backspace):if test "xterm" = "$TERM" ; then /home/myname/bin/keepalive & fi
Only side effect is that if a vi is left open, it appears to make the character under the cursor disappear (but really doesn't) .. ctrl-L to refresh the screen "fixes" it if i even notice it.#!/bin/bash while test 1 ; do sleep 600; echo -ne " \b"; done
|
---|