-
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
Cisco B200 M4 Two E5-2660V3 64GB-16 Blade Server 2x SFF VIC1240 UCS-MR-1X162RU
$31.22
Dell PowerEdge FX2S FC830 Blade Server Chassis Enclosure 2*2000W PSU NO BLADES
$209.99
Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric
$139.99
CISCO UCSB-B200-M3 UCS B200 M3 BLADE SERVER 2x Xeon E5-2650 2GHz 256GB RAM
$135.20
Dell PowerEdge FC830 blade server with 4x processors E5-4669v3 no memory
$189.00
ZimaBoard 432 Single Board Server / SATA Y adapter / DisplayPort to HMDI adapter
$90.00
Dell PowerEdge M630 / HHB Server Module w 2x Intel E5-2680 & Dell P3V42 No HDD
$64.99
Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD
$60.00
HPE ProLiant BL460c Gen8 735151-B21 E5-v2 Blade Server LOADED w 512 GIGS MEMORY
$280.00
Cisco UCS 5108 Blade Server Chassis Enclosure 8x B200 M4 16x E5-2640v3 128gb
$574.99