Long lines output by a native process in the PTY have new lines at the wrap point in the terminal

Andrew Ng anng.sw@gmail.com
Mon Jun 29 13:52:20 GMT 2020


Hi,

If you run a native process in bash using mintty that outputs lines
longer than the width of the terminal, these lines become "split" with
a new line at the wrap point. This can make copying the output
somewhat tricky, especially if the output is a command line you want
to copy, paste and run.

Can be reproduced using GnuWin32 'echo' or a native version of Python
using print.

I am running Cygwin 3.1.5 and mintty 3.2.0.

Thank you,
Andrew Ng


More information about the Cygwin mailing list