-
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

Dell Poweredge R730xd 24SFF 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w
$194.99

Dell Poweredge R630 2x Xeon E5-2670 v3 2.3ghz 24-Cores 32gb 180GB SSD 495w
$174.99

Dell PowerEdge R630 Server 2x E5-2697v3 2.60Ghz 28-Core 128GB H730P Rails
$278.45

Dell PowerEdge R730 Server w Trays 128Gb 2x12c=24c CPUs 80Gb SSD/2x4Tb Proxmox
$400.00

Dell PowerEdge R230 Xeon E3-1230 V5 3.40GHz 32GB RAM NO HDD
$129.99

Dell Poweredge R730xd 26-Bay SFF | 2x E5-2690 v3 2.6ghz 24-Cores | 64GB | H730
$189.99

DELL EMC POWEREDGE T340 Server 8 BAY 3.5" 32GB H730 2 SSD Win COA IDRAC 9 Ent
$799.00

Dell Poweredge R620 2x E5-2670 2.6ghz 16-Cores / 32gb / H710 / 2x Trays / 750w
$134.99

Dell R640 8x 2.5" SFF Server iDRAC - Wholesale Custom Build Your Server
$289.99

Dell PowerEdge R630 8 Bay SFF 1U Server - Wholesale Custom Build Your Server
$190.99