From owner-freebsd-questions@freebsd.org Sat Aug 22 06:02:18 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B55413AE6A2 for ; Sat, 22 Aug 2020 06:02:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BYSTP1JbKz4C6n for ; Sat, 22 Aug 2020 06:02:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.118.210]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1Mr7iw-1kxDc02hs6-00oHFD; Sat, 22 Aug 2020 08:02:14 +0200 Date: Sat, 22 Aug 2020 08:02:14 +0200 From: Polytropon To: Christoph Kukulies Cc: Ruben via freebsd-questions Subject: Re: I wish I had wish Message-Id: <20200822080214.8a8b3f42.freebsd@edvax.de> In-Reply-To: <2D80B694-4DE8-43D7-9C73-26A135585362@kukulies.org> References: <899F50B9-5152-4EA5-BF4A-A4D5F47931ED@kukulies.org> <20200821185724.9ec46e4a.freebsd@edvax.de> <2D80B694-4DE8-43D7-9C73-26A135585362@kukulies.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:eYSIBffFbEJaScb9VAWaEHoFIb3ShRwiTfxAe6t8cpfw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R75OwOVp2g58lSXqjil7RAghDxWFlQJ X-Rspamd-Queue-Id: 4BYSTP1JbKz4C6n X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.130) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [2.35 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.05)[-0.055]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[178.12.118.210:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.130:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.130:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Aug 2020 06:02:18 -0000 On Fri, 21 Aug 2020 20:22:51 +0200, Christoph Kukulies wrote: > Thanks. I installed bsvc from github, compiled and installed it. > When I then ran > > bsvc > > I got exec: wish not found > > Now I found that bsvc is part of the ports collection. So I did a > pkg install bsvc which automatically install tcl/tk (8.6 I believe). > > So far so good. wish isn’t there. > > Now when I start bsvc (via ssh -Y myfreebsdbox) I’m getting > > $ bsvc > X Error of failed request: BadName (named color or font does not exist) > Major opcode of failed request: 45 (X_OpenFont) > Serial number of failed request: 42 > Current serial number in output stream: 59 > $ > > > But this message must be caused by my macOS server from which I’m > logged in into myfreebsdbox. Depending on which shell you're using, try command completition: % wish[TAB] It's quite possible that there really is no "wish" command, but a "wish" command. When I try this in my experimental box (not really up to date), I get this: % wish8.6_ So what you can do: Create a symlink to point to the versioned wish binary. On this particular machine, tcl86-8.6.10 and tk86-8.6.10_1 have been installed to use with tkRunIt-0.94.1_2, whose executable scipt starts with this: #!/bin/sh # the next line restarts using /usr/local/bin/wish8.6 \ exec /usr/local/bin/wish8.6 "$0" "$@" #!/usr/local/bin//usr/local/bin/wish8.6 As you can see, the version is explicitely named in the script, and it matches the binary installed by tk (which wish is a part of). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...