Hi !
I wondered if anyone knows about a 2 lines patch, to keep the linux logo
always displayed in a 2.5.x / 2.6.x kernel ??
I've tried to patch a few lines in fbcon.c, without success :-(
Regards,
--
Ludovic DROLEZ Free&ALter Soft
152, rue de Grigy - Technopole Metz 2000 57070 METZ
tel : 03 87 75 55 21 fax : 03 87 75 19 26
> Hi !
>
> I wondered if anyone knows about a 2 lines patch, to keep the linux logo
> always displayed in a 2.5.x / 2.6.x kernel ??
> I've tried to patch a few lines in fbcon.c, without success :-(
That wouldn't be easy to do. In struct vc_data (data about VC tty device)
you have vc_top and vc_bottom. Normally vc_top is 0 and vc_bottom is that
last row on your screen. For the logo we move vc_top down a little bit.
The problem is after we start minigetty on the various /dev/ttyX as soon
as you VC switch you reintialize the screen to the standard behavior of
vc_top = 0 and vc_bottom is the last row. It would take hacks to the upper
console layer to do that.
You can write a userland app to do this. There are esc sequence
that change vc_top. You could even alter minigetty if you want.
James Simmons wrote:
> You can write a userland app to do this. There are esc sequence
> that change vc_top. You could even alter minigetty if you want.
Many thanks for the esc sequence hint !
But it seems there's something broken with it: if I send 'esc[10;20r'
- the scrolling region is now between lines 10 and 20
- but, the cursor is moved to 0,0 instead of line 10
- and the linux logo does not appear...
Bug or feature ??
--
Ludovic DROLEZ Free&ALter Soft
152, rue de Grigy - Technopole Metz 2000 57070 METZ
tel : 03 87 75 55 21 fax : 03 87 75 19 26
James Simmons wrote:
> You can write a userland app to do this. There are esc sequence
> that change vc_top. You could even alter minigetty if you want.
Many thanks for the esc sequence hint !
But it seems there's something broken with it: if I send 'esc[10;20r'
- the scrolling region is now between lines 10 and 20
- but, the cursor is moved to 0,0 instead of line 10
- and the linux logo does not appear...
Bug or feature ??
--
Ludovic DROLEZ Free&ALter Soft
152, rue de Grigy - Technopole Metz 2000 57070 METZ
tel : 03 87 75 55 21 fax : 03 87 75 19 26
> > You can write a userland app to do this. There are esc sequence
> > that change vc_top. You could even alter minigetty if you want.
>
> Many thanks for the esc sequence hint !
> But it seems there's something broken with it: if I send 'esc[10;20r'
> - the scrolling region is now between lines 10 and 20
Seem right with the esc you used.
> - but, the cursor is moved to 0,0 instead of line 10
Hum. I have to look into that.
> - and the linux logo does not appear...
Bug. Fixed in the latest kernel.
>
> Bug or feature ??
>
>
Hi !
One year ago, I wanted to find a way to keep the linux logo displayed, and I
posted this:
Many thanks for the esc sequence hint !
But it seems there's something broken with it: if I send 'esc[10;20r'
- the scrolling region is now between lines 10 and 20
- but, the cursor is moved to 0,0 instead of line 10
- and the linux logo does not appear...
Bug or feature ??
James Simmons said 'Bug. Fixed in the latest kernel.', but with a 2.6.7, the
escape sequence has the same behavior and the logo does not appear. (cursor
moved to 0,0 instead of line 10).
Any ideas on how to really fix that bug ?
Cheers,
--
Ludovic DROLEZ Free&ALter Soft
152, rue de Grigy - Technopole Metz 2000 57070 METZ
tel : 03 87 75 55 21 fax : 03 87 75 19 26