-
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 Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch picture](/store/img/g/d3AAAOSw35dlrsCo/s-l225/Cisco-Nexus-N9K-C92160YC-X-48P-25GbE-SFP28-6P-QSFP.jpg)
Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch
$499.00
![Cisco Nexus N3K-C3064PQ-10GX 48P 10GbE SFP+ 4P QSFP+ Switch (Fair) picture](/store/img/g/K9MAAOSw-4JmfV3v/s-l225/Cisco-Nexus-N3K-C3064PQ-10GX-48P-10GbE-SFP-4P-QSFP.jpg)
Cisco Nexus N3K-C3064PQ-10GX 48P 10GbE SFP+ 4P QSFP+ Switch (Fair)
$85.00
![Cisco Nexus N3K-C3172PQ-10GE 48P 10GbE 6P QSFP+ Switch N3K-C3172PQ-10GE picture](/store/img/g/FnMAAOSwAO9lrsAL/s-l225/Cisco-Nexus-N3K-C3172PQ-10GE-48P-10GbE-6P-QSFP-Swi.jpg)
Cisco Nexus N3K-C3172PQ-10GE 48P 10GbE 6P QSFP+ Switch N3K-C3172PQ-10GE
$189.00
![Cisco C9300-NM-8X Catalyst 9300 8 x 10GE Network Module Switch picture](/store/img/g/ro8AAOSwsZFmhKer/s-l225/Cisco-C9300-NM-8X-Catalyst-9300-8-x-10GE-Network-M.jpg)
Cisco C9300-NM-8X Catalyst 9300 8 x 10GE Network Module Switch
$375.00
![Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture](/store/img/g/yEAAAOSwxVReIhma/s-l225/Cisco-C3850-NM-2-10G-2-Port-Network-Exp-Module-for.jpg)
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$30.99
![🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥 picture](/store/img/g/KTkAAOSwcmBisISE/s-l225/-CISCO-SFP-10G-SR-V03-10-2415-03-850nm-10GBASE-SR-.jpg)
🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥
$6.80
![GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03 picture](/store/img/g/tAkAAOSwdENkHItI/s-l225/GENUINE-Cisco-SFP-10G-SR-V03-SFP-GBIC-Transceiver-.jpg)
GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03
$6.80
![Cisco C3850-NM-4-10G 4 Port Network Exp.Module for 3850 picture](/store/img/g/qPUAAOSwuOJd2AEx/s-l225/Cisco-C3850-NM-4-10G-4-Port-Network-Exp-Module-for.jpg)
Cisco C3850-NM-4-10G 4 Port Network Exp.Module for 3850
$139.99
![Cisco Nexus 48-Port 10G SFP+ Switch N9K-93128TX w/ 9K-M12PQ 12-Port 40G QSFP picture](/store/img/g/IwQAAOSw5A9mS3oa/s-l225/Cisco-Nexus-48-Port-10G-SFP-Switch-N9K-93128TX-w-9.jpg)
Cisco Nexus 48-Port 10G SFP+ Switch N9K-93128TX w/ 9K-M12PQ 12-Port 40G QSFP
$112.49
![Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack picture](/store/img/g/cqoAAOSwtYVmS7LQ/s-l225/Cisco-WS-C2960X-48FPD-L-48-V07-POE-GE-2-10G-SFP-LA.jpg)
Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack
$110.00