cygwin introduces spaces in the console output when running a maven build for a java project in windows 10
Takashi Yano
takashi.yano@nifty.ne.jp
Wed Jan 6 09:52:06 GMT 2021
On Wed, 6 Jan 2021 10:36:02 +0900
Takashi Yano via Cygwin <cygwin@cygwin.com> wrote:
> On Tue, 5 Jan 2021 14:46:53 +0000
> "KAVALAGIOS Panagiotis (EEAS-EXT)" wrote:
> > > -----Original Message-----
> > > From: Cygwin <cygwin-bounces@cygwin.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.
> If you can build jansi from source, I recommend solution 1.
Actually, this issue has been fixed in jansi-2.0.1.jar which
can be downloaded from
https://fusesource.github.io/jansi/download.html
however, this version has another minor problem:
https://github.com/fusesource/jansi/issues/179
The issue above is fixed in jansi-2.1.0.jar, however replacing
only this file causes another problem:
https://github.com/fusesource/jansi/issues/180
Both issues are fixed in jansi-2.1.1.jar
So, if you can build jansi from source, use v2.1.1.
Otherwise, use v2.0.1 which can be downloaded from
https://fusesource.github.io/jansi/download.html
if you can accept the issue:
https://github.com/fusesource/jansi/issues/179
--
Takashi Yano <takashi.yano@nifty.ne.jp>
More information about the Cygwin
mailing list