linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: James Simmons <jsimmons@infradead.org>
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [BUG] 2.5.69 - no setfont and loadkeys on tty > 1
Date: Thu, 15 May 2003 00:42:12 +0200	[thread overview]
Message-ID: <20030514224212.GA8124@elf.ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.44.0305142248040.13403-100000@phoenix.infradead.org>

Hi!

> > > > > I'am wondering why setfont and loadkeys in setting only on first tty.
> > > > > It works (setting font map on all six tty) in 2.{2,4}.x.
> > > > > 
> > > > > I'am using _radeonfb_ with rv250if, could it be the reason?
> > > > 
> > > > FYI, its same as vesafb here.
> > > 
> > > Try this patch. If it works I will pass it on to linus. thank you.
> > 
> > Does not work. Setfont still only changes tty it is run on.
> 
> This is because I nuked a few global variables. Video_font_height and 
> video_scan_line where global variables. When you changed fonts it affected
> every terminal. Now you might think this is correct behavior but what 
> about systems with more than one graphics card. Say for example vgacon and 
> fbcon. Now for vgacon you can't change the width of your fonts but for 
> fbcon you can. So changing this global variable caused havoc for the VGA 
> text mode display. 

Well, it would be nice to set the default for newly created consoles.

Perhaps you need to make old ioctls 2.4.X compatible and introduce new
ioctl that sets only "this" console?

> > There are more problems. Emacs changes cursor to "more visible" one,
> > this somehow leaks between ttys.
> 
> Hm. I can't seem to reproduce this problem.

Do this:

pavel@amd:~$ echo -e '\e[?8c'

Notice cursor changes to block. Switch to another console. Oops, block
cursor, too.

> > Last but not least: Try this on your tty:
> > 
> > echo -e "\33[10;5000]\33[11;50]\33[?18;0;136c\33[?102m"
> > 
> > It is supposed to start "softcursor". Unfortunately, with 2.5.68+
> > softcursor is not cleared properly. Try typing foo^H^H^H in bash
> > :-(. [Or try most /some/file]. 
> 
> I see. Only moving the cursor to the left cause this problem. Moving right 
> is okay. Also hitting enter shows this problem. This is strange. It 

Its not. Its software generated cursor, and it is only drawn, not
properly hidden. Thats why it behaves like that.

> appears the flashing is the issue. I will see if a hardware cursor
> also has

Don't let flashing confuse you. Set it to the red block and you'll see
problem better.

>     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.
								Pavel
-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

  reply	other threads:[~2003-05-14 22:31 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 [this message]
2003-05-14 23:16           ` James Simmons
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=20030514224212.GA8124@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=jsimmons@infradead.org \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).