fvwm2.2/sparc/solaris2.5.1: if I create a menu 'by hand' (fvwm2rc):
AddTomenu uaa2src____ "uaa2-src ..." Title
+ "localhost" exec xterm -T uaa2-src -n uaa2src -e rlogin -l uaa2src
localhost
+ "" Nop
+ "wsc097" exec xterm -n uaa2src -e rlogin -l uaa2src wsc097
+ "wsc098" exec xterm -n uaa2src -e rlogin -l uaa2src wsc098
+ "wsc099" exec xterm -n uaa2src -e rlogin -l uaa2src wsc099
... etc. for lots of machines ... I get a separator for the "" Nop bit.
Fine. However, I have several accounts now that I need to bring up xterms
for in the same way, and it's an arse maintaining several lists of valid
machines. So, I did this in my fvwm2rc (XTerm iss a small wrpper for xterm
- ignore):
Function NewPeep uaa2src
Function NewPeep twkadm
Function NewPeep hjmoore
AddToFunc NewPeep \
"I" AddToMenu Peeps "$0" Popup $0____ Item 80 -100-4p
+ "I" DestroyMenu $0____
+ "I" AddTomenu $0____ "localhost" \
exec XTerm -r `uname -n` $0 "$0 login `uname -n`" "$0"
+ "I" AddTomenu $0____ "" \
Nop
+ "I" AddTomenu $0____ "wsc097" \
exec XTerm -r wsc097 $0 "$0 login wsc097" "$0"
+ "I" AddTomenu $0____ "wsc098" \
exec XTerm -r wsc098 $0 "$0 login wsc098" "$0"
.. etc. (I've split the lines to fit them into the e-mail).
This does work, but I don't get any separator! Now, I *can* make the ""
into "-", and the entry duly appears, but of course then I just see '-' as
its label!
Why does the 'AddTomenu blah "" Nop' not work in this instance?
--
========================- http://www.rrds.co.uk/ -======================
Neil Bird | This is who we are The time is near
| There are 226 days remaining
mailto:neil.bird_at_rrds.co.uk | [ T-19 days! ]
--
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 Thu May 20 1999 - 03:17:08 BST