From: James Simmons <jsimmons@infradead.org>
To: Pavel Machek <pavel@ucw.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>,
Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: [BUG] 2.5.69 - no setfont and loadkeys on tty > 1
Date: Thu, 15 May 2003 00:16:27 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.44.0305142346380.14201-100000@phoenix.infradead.org> (raw)
In-Reply-To: <20030514224212.GA8124@elf.ucw.cz>
> Well, it would be nice to set the default font for newly created fonts
> Perhaps you need to make old ioctls 2.4.X compatible and introduce new
> ioctl that sets only "this" console?
PIO_FONTRESET ioctl which is old and the flag KD_FONT_OP_SET_DEFAULT.
I have to look at the setfont code to see if it sets this flag. I bet
it doesn't. I don't see a flag to tell setfont to use this font as the
default font for all terminals :-( The good news is you can tell which tty
to change the fonts on (-c /dev/ttyX). So setfont has the idea of setting
a single tty but due to a bug in the console layer it set all terminals.
I guess we need to update setfont for setting all terminals.
> Do this:
>
> pavel@amd:~$ echo -e '\e[?8c'
>
> Notice cursor changes to block. Switch to another console. Oops, block
> cursor, too.
Ug!!!! I have cursor_shape in struct display for this reason. Will have to
trace to find the problem.
> > appears the flashing is the issue. I will see if a hardware cursor
> > also has
Your right. I realize my logic error. I was literally thinking too black
and white. In the case of a cursor that is a white thin line at the bottom
and a grey background. That is whole cursor image!! The mask should be
the font image to be drawn.
You can think of it as the cursor being a big grey cookie with white
frosting decoration on the bottom. Then I come with my font shape cookie
cutter and cut it out.
> > KDGKBDTYPE. (Wow, I can't believe we still have this. It should die)
>
> What is that? I can not see it in 2.5.X.
Line 420 in vt_ioctl.c.
next prev parent reply other threads:[~2003-05-14 23:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-09 11:33 [BUG] 2.5.69 - no setfont and loadkeys on tty > 1 Damian Kołkowski
2003-05-11 17:38 ` Pavel Machek
2003-05-12 21:25 ` James Simmons
2003-05-13 13:06 ` Damian Kołkowski
2003-05-14 12:09 ` Pavel Machek
2003-05-14 22:19 ` James Simmons
2003-05-14 22:42 ` Pavel Machek
2003-05-14 23:16 ` James Simmons [this message]
2003-05-15 0:10 ` Pavel Machek
2003-05-14 22:45 ` Pavel Machek
2003-05-15 2:44 ` Andries Brouwer
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=Pine.LNX.4.44.0305142346380.14201-100000@phoenix.infradead.org \
--to=jsimmons@infradead.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/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;
as well as URLs for NNTP newsgroup(s).