www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/07/04:06:19

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C115396E473
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1610010334;
bh=PuZ6XkIao2sHCGR8UYUNQB8LLA6QbVi1yTHNyXZg/EU=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=YQBogdpHwZqs9Byd3qB9fo5lZUk8yvhOeqTVR/NtsEeKULmnnIcgM+0rwN83IAOHs
ggHM8bbpolhSux/fWLol80ozu61BjVORjgB0gNmBSQFnCZ8kphcCwfBVmVhjkSZGH7
wWOOIG3YwbeRgod02cogysCdIvnQIv5JDNnP6oS0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1678D3860C34
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 107952J0032562
X-Nifty-SrcIP: [122.249.67.108]
Date: Thu, 7 Jan 2021 18:05:02 +0900
To: cygwin AT cygwin DOT com
Subject: Re: cygwin introduces spaces in the console output when running a
maven build for a java project in windows 10
Message-Id: <20210107180502.28f1939a4309cb8c4a1d92a4@nifty.ne.jp>
In-Reply-To: <77c04a8932e54806900cb88c6169c7da@BELBRU-EXMP101.eeas.europa.eu>
References: <CAPjM6w-mPf5h=xR2MK-cu-Eb7g313A3cZBcOuQ=ygTL2_dOmFw AT mail DOT gmail DOT com>
<20201229223820 DOT 7a010585bbfd0973faf618ae AT nifty DOT ne DOT jp>
<c8ad9cbf914e4594bc8ba9c15e61e882 AT BELBRU-EXMP101 DOT eeas DOT europa DOT eu>
<20210106103602 DOT 75dae17f4921bd624e09683a AT nifty DOT ne DOT jp>
<20210106185206 DOT 25036de8b4aa93cc19af6dd0 AT nifty DOT ne DOT jp>
<77c04a8932e54806900cb88c6169c7da AT BELBRU-EXMP101 DOT eeas DOT europa DOT eu>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Thu, 7 Jan 2021 08:38:42 +0000
"KAVALAGIOS Panagiotis (EEAS-EXT)" wrote:
> > -----Original Message-----
> > From: Cygwin <cygwin-bounces AT cygwin DOT com> On Behalf Of Takashi Yano via
> > Cygwin
> > Sent: 06 January 2021 10:52
> > 
> > On Wed, 6 Jan 2021 10:36:02 +0900
> > Takashi Yano via Cygwin <cygwin AT cygwin DOT com> wrote:
> > > On Tue, 5 Jan 2021 14:46:53 +0000
> > > "KAVALAGIOS Panagiotis (EEAS-EXT)" wrote:
> > > > > -----Original Message-----
> > > > > From: Cygwin <cygwin-bounces AT cygwin DOT com> On Behalf Of Takashi
> > Yano
> > > > > via Cygwin Solution 2:
> > > > > Replace cygwin1.dll with the latest snapshot.
> > > > > https://cygwin.com/snapshots/
> > > >
> > > > We have been also affected by this issue. I would prefer solution 2 in
> > order to have the new Cygwin update. Do we know if there will be a new
> > release soon or in which version is going to be included?
> > >
> > > Sorry, the solution 2 does not take effect if you are using older
> > > win10 (such as 1809).
> > > Moreover, even with solution 2, the output of maven is garbled if it
> > > is started from cygwin shell in the command prompt.
> > 
> > I have confirmed that the solution 2 also has no effect on
> > Win10 1903, 1909 while it works on Win10 20H2.
> > I'm not sure whether it works or not on Win10 2004.
> 
> We also speak 1809 and the snapshot is not working for us either.
> 
> I was thinking that the 3rd solution (TERM=cygwin) is easier. It can be applied in a .sh and .csh script inside /etc/profile.d or is there a different place recommended for Cygwin to set this variable? Is there any side effect using "cygwin" from the default value "xterm"?

Environment TERM is used by various cygwin application. So if
you set it cygwin globally, editor (vim, emacs), less etc. will
be affected. Therefore, you should set TERM to cygwin only for
maven.

The appropriate way is to set TERM=cygwin in /etc/mavenrc or
$HOME/.mavenrc

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019