Re: sending CRLF via screen -X stuff

2008-11-11 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Elliot wrote: > Thanks for the help. > > Would this be correct? > > while true; do screen -S 19268 -X stuff "signon"\012; sleep 1m; done Ah; actually, I don't believe octals are interpreted from the commandline (a shortcoming, IMO). Anyway,

Re: sending CRLF via screen -X stuff

2008-11-11 Thread Richard Elliot
Thanks for the help. Would this be correct? while true; do screen -S 19268 -X stuff "signon"\012; sleep 1m; done On Mon, Nov 10, 2008 at 9:02 PM, Micah Cowan <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Richard Elliot wrote: > > Hello, > > > > I am trying t

Re: sending CRLF via screen -X stuff

2008-11-10 Thread Pandurangan R S
Here is what i use screen -X eval 'stuff "echo abc\015"' Regards Pandu On Mon, Nov 10, 2008 at 11:19 PM, Richard Elliot <[EMAIL PROTECTED] > wrote: > Hello, > > I am trying to send a remote command to an existing screen session: > > while true; do screen -S 19268 -X stuff "signon"; sleep 1m; do

Re: sending CRLF via screen -X stuff

2008-11-10 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Elliot wrote: > Hello, > > I am trying to send a remote command to an existing screen session: > > while true; do screen -S 19268 -X stuff "signon"; sleep 1m; done > > However, I need to send a new line (CRLF) after the command "signon". Ch