public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: Pavel Machek <pavel@suse.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>,
	krzysztof.h1@poczta.fm, adaplas@pol.net,
	akpm@linux-foundation.org, torvalds@linux-foundation.org
Subject: Re: 2.6.27-rc1: softcursor behaviour changed
Date: Fri, 08 Aug 2008 10:49:19 +0100	[thread overview]
Message-ID: <489C169F.9030907@eu.citrix.com> (raw)
In-Reply-To: <20080807220755.GA11460@elf.ucw.cz>

Pavel Machek wrote:

>> The problem is not a matter of taste but a matter of correctness: the
>> build_attr function in drivers/char/vt.c stores the blink attribute as
>> the forth bit of the background color.
>> Then in fbcon we are interpreting the same forth bit of the background
>> color as intensity bit.
> 
> ...which works pretty well. We can't reasonably blink in fbcon, so we
> highlight it with bright background, instead. Even old VGA had option
> to do that.
> 
>> My patch fixes that.
> 
> AFAICS high bit is now completely ignored now. That makes it
> useless...

- an application wants to do X
- I don't like X and X is not even implemented here
- let's do Y instead!

I think this is not the correct way of doing things, we could implement
blinking in fbcon instead.
In fact I posted another patch a while ago to implement blinking in
fbcon, but it wasn't accepted, not sure why yet :)
Maybe I'll try to talk with the fbcon devs to understand the problem
better, and reasonably soon you'll be able to see your blinking cursor
in fbcon.

> For example I can no longer see my cursor.
> 
> So, if 2.6.26 behaviour is "incorrect", can you show example where it
> matters, and how your patch "helps"?
> 


We have some ncurses applications that print a blinking white on blue
warning message.
Without the patch the message is static and with a pink background
(applications can change color settings, if they do that only for the
normal colors and not for the intensive colors because they think they
are not using them, this is what happens).


  reply	other threads:[~2008-08-08  9:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05 21:20 2.6.27-rc1: softcursor behaviour changed Pavel Machek
2008-08-07  8:57 ` Pavel Machek
2008-08-07 11:17   ` Stefano Stabellini
2008-08-07 22:07     ` Pavel Machek
2008-08-08  9:49       ` Stefano Stabellini [this message]
2008-08-08 18:17         ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=489C169F.9030907@eu.citrix.com \
    --to=stefano.stabellini@eu.citrix.com \
    --cc=adaplas@pol.net \
    --cc=akpm@linux-foundation.org \
    --cc=krzysztof.h1@poczta.fm \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@suse.cz \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox