{"id":4423,"date":"2015-12-09T14:22:51","date_gmt":"2015-12-09T14:22:51","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=4423"},"modified":"2019-07-23T10:33:57","modified_gmt":"2019-07-23T10:33:57","slug":"freebsd-bash-key-bindings","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=4423","title":{"rendered":"FreeBSD bash Key Bindings"},"content":{"rendered":"<p><a href=\"http:\/\/www.cyberciti.biz\/tips\/freebsd-how-to-customized-home-del-insert-keys-for-bash-shell.html\">FreeBSD: Customize Home, Del, Insert keys for BASH shell<\/a><br \/>\n<a href=\"http:\/\/www.linuxfromscratch.org\/lfs\/view\/stable\/chapter07\/inputrc.html\">Creating the \/etc\/inputrc File<\/a><br \/>\n<a href=\"http:\/\/www.softpanorama.org\/Scripting\/Shellorama\/Bash_as_command_interpreter\/inputrc.shtml\">Readline and inputrc<\/a><br \/>\n<a href=\"https:\/\/unix.stackexchange.com\/questions\/231726\/how-do-i-convert-inputrc-settings-to-bashrc-ones\">How do I convert inputrc settings to bashrc ones?<\/a><\/p>\n<blockquote><p>The <code>\/etc\/inputrc<\/code> file deals with mapping the keyboard for specific situations. This file is the start-up file used by <code>readline<\/code>, the GNU command line editing library used by <code>Bash<\/code>, <code>perl <\/code>and most other open source programs.<\/p><\/blockquote>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# vi \/etc\/profile\r\nexport INPUTRC=\/usr\/local\/etc\/inputrc\r\n\r\n# vi \/usr\/local\/etc\/inputrc\r\nset meta-flag on\r\nset input-meta on\r\nset convert-meta off\r\nset output-meta on\r\n&quot;\\e&#x5B;1~&quot;: beginning-of-line\r\n&quot;\\e&#x5B;4~&quot;: end-of-line\r\n&quot;\\e&#x5B;5~&quot;: beginning-of-history\r\n&quot;\\e&#x5B;6~&quot;: end-of-history\r\n&quot;\\e&#x5B;3~&quot;: delete-char\r\n&quot;\\e&#x5B;2~&quot;: quoted-insert\r\n&quot;\\e&#x5B;5C&quot;: forward-word\r\n&quot;\\e&#x5B;5D&quot;: backward-word\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>FreeBSD: Customize Home, Del, Insert keys for BASH shell Creating the \/etc\/inputrc File Readline and inputrc How do I convert inputrc settings to bashrc ones? The \/etc\/inputrc file deals with mapping the keyboard for specific situations. This file is the start-up file used by readline, the GNU command line editing library used by Bash, perl [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4423","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4423"}],"version-history":[{"count":4,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4423\/revisions"}],"predecessor-version":[{"id":9818,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4423\/revisions\/9818"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}