I'm trying to add general functions to my .fvwm2rc file to handle
different variations of the same task--starting remote xterms on local,
networked machines.
Instead of lots of lines of:
rsh -n -l maxwell dellpro "/usr/bin/X11/xterm -display maxwax:0.0"
I want to do:
AddToFunc RemoteShell
+ "I" Exec rsh -n -l $1 $2 "/usr/bin/X11/xterm -display $3"
$1 = user to login on remote as
$2 = remote host system name
$3 = name of X display SERVER to which output of xterm will be placed.
Then, I could make menus with:
AddToMenu MyMenu
+ "Remote on toronto" RemoteShell maxwell toronto "maxwax:0.0"
+ "Remote on dellpro" RemoteShell mstar dellpro "maxwax:0.0"
etc.
This isn't working at all, and I haven't been able to find examples of
calling functions with numbered parameters.. Anybody else doing this?
Anybody want to make an attempt to get it working and show me how its
done?
Thanks!
Maxwell Spangler, Software Developer, Greenbelt, Maryland, USA
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu May 21 1998 - 15:52:50 BST