iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mostly fixes
[distro-setup]
/
prof-remote
diff --git
a/prof-remote
b/prof-remote
old mode 100755
(executable)
new mode 100644
(file)
index
d848894
..
422bb6e
--- a/
prof-remote
+++ b/
prof-remote
@@
-7,7
+7,10
@@
remote=$1
fastcon=0
while true; do
start=$EPOCHSECONDS
fastcon=0
while true; do
start=$EPOCHSECONDS
- ssh -t $remote screen -Dr -S profanity
+ # -n or else it competes with the other ssh for reading stdin.
+ ssh -n $remote prof-tail | prof-notify &
+ ssh -t $remote screen -Dr -S profanity ||:
+ builtin kill %% &> /dev/null ||:
if (( EPOCHSECONDS > start + 600 )); then
fastcon=0
fi
if (( EPOCHSECONDS > start + 600 )); then
fastcon=0
fi