autoexec help needed...

Kirk Bauer (kirk@kaybee.org)
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
this:

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 &
EndFunction

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 -- kirk@kaybee.org <== Finger for PGP
  http://www.kaybee.org/~kirk  ResNet RTA   Computer Engineering
 GT Sport Parachuting Club!  http://cyberbuzz.gatech.edu/skydive



--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html