-
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
IBM System X3650 M4 Server 2x Xeon 32 GB RAM NO HDD NO OS
$215.00
IBM S822LC 8335-GCA Power 8 2U Server 2xPower8 8core/64t 256gb RAM Tested
$493.45
IBM System x3650 M3 7945AC1 Server INTEL XEON E5620 2.4GHz 4GB
$59.00
IBM 520 8203-E4A Power Systems Server PowerPC Dual-Core 4.2GHZ 16GB SEE NOTES
$240.00
IBM EServer Xseries 220 Desktop
$160.00
IBM SYSTEM X3550 M4 7914AC1 Server INTEL XEON E5-2609 0 2.4GHz 8GB
$78.78
IBM System X 3550 M3 Server 124GB RAM Dual 2.67GHz Xeon Six Core X5650 No HDD
$79.95
Lenovo x3550 M5 Server - 180Gb SSD/3x300Gb SAS, 64GB Ram, 2x 8c CPUs, Proxmox
$240.00
IBM x3650 M3, 7945-AC1, 40GB, XEON e5507, 2.26ghz x2 with RAID Card, No HDD
$149.40
Lot of 24 IBM 4U QPI Server Cables 59Y4797 Used, Untested, Genuine IBM Products
$250.00