Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: channel SSH2

by salva (Abbot)
on May 23, 2012 at 14:29 UTC ( #972046=note: print w/replies, xml ) Need Help??


in reply to Re^3: channel SSH2
in thread channel SSH2

try running slow commands, for instance...
for $i in 1 2 3 4; do sleep 1; echo $i; done
You need a way to find out where the output of some command ends. You can look for the shell prompt, or make your commands print their output encoded in some format (for instance MIME-encoded), but in any case, it is a hassle.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972046]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-10-21 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (269 votes). Check out past polls.

    Notices?