-----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".
Chances are you only need one of CR or LF, not both. Anyway, use octal escapes: \012 and \015. (And yeah, I'd like to see a more complete set of C-style escapes make their way in; low pri though.) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkZEeoACgkQ7M8hyUobTrGP5gCeOhO6BuYb1vtr1O8IF0U4/jSE JlUAni/Yg5vT6GwgAk3xHpI7DHDFrrB3 =m69U -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users