Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: channel SSH2

by salva (Monsignor)
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.


Comment on Re^4: channel SSH2
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972046]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2014-10-02 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (61 votes), past polls