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