[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing console cursor



Juha Erkkila <erkkila@st.jyu.fi> writes:

> i'm looking for a way i can get rid of the blinking underline cursor
> on console screen.  i'm wishing to have something like a red
> non-blinking block, something that can be achieved with:
> 
> 	echo -e '\033[?17;7;64c'
> 
> the problem is that programs like mutt and vim are happy to reset the
> cursor back to the usual blinking one.  can the cursor somehow be
> permanently set to some other shape?  or rather, is it easy?

If you are using bash, you can put the above echo command in the shell
variable PROMPT_COMMAND, causing it to be run immediately before the
shell prints a prompt.

-- 

Leonard Stiles <ljs@uk2.net>



Reply to: