* Robert Blackwell <[EMAIL PROTECTED]> [2006-01-25 17:52 -0500]:
> If I do the following from the command line:
> 
>  screen -X colon 'activity "Activity - - in window %n"'
> 
> Screen does not do the action until I press enter within the screen
> window.  Is there a way for me to call this without having to do that?

The colon command expect to have a newline at the end of the supplied
command.  You can add that by embedding one in the command:

  screen -X colon 'activity "Activity - - in window %n"
'

However, colon is intended for interactive commands, while 'screen -X' is
for noninteractive commands.  You can cut out the middleman with:

  screen -X activity "Activity - - in window %n"

-- 
...computer contrarian of the first order... / http://aperiodic.net/phil/
PGP: 026A27F2  print: D200 5BDB FC4B B24A 9248  9F7A 4322 2D22 026A 27F2
--- --
Anyone who has never hacked sendmail.cf has no soul.  Anyone who has
hacked it twice has no brain.
                       -- Peter da Silva
---- --- --


_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to