screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing string into stdin of screen


From: wcjh
Subject: Re: Passing string into stdin of screen
Date: Mon, 27 Dec 2010 13:17:48 -0800 (PST)

Michael,
Thank you for your response.
I successfully tried your suggestion.
FYI, I was also able to enter a string into stdin in the following
more-convoluted manner:
    STRING > FILENAME
    screen -X bufferfile FILENAME
    screen -X readbuf
    screen -X paste .

Thank you again.
Cheers,
William



To pass a command to a screen session to be intrepreted from stdin use the
following:

screen -X stuff "echo hello^M"

However make sure to generate the ^M by pressing Ctrl-V Enter.


-- 
View this message in context: 
http://old.nabble.com/Passing-string-into-stdin-of-screen-tp30516794p30541435.html
Sent from the Gnu - Screen mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]