1 |
On 02/03/2012 08:55 PM, Philip Webb wrote: |
2 |
> 120203 Canek Peláez Valdés wrote: |
3 |
>> On Fri, Feb 3, 2012 at 3:15 AM, Helmut Jarausch wrote: |
4 |
>>> I'm using openrc (0.9.8.4) and I don't use any (graphical) login manager. |
5 |
>>> After some upgrade of openrc -- not too long ago -- |
6 |
>>> something clears the screen just before I'm offered to log in. |
7 |
>>> But I'd like to see the last messages of openrc. |
8 |
>>> What gets executed just before I can login? |
9 |
>>> Or, where can I stop blanking the terminal just before login. |
10 |
>> From util-linux-2.20.1-r1.ebuild: |
11 |
>> |
12 |
>> pkg_postinst() { |
13 |
>> elog "The agetty util now clears the terminal by default. You" |
14 |
>> elog "might want to add --noclear to your /etc/inittab lines." |
15 |
>> } |
16 |
>> |
17 |
>> Maybe it's this? |
18 |
> |
19 |
> 120203 Dale wrote: |
20 |
> |
21 |
>> I like this myself but I do find myself in your situation sometimes. |
22 |
>> Try here: /etc/bash/bash_login . |
23 |
> |
24 |
> Both replies are interesting, but incomplete : |
25 |
> (1) to which line in inittab do we add '--noclear' ? |
26 |
|
27 |
To the line for the terminal you don't want to be cleared. I only added |
28 |
it to tty1: |
29 |
|
30 |
c1:12345:respawn:/sbin/agetty 38400 tty1 linux --noclear |
31 |
|
32 |
|
33 |
> (2) what do we put in bash_login ? -- 'man bash' doesn't help. |
34 |
|
35 |
Nothing you would put there would help. It's about preventing the |
36 |
clearing of the terminal. There's nothing you can do after it has been |
37 |
cleared. |