Communicating with screen(1)

In topic Miscellaneous :: Published Friday, February 1, 2008

Start a screen:

$ screen -S test -X exec vim

Pasting text into a screen, seems to be limited by the max command line length:

$ screen -x test -X stuff ihello world

Option #2:

# /tmp/screen-exchange is used as default
$ echo "ihello world" > /tmp/screen-exchange
$ screen -x test -X readbuf

If this is the first time you comment on my site, your post might get held up in the moderation queue. Don't panic, I'll approve it as soon as possible!

Code (i.e. literal) blocks should be wrapped inside <PRE>.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Close
Powered by ShareThis