Solved

Change cursor from _ underscore type to Block Type?

Posted on 2000-02-15
4
807 Views
Last Modified: 2006-11-17
In redhat 6.0, is there a way to tell the os to use the Block cursor instead of the underscore cursor?  Please leave instructions on how to set this up.
0
Comment
Question by:Nikmis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Expert Comment

by:alien_life_form
ID: 2530452

If your concern is with the console
cursor, one way to change it is
SVGATextMode (which is on the RH CD,
but may not be installed by default).

The sample TextConfig configuration file
has a (commented) option to switch the
cursor from underline to blck (look for a line starting with Cursor).

Since SVGATextMode comes with a number of preconfigured modes, and a default that's reasonable for most video cards
(80x25), you can just uncomment the relevant Cursor line, and arrange SVGATextMode to be called ASAP (I stuck mine in /etc/rc.d/rc.local). If you want this to be a per-user thing, then you'll have to make SVGATextMode SUID root, but I doubt this is a good idea.

OTOH, if XWindows terminal emulators is what we are talking about, then I think the answer depends on the particular app.
0
 
LVL 3

Accepted Solution

by:
alien_life_form earned 70 total points
ID: 2530453

If your concern is with the console
cursor, one way to change it is
SVGATextMode (which is on the RH CD,
but may not be installed by default).

The sample TextConfig configuration file
has a (commented) option to switch the
cursor from underline to blck (look for a line starting with Cursor).

Since SVGATextMode comes with a number of preconfigured modes, and a default that's reasonable for most video cards
(80x25), you can just uncomment the relevant Cursor line, and arrange SVGATextMode to be called ASAP (I stuck mine in /etc/rc.d/rc.local). If you want this to be a per-user thing, then you'll have to make SVGATextMode SUID root, but I doubt this is a good idea.

OTOH, if XWindows terminal emulators is what we are talking about, then I think the answer depends on the particular app.
0
 
LVL 2

Expert Comment

by:Reinier
ID: 2531500
To get normal blinking underline, use: echo -e '\033[?2c'
To get blinking block, use:            echo -e '\033[?6c'
To get red non-blinking block, use:    echo -e '\033[?17;0;64c'

( From  /usr/src/linux/Documentation/VGA-softcursor.txt. )

These work in the console only, so put them in your .bashrc like this


if [ "$TERM" == "linux" ] ; then
      echo -e '\033[?17;0;64c'
fi
0
 

Author Comment

by:Nikmis
ID: 2559513
It is a Terminal emulations program, and I figured out how to set it.  So I did not get the chance to try your other suggestions.
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question