mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andries Brouwer <aebr@win.tue.nl>
To: Andrew Morton <akpm@osdl.org>
Cc: Alan Curry <pacman-kernel@manson.clss.net>,
	linux-kernel@vger.kernel.org, Egbert Eich <eich@freedesktop.org>
Subject: Re: SVGATextMode on 2.6.11
Date: Tue, 22 Mar 2005 21:06:16 +0100	[thread overview]
Message-ID: <20050322200616.GA4583@pclin040.win.tue.nl> (raw)
In-Reply-To: <20050321141859.22623bf1.akpm@osdl.org>

> "Alan Curry" <pacman-kernel@manson.clss.net> wrote:
>>
>> With 2.6.11, I can no longer change the cursor with SVGATextMode. Previously,
>> a block cursor could be selected by
>>   echo Cursor 0-31 >> /etc/TextConfig ; SVGATextMode
>> and the cursor would be a block. On all consoles. Forever.
>> 
>> To accomplish the same thing using the softcursor escape sequences, I must:
>> 1. at boot, echo '^[[?8c' to each of /dev/tty1 through /dev/tty63.
>> 2. hack terminfo to contain ^[[?8c in place of ^[[?0c
>> 3. install the hacked terminfo on all other machines that I will log into
>> remotely
>> 
>> This still isn't quite right: the reset sequence ^[c destroys the block
>> cursor because the underline cursor is still the default.

Have you tried to recompile with a different default?
Look at <linux/console_struct.h>, and change the line
	#define CUR_DEFAULT CUR_UNDERLINE
to e.g.
	#define CUR_DEFAULT CUR_BLOCK

>> An SVGATextMode
>> block cursor isn't affected by ^[c -- it truly *becomes* the default

True - it is obtained by hardware reprogramming. But having lots of programs
touch the hardware is getting less popular.


Concerning your 1. - You know that such an echo actually creates the VC?
I still recall the times that there was not enough memory for more than
four or five VCs, but probably you don't mind wasting a few hundred kB.

Andries

  reply	other threads:[~2005-03-22 20:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-02 22:38 Alan Curry
2005-03-21 22:18 ` Andrew Morton
2005-03-22 20:06   ` Andries Brouwer [this message]
2005-03-22 21:31     ` Alan Curry
     [not found] <no.id>
2005-03-04 23:33 ` Alan Curry

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=20050322200616.GA4583@pclin040.win.tue.nl \
    --to=aebr@win.tue.nl \
    --cc=akpm@osdl.org \
    --cc=eich@freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pacman-kernel@manson.clss.net \
    /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

all inboxes | Powered by JetHome®