you need to use stuff command. try this
screen -p 0 -X eval 'stuff ls\015' This works for me. -SR On 9/19/05, Jim C. <[EMAIL PROTECTED]> wrote: > I do the following: > > [EMAIL PROTECTED] bin]$ screen -dm > [EMAIL PROTECTED] bin]$ screen -ls > There is a screen on: > 22539..mirage (Detached) > 1 Socket in /tmp/uscreens/S-sdn20. > > [EMAIL PROTECTED] bin]$ screen -S 22539..mirage -X exec "/bin/ls -l" > [EMAIL PROTECTED] bin]$ > > ...but when I re-attach the screen there is no evidence to show that the > command executed. > I've been pouring over the man pages and I cannot discern the proper > syntax for this. > > Clue please? > > Jim C. > > > > _______________________________________________ > screen-users mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/screen-users > -- Software Groups (SFG) http://www.sfgroups.com _______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
