public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How to disable formatting control characters in newer versions?
@ 2020-10-16 10:07 Zoltán Vér
  2020-10-16 10:29 ` Takashi Yano
  0 siblings, 1 reply; 2+ messages in thread
From: Zoltán Vér @ 2020-10-16 10:07 UTC (permalink / raw)
  To: cygwin

Hi,

We have been using Cygwin for a long time for a testing process. This
process saves the output to a log file.

The main problem is that the newer versions of Cygwin puts the formatting
characters into the log file also. So the logs are useless.

The affected formatting characters are backspaces and cursor positioner CSI
control characters like \033[1;1H
It seems like the log contains the clear screen data too.

So, is there an option to disable this feature, or do you have any solution
to eliminate them?

Best regards,
Zoltan Ver

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to disable formatting control characters in newer versions?
  2020-10-16 10:07 How to disable formatting control characters in newer versions? Zoltán Vér
@ 2020-10-16 10:29 ` Takashi Yano
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Yano @ 2020-10-16 10:29 UTC (permalink / raw)
  To: cygwin; +Cc: Zoltán Vér

On Fri, 16 Oct 2020 12:07:11 +0200
Zoltán Vér via Cygwin <cygwin@cygwin.com> wrote:

> Hi,
> 
> We have been using Cygwin for a long time for a testing process. This
> process saves the output to a log file.
> 
> The main problem is that the newer versions of Cygwin puts the formatting
> characters into the log file also. So the logs are useless.
> 
> The affected formatting characters are backspaces and cursor positioner CSI
> control characters like \033[1;1H
> It seems like the log contains the clear screen data too.
> 
> So, is there an option to disable this feature, or do you have any solution
> to eliminate them?

Could you provide simple test case which replicates your issue?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-16 10:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-16 10:07 How to disable formatting control characters in newer versions? Zoltán Vér
2020-10-16 10:29 ` Takashi Yano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).