Hi,

Bob Bawn wrote:
> [EMAIL PROTECTED] cluster]$ xargs -l1 -t screen < cmds
> screen less /etc/inittab
> Must be connected to a terminal.
> screen less /etc/fstab
> Must be connected to a terminal.
> [EMAIL PROTECTED] cluster]$
> 
> Should I be using expect or something that talks to ptys?

You can try "-X". This works for me:

~> xargs -l1 -t screen -X screen < cmds
screen -X screen less /etc/inittab
screen -X screen less /etc/fstab

> Is there a better way to start a set of processes, one per screen window?

You could always ignore any running screen and do something like
this:
~> cat > cmds
screen less /etc/fstab
screen less /etc/inittab
~> screen -m -c cmds


Ciao,
Thomas

-- 
 Thomas Köhler       Email:       [EMAIL PROTECTED]
     <><             WWW:              http://gott-gehabt.de
                     IRC:                           tkoehler
                     PGP public key available from Homepage!

Attachment: signature.asc
Description: Digital signature

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

Reply via email to