Solved

Change cursor from _ underscore type to Block Type?

Posted on 2000-02-15
4
774 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
  • 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why VNC doesn't work in Redhat? 11 61
linux installs 6 60
Error Message during CentOS 7 Minimal Install 3 43
How to update  and reset admin password for Linux 5 55
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

777 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