From owner-freebsd-questions Sat Jul 20 7: 8:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D68E37B405 for ; Sat, 20 Jul 2002 07:08:29 -0700 (PDT) Received: from relay02.cablecom.net (relay02.cablecom.net [62.2.33.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CC0043E64 for ; Sat, 20 Jul 2002 07:08:28 -0700 (PDT) (envelope-from hanspeter_roth@hotmail.com) Received: from gicco.cablecom.ch (dclient217-162-156-181.hispeed.ch [217.162.156.181]) by relay02.cablecom.net (8.11.6/8.11.4/SOL/AWF/MXRELAY/06072001) with ESMTP id g6KE8Rm62397 for ; Sat, 20 Jul 2002 16:08:27 +0200 (CEST) Received: (from idefix@localhost) by gicco.cablecom.ch (8.11.6/8.11.6) id g6KE8OJ01353 for freebsd-questions@freebsd.org; Sat, 20 Jul 2002 16:08:24 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Date: Sat, 20 Jul 2002 16:08:24 +0200 From: Hanspeter Roth To: freebsd-questions@freebsd.org Subject: tk/wish versions Message-ID: <20020720160823.A1038@gicco.cablecom.ch> Reply-To: freebsd-questions@freebsd.org Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I have a script which is a shell script externally but a wish script internally. The following line is near the top: exec wish "$0" "$@ This is it doesn't call a specific version of wish. Other scripts have something similar to exec wish8.3 "$0" -- ${1+"$@"} Now when I start the first script I get a message saying that different wishes are not compatible. But the only tk I have installed is 8.3 anyway. What is the recommended way to solve this problem? Should one specify the wish version in every wish script? Or should I patch /usr/local/bin/wish to call one default version? -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message