From owner-freebsd-questions Sat Nov 21 01:23:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA25557 for freebsd-questions-outgoing; Sat, 21 Nov 1998 01:23:20 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA25552 for ; Sat, 21 Nov 1998 01:23:17 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id TAA29255 for ; Sat, 21 Nov 1998 19:52:43 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id TAA07093; Sat, 21 Nov 1998 19:52:42 +1030 (CST) Message-ID: <19981121195241.A1005@freebie.lemis.com> Date: Sat, 21 Nov 1998 19:52:41 +1030 From: Greg Lehey To: freebsd-questions@FreeBSD.ORG Subject: Re: ping from fvwm2 menu References: <19981121190358.50352@welearn.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19981121190358.50352@welearn.com.au>; from Sue Blake on Sat, Nov 21, 1998 at 07:03:58PM +1100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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