-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Lloyd wrote:
> The -X option seems like it's intended for this purpose, but it seems
> to be a no-op. The man page says "Note that this command doesn't work
> if the session is password protected." To my knowledge the session is
> not password protected, but perhaps I am misunderstanding this.

It depends on the command: some of them require a window to have been
selected at some point. The current dev sources have fixed this I
believe, but apparently a workaround is to add "-p 0" to your invocation.

What are you currently attempting to do? Note that -X takes screen
commands, not shell commands. If you want to tell screen to type
something into a window, use the stuff command (you'll need octal
escapes such as \012 to send newlines).

- --
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

iEYEARECAAYFAkk4GhgACgkQ7M8hyUobTrHQRQCfTqgUX++FHn/1vHH3rBPe/B3N
yOkAn0e1qQVWESNJGIpcYnHlyaBk2OMk
=bMvo
-----END PGP SIGNATURE-----


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

Reply via email to