You are not logged in.

#1 2021-02-28 13:44:58

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

The staircase effect - agetty

From https://wiki.archlinux.org/index.php/Getty:

agetty [...] modifies the TTY settings while waiting for a login so that the newlines are not translated to CR-LFs. This tends to cause a "staircase effect" for messages printed to the console.

What could be done so that messages appear without the staircase effect?

Offline

#2 2021-03-09 11:33:52

Awebb
Member
Registered: 2010-05-06
Posts: 6,610

Re: The staircase effect - agetty

I have never witnessed this first hand. Can you describe what happens when it happens?

Offline

#3 2021-03-09 18:15:54

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: The staircase effect - agetty

Sure, this appears briefly during the shutdown sequence: https://ibb.co/G9X84yB

Offline

#4 2021-03-09 18:29:35

Awebb
Member
Registered: 2010-05-06
Posts: 6,610

Re: The staircase effect - agetty

Oh that! I have seen this indeed. No solution unfortunately.

Offline

#5 2021-03-09 21:25:16

seth
Member
Registered: 2012-09-03
Posts: 58,790

Re: The staircase effect - agetty

Is the question regarding agetty or during "regular" use of an interactive shell?
For the latter, run "stty onlcr".

Otherwise
https://bbs.archlinux.org/viewtopic.php … 1#p1529281

You'll basically have to alter the terminal w/ some service - whether that's a good idea is a whole different matter.
If this is just for cosmetic reasons, rather leave it alone. I don't know why but am pretty convinced that agetty doesn't set the terminal to raw mode for no actual reason.

Online

Board footer

Powered by FluxBB