From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60966: 30.0.50; Emacs -nw on msys2 is not clearing the terminal Date: Tue, 24 Jan 2023 16:24:29 +0100 Message-ID: <20230124152429.7ihf3y5naana7khr@Ergus> References: <87v8l1p3bi.fsf.ref@aol.com> <87v8l1p3bi.fsf@aol.com> <83lelxm2x8.fsf@gnu.org> <163867763.625356.1674513915222@mail.yahoo.com> <83sfg0gji9.fsf@gnu.org> Reply-To: Ergus Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36266"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60966@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 24 16:25:31 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pKLAx-0009DX-3r for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Jan 2023 16:25:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKLAX-0006Kv-KJ; Tue, 24 Jan 2023 10:25:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKLAU-0006KQ-Ph for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 10:25:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pKLAU-0004XJ-Dt for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 10:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pKLAT-0007xo-TL for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 10:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ergus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Jan 2023 15:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60966 X-GNU-PR-Package: emacs Original-Received: via spool by 60966-submit@debbugs.gnu.org id=B60966.167457388330583 (code B ref 60966); Tue, 24 Jan 2023 15:25:01 +0000 Original-Received: (at 60966) by debbugs.gnu.org; 24 Jan 2023 15:24:43 +0000 Original-Received: from localhost ([127.0.0.1]:57424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKLAB-0007xD-3Q for submit@debbugs.gnu.org; Tue, 24 Jan 2023 10:24:43 -0500 Original-Received: from sonic316-11.consmr.mail.bf2.yahoo.com ([74.6.130.121]:38909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKLA9-0007wy-BQ for 60966@debbugs.gnu.org; Tue, 24 Jan 2023 10:24:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1674573874; bh=xsSW7jGQ92z89MZ8mrr0UeH+nkpoby6nSidb7KctYXA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=lirW/x5MNW296WBPsZujf3EAb6/TQDBEEyeGuarJ/NjLMw8rMe+V7lv5qe/FH/9vM/qHFA0bUrM6Z3OhtzWVvbX6Y66wI/VQQQA/jnSXbMVgYm2Hx3IeeBAIiUu+/gQh5pdsZkNrwnpocC3uWq1H0eV9hkY9zYI1PjFTcsj2IKx20AEnS/309SQdJMTWojWif9X6Bd3VghrMwrhpv2/rt58RvPxEL35WSN4X/oGXwUHRZoQhdQv80MOq93J68wumeGq6DtJk6P3AQMVMVlPUsoRkBri7jeFYE8Am9zpU9O/YeA8MNzjQwTtOe9Ko1s3khz5LgX5aafbRef1E8OSfUg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1674573874; bh=ZTWt4x5nrR0MciVtLuXA6ybs0rgdHG3l+5tQxCLkl98=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=fL7yu7t2DKpSDHPTjeCWT5+ouG8F01GADMNEMuXAJ8+TgTnm0BJj2OR9iuqw9gi/ydXl5x03A0p6gl2u0rBP92XBK+hjImdf6aZ5Vq7nH3TnGfshb9YEG6ha9Mb/hR7iZILtiy1zh7du5AXvwl4TOq8lZi07PdDw+sjbF/9J9vVERP2iePTbv4f6QSec7rUzqDil+fjavsuxpnA9NSknBWupaKCrsxpwQCbDBcB4ClDvZzLvcEhtkFbMlQGDV50/g+IUM0OBbn6u3T2g3+HDiHAX7R6yCVF63znGrZy4KuLr6IxKtvh4Gh6V+HUDurazKRmO8nkEKH0yXe9Xi6uhVA== X-YMail-OSG: D1wc7bkVM1m4PO70POSFqoSaZtAoU5z4z35br.mwz1bzbeTkKaeGwNpGi0SYSse RFwNtVybWhC22_7yHaV7Vcb0lvt1UTeZa.jtf.AFo0eQgwhe1rIcCTx79QJeb3W4ikW706w9VzI4 qr1m4KWOkjgaPZJ5dU1_kSbxL5_CgjhDnPn7WpUOaLK1A4GVJdS7Imb9uYjcPeEiL7cUd1zXyBHi aNZBYhNBLZvWhXKtbmcCp1qMeRYgsF9oqXQKTNPVuUgobt6qE8axw5thEK0LWO5dNrmn_Ygb18WZ J9Gam96zxd_8DAHrDMHVPYDmWQBCCmnrpWPQrm2eayXJem7boNI1TVNsnhkwI_g4ppqZ4a1EGpeA YeJS962Sg91pElJLgUwHU3GdQ3HDZ3gBJSb1ofSzWHeuIOboYlnqV5JX0z8vbGuaAfqstOBmgvLX 33sjCeiLDv9WzrH_te0Tn0ifrD29xMrQsYO277C5X1Z2txGGbH1mw1OmtZlsUVqUsk79Sq4bhfNH rrMAaU0J2nqtZ4obwT3ZagUYF.AKdp3e4A7cK_SHFLLKuNEgDUCDeow.fmkvpcxstqhRivCG7P1d miVDXyO.pRUuIobZFCBEoVOBl5o0kb7aybvHPEj1aTlfny3IQjj2UFS.jRb_sA.fnW5Prsv0.nmX PLwxN24UXWhgv1OZPKHOnE_B8LsS_xIRyq25bsJc.GE6eqcS7mpMTKR5r5AQqlclWK6Ji_FNLZHo uM9k8p4uwK51wEhXCHvoTInbkOTMaA4bI07l372M9EhNhzm3zXXxtdetc2dO8RSRgQpSZxlbHEYa azs6lpn7Iapfxbq5sJ_hRvmodLfRBwGqQ9hOVH6ftq X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.bf2.yahoo.com with HTTP; Tue, 24 Jan 2023 15:24:34 +0000 Original-Received: by hermes--production-ir2-6bd6c4cd5f-tswtd (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3a660490f257e66e5f8034c66b5ebe61; Tue, 24 Jan 2023 15:24:31 +0000 (UTC) Content-Disposition: inline In-Reply-To: <83sfg0gji9.fsf@gnu.org> X-Mailer: WebService/1.1.21096 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254051 Archived-At: On Tue, Jan 24, 2023 at 03:16:46PM +0200, Eli Zaretskii wrote: >> Date: Mon, 23 Jan 2023 22:45:15 +0000 (UTC) >> From: Ergus >> Cc: "60966@debbugs.gnu.org" <60966@debbugs.gnu.org> >> >> Thanks, now I understand the problem... it is a bit weird, but OK. > >Please tell what you understood and what you think is weird. I'd like >to make sure there's no misunderstanding here. > Hi Eli: It is just a bit weird that emacs shouldn't be called from within the msys terminal, maybe a warning message or something may help here. It is not terrible, just a bit confusing. >> Today I also tried the nt/INSTALL.64 steps and somehow I got an issue about #include : No >> such file or directory. >> >> I repeated the steps in the guide carefully but I only get the same error after make. >> >> --------------------------------- >> >> In file included from ../src/config.h 3043 >> >> ../../source/lib/../src/conf_post.h:38:11: fatal error: ms-w32.h: No such file or directory >> 38 | # include >> | >> compilation terminated > >Please show the full compilation command, it sounds like some compiler >switches might be missing. You can request display of full commands >during the build if you say > > make V=1 > >The configure script arranges for MinGW builds to add the -I../nt/inc >option to the compilation command line, which is where the ms-w32.h >header lives. I tried this and I see that the -I line is added correctly, but the directory where I am building is inside 'Documents and Settings' which has spaces and I don't see any quote or \ escape. gcc -c -mtune=generic -DUSE_CRT_DLL=1 -I /c/Documents and Settings/T008593/Downloads/emacs/build/../source/nt/inc -mtune=generic -MMD -MF deps/fingerprint.d -MP -g3 -O2 -gdwarf-2 -I. -I../src -I../../source/lib -I../../source/lib/../src -DGL_COMPILE_CRYPTO_STREAM -o fingerprint.o ../../source/lib/fingerprint.c So, probably is this the problem?? >> Any idea? I am using the mingw64 terminal to build as the guide says... so maybe there is anything wrong in >> my envirnment? > >If the above doesn't help, tell me how you configured the build: which >configure command you used and in whether your build is in the source >directory or outside of it. Also, if you previously did another build >in the same tree, you need to clean the tree ("make extraclean"). Just to mention, the build is outside of sources. I made all the clean as usual like on GNU/Linux. Thanks, Ergus