View previous topic :: View next topic |
Author |
Message |
psycho Guru
Joined: 22 Jun 2007 Posts: 534 Location: New Zealand
|
Posted: Sat Sep 03, 2011 12:11 am Post subject: [solved] clear screen on initial login |
|
|
After an emerge -uDN world the initial login behaviour has changed and I can't identify the culprit. Before, the kernel and init script messages stayed on the screen: this, obviously, was a good thing as it meant they could be read as intended.
Now, they're briefly visible, but then when the login prompt comes up, the screen clears. Sysvinit was among the updates so I guess that could be the problem but I can't see where exactly it's happening, and I've grepped for clear and reset in /etc and can't see anything suspicious in there. It's possible this happened a few days ago with a pam update and I've just noticed it now. It's not just the initial login either (basically bash is acting as though I had "clear" in .bash_logout all the time, whether I do or not), but it's only at the initial login that I don't want the screen cleared.
Does anyone know what's clearing the screen, and how to stop it?
Last edited by psycho on Wed Sep 07, 2011 1:22 am; edited 1 time in total |
|
Back to top |
|
|
Aquous l33t
Joined: 08 Jan 2011 Posts: 700
|
Posted: Sat Sep 03, 2011 6:40 am Post subject: |
|
|
Same here, would love to get the old behaviour back. |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Sat Sep 03, 2011 10:09 am Post subject: |
|
|
I'm suspecting it's util-linux-2.20, or specifically agetty. But I haven't played around yet to confirm it. Ok, I had a quick look at agetty's help, this one looks interesting: Code: | --noclear do not clear the screen before prompt |
So adding --noclear to each agetty line in /etc/inittab could do the trick. |
|
Back to top |
|
|
psycho Guru
Joined: 22 Jun 2007 Posts: 534 Location: New Zealand
|
Posted: Sat Sep 03, 2011 12:35 pm Post subject: |
|
|
Thank you Gusar, that fixed it. |
|
Back to top |
|
|
mounty1 l33t
Joined: 06 Jul 2006 Posts: 934 Location: Queensland
|
Posted: Thu Oct 13, 2011 5:32 am Post subject: Thanks from me as well |
|
|
I'm sure there must be a really good reason for the change, but thanks for the information on undoing it. _________________ Michael Mounteney |
|
Back to top |
|
|
|