Re: FVWM: exec'ing an expect script

From: Yngvi J'garseogn <yngvi_at_yahoo.com>
Date: Wed, 31 May 2000 13:26:28 -0700 (PDT)

--- Dinesh Pullat <dpullat_at_cisco.com> wrote:
>
> I wish fvwm to exec an expect script. I have in my .fvwmrc:
>
> Exec "router1" exec $HOME/map.exp router1
>
> Where map.exp is the expect script and router1 is the argument
> to the script.
> But this does not work. Changing the argument to exec above to
> just xterm works fine.
> [...]

Hei

   If you are using expect and not expectk then the problem
is that there is no window for your script to "interact" in.

   You need to exec an xterm and tell the xterm to run your
expect script. I am not sure of the exact syntax but it is
something along the lines of:

      Exec "router1" exec xterm -e $HOME/map.exp router1

--
 ------------------ ------------------------------------------------
| Yngvi J'garseogn | UNIX _is_ user friendly.                       |
| Yngvi_at_yahoo.com  | It's just selective about who its friends are. |
 ------------------ ------------------------------------------------
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed May 31 2000 - 15:26:18 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:50 BST