Messages in this thread | | | Date | Tue, 22 Mar 2005 21:06:16 +0100 | From | Andries Brouwer <> | Subject | Re: SVGATextMode on 2.6.11 |
| |
> "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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |