lkml.org 
[lkml]   [2005]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Screen regen buffer at 0x00b8000
On Mon, 23 May 2005, [ISO-8859-2] Gábor Lénárt wrote:

> Hello,
>
> On Fri, May 20, 2005 at 04:17:43PM -0400, Richard B. Johnson wrote:
>> Well I started out opening /dev/vcs, lseeking to 64, and writing
>> a string. This "sort of" worked, but screen attributes got messed
>> up so the "blue" screen attribute 0x17 ended up eventually being
>> black.
>
> /dev/vcsa != /dev/vcs !!!!
>
> There are two different devices, as far as I remember, one is only for
> the characters itself on the console, and one includes attributes as well ...
>
> FYI Documentation/devices.txt:
>
> 0 = /dev/vcs Current vc text contents
> 1 = /dev/vcs1 tty1 text contents
> [...]
> 128 = /dev/vcsa Current vc text/attribute contents
> 129 = /dev/vcsa1 tty1 text/attribute contents
>
> - Gábor
>

Thanks, I'll check this out.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.11.9 on an i686 machine (5554.17 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
\
 
 \ /
  Last update: 2005-05-23 21:00    [W:0.083 / U:0.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site