I have the following script to start a terminal, it permits to set an env
variable and provides some fallbacks.
----------------------------------------------------------------------
#!/bin/sh
if [ -n "$TERMINAL" ]; then
`$TERMINAL` $* >/dev/null 2>_at_1
elif [ `which gnome-terminal` ]; then
gnome-terminal --start-factory-server --use-factory -t "Terminal" $*
>/dev/null 2>_at_1
elif [ `which rxvt` ]; then
rxvt -t Terminal $* > /dev/null 2>_at_1
else
xterm -t Terminal $* > /dev/null 2>_at_1
fi
-----------------------------------------------------------------------
If I start gnome-terminals via FvwmConsole using the command line:
gnome-terminal --start-factory-server --use-factory -t "Terminal"
those terminals will share the same process (as inteded).
But if I use the script tried both in a menu and using FvwmConsole, the
terminals start in their own processes. There is a process called
"gnome-pty-helper"
Anyone have an idea?
(I would like to be able to use this script to increase the portability of
my configuration)
//Marcus
--
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 Sat Oct 12 2002 - 05:31:26 BST