Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 1998 19:52:41 +1030
From:      Greg Lehey <grog@lemis.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ping from fvwm2 menu
Message-ID:  <19981121195241.A1005@freebie.lemis.com>
In-Reply-To: <19981121190358.50352@welearn.com.au>; from Sue Blake on Sat, Nov 21, 1998 at 07:03:58PM %2B1100
References:  <19981121190358.50352@welearn.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 21 November 1998 at 19:03:58 +1100, Sue Blake wrote:
> Here's the line I've got within a menu block in .fvwm2rc
>
>>  "ping dukkha"  Exec xterm -n "dukkha" -T "ping dukkha" -e ping -c 5 dukkha
>
> It works fine, but disappears too soon to read the summary.
>
> The real problem is that I don't know whether to tell fvwm2 or xterm
> how to behave. I can't find hints in either man page so it might
> not even be possible, or it's something easy that I just can't see.
> Has anyone done this a better way?

Why not write a script which does it the ping and then pauses until
you press Enter?  Something like:

+ "ping dukkha"  Exec xterm -n "dukkha" -T "ping dukkha" -e myping

myping would then be:

#!/bin/sh
ping -c 5 dukkha
read confirmation

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981121195241.A1005>