From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daKFU-0002OY-SI for guix-patches@gnu.org; Wed, 26 Jul 2017 07:13:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daKFS-0002x9-7Q for guix-patches@gnu.org; Wed, 26 Jul 2017 07:13:04 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54110) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daKFS-0002wp-3a for guix-patches@gnu.org; Wed, 26 Jul 2017 07:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1daKFR-00023G-Ms for guix-patches@gnu.org; Wed, 26 Jul 2017 07:13:01 -0400 Subject: [bug#27691] Tabs and patches names Resent-Message-ID: From: Oleg Pykhalov 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> Date: Wed, 26 Jul 2017 14:12:33 +0300 In-Reply-To: <87wp6va8vr.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 26 Jul 2017 10:40:40 +0200") Message-ID: <87379jih9a.fsf@gmail.com> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27691@debbugs.gnu.org Hi Ludovic, ludo@gnu.org (Ludovic Court=C3=A8s) writes: [...] > I had to make the change below so that =E2=80=98tome4=E2=80=99 would beha= ve as one would > expect. However, the game doesn=E2=80=99t work for me: it creates an X11= window > that immediately disappears; after that, the engine is running > (displaying its activity in the console), but there=E2=80=99s no open win= dow. > > 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. I= t 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. However I got =E2=80=9Cbash: tty: command not found=E2=80=9D after `./pre-i= nst-env guix environment --pure --ad-hoc tome4`. `tome4` runs just fine still.