autoexec help needed...

Kirk Bauer (
Fri, 16 Oct 1998 12:30:37 -0400 (EDT)

I start X Windows with ssh-agent and I need to run the
'ssh-add' program on startup.

The ssh-add program pops up a dialog asking for a password.  Once
you type in the password, it simply quits.  

I would like to set up my autoexec file to run the ssh-add program,
and then halt execution until the ssh-add program exits.  I tried

Function "InitFunction"
   Module  "I"     Animate
   Module  "I"     Wharf
   Wait    "I"     Wharf
   Module  "I"     WinList
   Exec    "I"     xmodmap ~/.xmodmaprc
   Exec    "I"     ssh-add </dev/null
   Exec    "I"     sh ~/GNUstep/Library/AfterStep/.workspace_state &

I was hoping that the lack on an ampersand would make it stop...
but what happens is that .workspace_state is run and the window
from ssh-add gets covered before I can type my password...

Kirk Bauer -- Georgia Tech -- <== Finger for PGP  ResNet RTA   Computer Engineering
 GT Sport Parachuting Club!