4 set -e; .
/usr
/local
/lib
/err
; set +e
10 ssh -t $remote screen
-Dr -S profanity
11 if (( EPOCHSECONDS
> start
+ 600 )); then
14 # we try to reconnect quickly for a while (just once as I write this),
15 # then try to reconnect slowly.
16 if (( fastcon
< 1 )); then
17 echo "waiting 10. any key to cancel"
19 fastcon
=$
((fastcon
+1))
21 echo "waiting 120. any key to cancel"
22 # like sleep but stop on any input