From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daSzR-0006h9-BD for guix-patches@gnu.org; Wed, 26 Jul 2017 16:33:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daSzO-0001i3-81 for guix-patches@gnu.org; Wed, 26 Jul 2017 16:33:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55024) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daSzO-0001hw-4F for guix-patches@gnu.org; Wed, 26 Jul 2017 16:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1daSzN-00006A-SR for guix-patches@gnu.org; Wed, 26 Jul 2017 16:33:01 -0400 Subject: [bug#27691] Tabs and patches names Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170714124108.24997-1-go.wigust@gmail.com> <87poczcaxz.fsf@magnolia.i-did-not-set--mail-host-address--so-tickle-me> <87h8y7xy7n.fsf@gnu.org> <87bmo8eaen.fsf@gmail.com> <87wp6va8vr.fsf@gnu.org> <87379jih9a.fsf@gmail.com> Date: Wed, 26 Jul 2017 22:32:01 +0200 In-Reply-To: <87379jih9a.fsf@gmail.com> (Oleg Pykhalov's message of "Wed, 26 Jul 2017 14:12:33 +0300") Message-ID: <87lgnb7xdq.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Oleg Pykhalov Cc: 27691@debbugs.gnu.org Oleg Pykhalov skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > > [...] >> I had to make the change below so that =E2=80=98tome4=E2=80=99 would beh= ave as one would >> expect. However, the game doesn=E2=80=99t work for me: it creates an X1= 1 window >> that immediately disappears; after that, the engine is running >> (displaying its activity in the console), but there=E2=80=99s no open wi= ndow. >> >> The problem can be reproduced with: >> >> ./pre-inst-env guix environment --pure --ad-hoc tome4=20 >> >> Could you check if it works for you? >> >> Thanks! >> >> Ludo=E2=80=99. >> >> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm >> index df6922d88..41084a2f2 100644 >> --- a/gnu/packages/games.scm >> +++ b/gnu/packages/games.scm >> @@ -4660,8 +4660,7 @@ Crowther & Woods, its original authors, in 1995. = It has been known as >> ;; defaulting to working directory >> ;; for engine code! >> "cd " data "\n" >> - "./t-engine &\n" >> - "exit\n")))) >> + "exec -a tome4 ./t-engine \"$@\"\n")))) >> (chmod wrapper #o555) >> ;; licenses >> (for-each (lambda (file) > > I applied your patch and ran `./pre-inst-env guix environment --pure > --ad-hoc tome4 -- tome4`. It worked. Is it on GuixSD or on another distro? In the latter case, =E2=80=98tome4= =E2=80=99 might be using stuff from the host distro that=E2=80=99s missing on my machine. > However I got =E2=80=9Cbash: tty: command not found=E2=80=9D after `./pre= -inst-env guix > environment --pure --ad-hoc tome4`. `tome4` runs just fine still. Sounds harmless. Thanks, Ludo=E2=80=99.