I commited a fix in the doc menu of the Developer menu. The problem is at
different terms use different quoting with the -e option.

gnome-terminal and xterm are using -e "man fvwm"
aterm, konsole, Eterm, mrxvt, urxvt and xterm are using -e man fvwm

I tested the new function with all the terms above. 

The function assume at multi-gnome-terminal use the same syntax as gnome-term
and at xfce4-terminal use the same syntax as xterm. I don't know how to install
multi-gnome-terminal and I don't want to install xfce4 just to try if the new
function work with it. So please report how it work with those 2 terminals if
you have any of them in your system.

The new function is:

DestroyFunc FvwmViewManPage
AddToFunc FvwmViewManPage
+ I Test (!EnvMatch DefaultTerminal gnome-terminal, !EnvMatch DefaultTerminal
multi-gnome-terminal, !EnvMatch DefaultTerminal xterm) X $[DefaultTerminal] -e
man $0
+ I TestRc (NoMatch) X $[DefaultTerminal] -e "man $0"

where $0 is the name of the man page.

Ciao,
Dominique

_______________________________________________
fvwm-crystal-users mailing list
fvwm-crystal-users@gna.org
https://mail.gna.org/listinfo/fvwm-crystal-users

Reply via email to