-
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 VRTX Blade Server Enclosure Chassis NO HDD NO OS Power Tested
$446.99
HPE ProLiant BL460c Gen8 735151-B21 E5-v2 Blade Server LOADED w 512 GIGS MEMORY
$280.00
PowerEdge M630 (for PowerEdge VRTX) Xeon E5-2630 v3 256GB RAM NO SSD/OS
$239.99
DELL PowerEdge M630 Blade 2x E5-2620v4 2.1GHz 16 Cores H330 Choose RAM
$147.00
Dell Poweredge R210 II Server Xeon E3-1230 3.2ghz Quad 16GB No HDD 2x HDD Caddy
$55.00
Dell PowerEdge FX2S 4-Node Blade Server Chassis + 4x FC640 Blades & 2x 2400w PSU
$599.99
Dell PowerEdge M630 / HHB Server Module w 2x Intel E5-2680 & Dell P3V42 No HDD
$64.99
Dell MX740c NVMe Blade Server 2x silver 4108 cpu, No Ram Chassis H730P
$259.00
Dell PowerEdge FX2S FC830 Blade Server Chassis Enclosure 2*2000W PSU NO BLADES
$209.99
Dell PowerEdge M610 Blade Server
$80.00