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.


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to