-
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

SQL Server 2019 Standard (10 CAL) - Windows and Linux, Physical License NEW
$178.45

Dell Poweredge 2950 two Xeon E5320 quad core CPUs, 16GB RAM, 8-2.5" HHD 146GB ea
$95.00

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$169.00

LG Pro Centric Server Model PCS150R
$1100.00

IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E
$479.96

Supermicro 4U AI Deep Learning Server 6x 32GB MI60 GPU INSTALLED - Ready to Use
$8955.00

The Complete Redhat Linux 5.2 Operating System Deluxe Secure Server Partial Seal
$33.99

IBM X3200 M3 Tower Server Intel Xeon X3450 2.67GHz 2GB 2*500 Gb Hdd Linux AS IS
$60.00

Ubuntu Linux Mini PC,Intel N95 16GB RAM 512GB SSD Mini Server Computers,Micro...
$341.99

1U Open Source Router Firewall X10SLH-N6-ST031 E3-1270 V3 6x 10GB Ethernet 16GB
$399.00