-
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
![SONICWALL TZ270 Network Firewall With Power Cable *READY TO REGISTER* picture](/store/img/Tj4AAOSwzCFmPrMQ/s-l225//SONICWALL-TZ270-Network-Firewall-With-Power-Cable-.jpg)
SONICWALL TZ270 Network Firewall With Power Cable *READY TO REGISTER*
$150.00
![Sophos SG 230 Firewall Security Appliance Ubuntu Server 22.04 LTS 🧡 & VGA-HDMI picture](/store/img/OR8AAOSwlLJmn-3Q/s-l225//Sophos-SG-230-Firewall-Security-Appliance-Ubuntu-S.jpg)
Sophos SG 230 Firewall Security Appliance Ubuntu Server 22.04 LTS 🧡 & VGA-HDMI
$160.00
![SonicWALL TZ300 Network Security Appl FirewallRouter5pt 01-SSC-0215TransferReady picture](/store/img/E70AAOSw~X5mDKN-/s-l225//SonicWALL-TZ300-Network-Security-Appl-FirewallRout.jpg)
SonicWALL TZ300 Network Security Appl FirewallRouter5pt 01-SSC-0215TransferReady
$45.00
![Palo Alto PA-220 Next-Gen Firewall 750-000128-00A w/ Power adapter picture](/store/img/YVoAAOSwfz5mgGAx/s-l225//Palo-Alto-PA-220-Next-Gen-Firewall-750-000128-00A-.jpg)
Palo Alto PA-220 Next-Gen Firewall 750-000128-00A w/ Power adapter
$50.00
![Juniper Networks SRX340 SRX300 Series 8-Port Security Firewall Tested picture](/store/img/NU8AAOSwQB5mmopY/s-l225//Juniper-Networks-SRX340-SRX300-Series-8-Port-Secur.jpg)
Juniper Networks SRX340 SRX300 Series 8-Port Security Firewall Tested
$129.00
![(New) Cisco ASA 5505 Fast Ethernet Firewall Security Appliance VPN picture](/store/img/9v4AAOSwk3pmoT77/s-l225//-New-Cisco-ASA-5505-Fast-Ethernet-Firewall-Securit.jpg)
(New) Cisco ASA 5505 Fast Ethernet Firewall Security Appliance VPN
$30.00
![CISCO ASA5505 SECURITY FIREWALL/ No power Cable picture](/store/img/AYUAAOSwCklmoX8e/s-l225//CISCO-ASA5505-SECURITY-FIREWALL-No-power-Cable.jpg)
CISCO ASA5505 SECURITY FIREWALL/ No power Cable
$25.00
![OPNsense six-port Gigabit router / firewall on Palo Alto ION 2000 hardware picture](/store/img/c6oAAOSwDnNmmyyP/s-l225//OPNsense-six-port-Gigabit-router-firewall-on-Palo-.jpg)
OPNsense six-port Gigabit router / firewall on Palo Alto ION 2000 hardware
$69.00
![1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture](/store/img/fxsAAOSwZD5l6PSG/s-l225//1U-BareMetal-pfsense-opnsense-Router-Firewall-DNS-.jpg)
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
![Fortinet FortiGate 60E Network Security Firewall No Power Cord picture](/store/img/YvIAAOSw8LVmGymA/s-l225//Fortinet-FortiGate-60E-Network-Security-Firewall-N.jpg)
Fortinet FortiGate 60E Network Security Firewall No Power Cord
$56.00