regarding that stack of newline chars expressed at boot
- Reply: Warner Losh : "Re: regarding that stack of newline chars expressed at boot"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Sep 2024 17:15:04 UTC
This is from the "better late than never" file. So yes, any machine I had with a serial console was kicking out a newline char on every one of the "autoboot_delay" countdown. Seems to be a default of 10 secs and so therefore I was seeing ten lines of stuff. Seems to be related to : https://cgit.freebsd.org/src/commit/?id=101afbc6ee2f06f77e6886f1f3ffe115c579967c The trivial solution is to NOT use and old fashioned 80x24 DEC VT100 type XTerm size for the session that connects to serial. The behavior vanishes at 80x25 now. I see that as the old DOS PC-Term size that some folks at Microsoft loved. Many years ago. Maybe it would be more elegant to just output the countdown secs number and then utter 010 BS chars and keep kicking out numbers that overwrite whatever was there before? Or do nothing. Hardly an issue really. Just seemed weird when I saw it. Thanks for letting me paint the bikeshed. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken