Question about stderr output containing carriage return External
Joshua Rogers
jrogers at opera.com
Sat Nov 11 12:13:26 AEDT 2023
Hi Thorsten,
Thank you for the clarification.
Cheers,
Josh
On Sat, Nov 11, 2023 at 1:57 AM Thorsten Glaser <t.glaser at tarent.de> wrote:
>
> On Sat, 11 Nov 2023, Marian Beermann wrote:
>
> > Though the commit doesn't say why it needs the \r.
>
> When the terminal is in raw mode, \n is not the line separator
> but \x0D\x0A is: \x0D moves the cursor to the beginning of the
> line and \x0A moves it to one line below but does not change
> the horizontal position.
>
> So it’s a requirement when in raw mode and doesn’t hurt in
> cooked mode.
>
> bye,
> //mirabilos
> --
> Infrastrukturexperte • Qvest Digital AG
> Am Dickobskreuz 10, D-53121 Bonn • https://www.qvest-digital.com/
> Telephon +49 228 54881-393 • Fax: +49 228 54881-235
> HRB AG Bonn 18196 • USt-ID (VAT): DE274355441
> Vorstand: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
> Vorsitzender Aufsichtsrat: Peter Nöthen
More information about the openssh-unix-dev
mailing list