public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How to remove the "clear screen" just before login
@ 2012-02-03  9:15 Helmut Jarausch
  2012-02-03 16:38 ` Dale
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Helmut Jarausch @ 2012-02-03  9:15 UTC (permalink / raw
  To: gentoo-user

Hi,

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.

Many thanks for a hint,
Helmut.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] How to remove the "clear screen" just before login
  2012-02-03  9:15 [gentoo-user] How to remove the "clear screen" just before login Helmut Jarausch
@ 2012-02-03 16:38 ` Dale
  2012-02-03 16:55 ` Canek Peláez Valdés
  2012-02-03 22:11 ` [gentoo-user] " Neil Bothwick
  2 siblings, 0 replies; 6+ messages in thread
From: Dale @ 2012-02-03 16:38 UTC (permalink / raw
  To: gentoo-user

Helmut Jarausch wrote:
> Hi,
> 
> 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.
> 
> Many thanks for a hint,
> Helmut.
> 
> 


I like this myself but I do find myself in your situation sometimes.
Try here:

/etc/bash/bash_login

Hope that helps.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] How to remove the "clear screen" just before login
  2012-02-03  9:15 [gentoo-user] How to remove the "clear screen" just before login Helmut Jarausch
  2012-02-03 16:38 ` Dale
@ 2012-02-03 16:55 ` Canek Peláez Valdés
  2012-02-03 18:55   ` Philip Webb
  2012-02-03 22:11 ` [gentoo-user] " Neil Bothwick
  2 siblings, 1 reply; 6+ messages in thread
From: Canek Peláez Valdés @ 2012-02-03 16:55 UTC (permalink / raw
  To: gentoo-user

On Fri, Feb 3, 2012 at 3:15 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> Hi,
>
> 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?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] How to remove the "clear screen" just before login
  2012-02-03 16:55 ` Canek Peláez Valdés
@ 2012-02-03 18:55   ` Philip Webb
  2012-02-03 22:09     ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 1 reply; 6+ messages in thread
From: Philip Webb @ 2012-02-03 18:55 UTC (permalink / raw
  To: gentoo-user

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' ?
(2) what do we put in  bash_login ? -- 'man bash' doesn't help.

I'm still using earlier versions of Openrc & Util-linux
& don't want to encounter this when they hit stable.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: How to remove the "clear screen" just before login
  2012-02-03 18:55   ` Philip Webb
@ 2012-02-03 22:09     ` Nikos Chantziaras
  0 siblings, 0 replies; 6+ messages in thread
From: Nikos Chantziaras @ 2012-02-03 22:09 UTC (permalink / raw
  To: gentoo-user

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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] How to remove the "clear screen" just before login
  2012-02-03  9:15 [gentoo-user] How to remove the "clear screen" just before login Helmut Jarausch
  2012-02-03 16:38 ` Dale
  2012-02-03 16:55 ` Canek Peláez Valdés
@ 2012-02-03 22:11 ` Neil Bothwick
  2 siblings, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2012-02-03 22:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

On Fri, 03 Feb 2012 10:15:31 +0100, 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.

Edit /etc/inittab and change

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


to

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

It is mentioned in an elog message.


-- 
Neil Bothwick

Make it idiot proof and someone will make a better idiot.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-02-03 22:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-03  9:15 [gentoo-user] How to remove the "clear screen" just before login Helmut Jarausch
2012-02-03 16:38 ` Dale
2012-02-03 16:55 ` Canek Peláez Valdés
2012-02-03 18:55   ` Philip Webb
2012-02-03 22:09     ` [gentoo-user] " Nikos Chantziaras
2012-02-03 22:11 ` [gentoo-user] " Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox