FVWM: disappearing xterm -e

From: Sue Blake <sue_at_welearn.com.au>
Date: Mon, 30 Nov 1998 13:12:19 +1100

This problem is caused by wanting to distribute a fvwm2rc alone,
without any additional files, to people with no unix skills (yet)
and only a basic setup including XFree86 and the contrib programs.
I can't use any additional scripts or install more untilities.

I want to be able to run commandline stuff from a menu, and have the
xterm remain for viewing output. For example, ping works nicely until
it is terminated, then the xterm disappears before you can see the
summary. I solved this for ping by setting the number of pings and
redirecting the output to xmessage.

It's not so easy for other programs, especially those that require
user input. xmessage won't display until the end of the output, and
xterm disappears the instant it believes there's nothing more to do.

For example, I'd like to be able to su and run a command with
parameters as root, and view the output before the xterm quits. The
obvious solution would be to call a script, but I can't provide them
with a second file. I tried various types of quoting and using the
shell command 'read' to pause, but all attempts either produced an
xterm saying "can't execvp" or did absolutely nothing. Is there any
way around this?

If these things cannot be done without an extra file, I'll just leave
them out, but if it is possible I'd really like to know.

TIA

-- 
Regards,
        -*Sue*-
--
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 Sun Nov 29 1998 - 20:12:48 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST