cygwin introduces spaces in the console output when running a maven build for a java project in windows 10

KAVALAGIOS Panagiotis (EEAS-EXT) Panagiotis.KAVALAGIOS@ext.eeas.europa.eu
Thu Jan 7 09:39:44 GMT 2021


> -----Original Message-----
> From: Cygwin <cygwin-bounces@cygwin.com> On Behalf Of Takashi Yano via
> Cygwin
> Sent: 07 January 2021 10:05
> 
> On Thu, 7 Jan 2021 08:38:42 +0000
> "KAVALAGIOS Panagiotis (EEAS-EXT)" wrote:
> >
> > 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

Yep, I confirm that the following has worked like a charm:

------------
kavalpa@BELBRU-L1903700:[53] ~ > cat /etc/mavenrc
# Temporary workaround for the jansi issue of Maven
TERM=cygwin
------------

Thank you very much!

Panos

Application Architect
CONSULIAT (under contract with the EEAS)
BA.BS.3.IS
Office: EEAS B100 Floor 5 Area 048
Rue Belliard 100, 1000 Brussels
Phone: +32 2 584 6017



More information about the Cygwin mailing list