LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-17-2022, 09:11 AM   #1
BudiKusasi
Member
 
Registered: Apr 2017
Distribution: Artix
Posts: 345

Rep: Reputation: 15
How the bash reset in a shortcut of bind not working


How is it the bash reset in a shortcut e.g. alt-0 in bind not working

Code:
bind -x '"\e0":"reset"'
show the correct solution.
 
Old 09-17-2022, 10:18 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,623

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Did you check the bind command line options in your BASH man page? (It is under SHELL BUILTIN COMMANDS.) I am not sure how often anythign changes there, but almost certainly your version and mine will differ in version number.

You might also check some of the HOW-TO pages about bind.

I find that only things that can be actually typed (which includes all function keys and some meta key combinations, but not all) will work properly. Use CTRL-V and the key sequence to view the codes. I find that on my setup ALT-0 does not output a code that can be used by bind.

Why do you want to bind that particular sequence to that particular code? Will something else work as well?

Last edited by wpeckham; 09-17-2022 at 10:20 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I made a global shortcut to block an unwanted in-application shortcut newbiesforever LinuxQuestions.org Member Success Stories 0 07-22-2018 07:49 PM
Reset Terminal shortcut Acnologia Linux - General 5 02-04-2018 11:36 AM
[SOLVED] BIND~~ Bind working on Localhost but not not working from remotehost abhishekdixit98 Linux - Server 7 09-01-2015 04:04 AM
Install ruby gems - connection reset, connection reset..... deco81 Linux - Software 1 06-16-2010 04:47 PM
[KDE]Shortcut Icons smaller, Shortcut And Tray icons on 2 lines xeross Linux - Newbie 2 04-10-2008 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration