You are not logged in.

#1 2006-11-06 00:04:48

spookykid
Member
From: Portugal
Registered: 2006-07-23
Posts: 141

[ SOLVED ] Change virtual console cursor

Hi, i'm trying to change my virtual console default _ to a blinking block cursor. I was wandering if that would be possible. I've searched through google and looked at setterm man page but couldn't find anything. Thank you.


There is no knowledge that is not power!

Offline

#2 2006-11-06 04:39:46

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [ SOLVED ] Change virtual console cursor

there's an escape sequence you can use,

echo -ne '33[?6c'                            # flashing prompt on VT

chuck that in your bashrc.

James

Offline

#3 2006-11-06 12:42:43

spookykid
Member
From: Portugal
Registered: 2006-07-23
Posts: 141

Re: [ SOLVED ] Change virtual console cursor

that's what i wanted. thank you!  big_smile


There is no knowledge that is not power!

Offline

#4 2006-11-06 16:05:37

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [ SOLVED ] Change virtual console cursor

Because this took me a good 5 days to find:
man console_codes

Offline

#5 2006-11-06 23:04:23

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [ SOLVED ] Change virtual console cursor

phrakture wrote:

Because this took me a good 5 days to find:
man console_codes

heh, i found it referenced somewhere in the kernel source. the flashing block actually used to be the default cursor.

James

Offline

Board footer

Powered by FluxBB