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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-19-2015, 08:41 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
bash: key bindings for Home and End.


I have read the READLINE section in bash. Also I know some default key bindings like alt-b and alt-f to move one word ahead/backwards and alt-d to erase a word. What would be an example of an inputrc file to simulate the effect of the Home and End keys?

EDIT: looking into the man page for readline and /etc/inputrc I could see cntrl-A and cntrl-E are the key sequences. This is slackware 14.1-32.

Last edited by stf92; 03-19-2015 at 09:55 AM.
 
Old 03-25-2015, 04:45 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

Response is to take thread off zero reply list.
 
  


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
[SOLVED] Key Bindings for "Home" and "End" Mr. Alex Arch 3 01-25-2011 10:19 AM
how to detect key codes of home/end/pageup/pagedwn/de/ insert keys nathan Programming 6 08-10-2009 07:13 AM
bfd's bash key bindings Kropotkin *BSD 2 01-04-2007 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:13 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