-
How to set bash / nano cursor
Sorry - possibly the most naive question it is possible to ask.
I've searched this forum and got a flood of hits from Google (and have tried the simplest solution described below) but still not got quite what I would prefer.
In the rawest possible Knoppix console (i.e. init 1) what I assume to be the default cursor (since I haven't changed or asked for anything else) is a blinking underline.
This persists into nano, my preferred text editor.
In both cases I prefer a non-blinking full-height block with the added property that when superimposed over a character as when editing a command line in bash or editing text in an editor, that character "shows through". i.e. the solid cursor is also transparent.
I tried the command
echo 0 > /sys/module/vt/parameters/cur_default
at the command-line which seemed to have some effect (blinking block which is halfway there) and other instructions echo 1, echo 2, .. had different effects e.g. half-height block but (a) none of them were what I was actually wanting and (b) the effect did not seem to be immediate but occurred at some short interval later. (Yes? My perceptions are surely faulty.)
Is this even the beginnings of the right approach?
If so can you tell me the correct echo n?
Do I need to issue the command not at the command line but in /etc/profile? .. or in ~/.bashrc or .. ?
I guess the nano requirement should be managed separately. (But it might carry over.)
Thank you!
PS In the bash console emulator "mintty" in Cygwin, the solid transparent unblinking full-height cursor is the default and persists into nano. Wish I knew how to mimic it in Knoppix.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Apple Macintosh 128k Logic Board 1983 in Shadow Box
$350.00
Apple Macintosh 128K M0001 Computer with Mouse, no keyboard. Case included. 1984
$486.82
Vintage Apple Macintosh Plus 1MB RAM, fan on top, powers on, Mac 128K case front
$70.00
RARE 1984 Macintosh 128K M0001 MacWrite MacPaint BOX Set 1st Mac Software WORKS
$162.99
Macintosh Platinum Mouse - Apple 128K 512K 512Ke Mac Plus Lisa IIe M0100 - NEW
$49.99
Vintage Apple RAM chips 128K Gold EDH4128-15
$125.00
Macintosh Mouse - Apple 128K 512K 512Ke Mac Plus Lisa, FULLY TESTED AND WORKING
$49.99
Vintage Apple Macintosh Classic 128K Application On New 400K Double Density Disk
$26.99
1984 Macintosh 128K Mac M0001 EMPTY CASE Housing SHELL ONLY Steve Jobs Mac NICE
$200.00
Apple Macintosh 1MB Working Computer With Carrying Case And Floppy Disk Drive
$800.00