Hello.
When you do "stty" on FreeMiNT, you get:
-onlcr
It means that LF to CR+LF translation is disabled on output.
This is wrong, because it actually enabled (T_CRMOD internal flag).
From FreeMiNT, if you do ssh to a Linux server, you get stairs effect.
Again, this is because of the -onlcr issue.
tcgetattr() does not return ONLCR, while it should.
The attached patch fixes tcgetattr() to return ONLCR when appropriate.
It fixes both stty output and ssh stairs effect.
Alan, please commit!
onlcr.patch
Fixed tcgetattr() to return ONLCR when appropriate. Contributed by
Vincent Riviere.