On 02/03/2012 08:55 PM, Philip Webb wrote:
120203 Canek Peláez Valdés wrote:
On Fri, Feb 3, 2012 at 3:15 AM, Helmut Jarausch wrote:
I'm using openrc (0.9.8.4) and I don't use any (graphical) login manager.
After some upgrade of openrc -- not too long ago --
something clears the screen just before I'm offered to log in.
But I'd like to see the last messages of openrc.
What gets executed just before I can login?
Or, where can I stop blanking the terminal just before login.
 From util-linux-2.20.1-r1.ebuild:

pkg_postinst() {
   elog "The agetty util now clears the terminal by default.  You"
   elog "might want to add --noclear to your /etc/inittab lines."
}

Maybe it's this?

120203 Dale wrote:

I like this myself but I do find myself in your situation sometimes.
Try here:  /etc/bash/bash_login .

Both replies are interesting, but incomplete :
(1) to which line in  inittab  do we add '--noclear' ?

To the line for the terminal you don't want to be cleared. I only added it to tty1:

  c1:12345:respawn:/sbin/agetty 38400 tty1 linux --noclear


(2) what do we put in  bash_login ? -- 'man bash' doesn't help.

Nothing you would put there would help. It's about preventing the clearing of the terminal. There's nothing you can do after it has been cleared.


Reply via email to