Thursday, 17 January 2019 .::. Your IP: 54.205.211.87 
Home Operation Systems How to make Home and End keys work on FreeBSD with BASH

How to make Home and End keys work on FreeBSD with BASH


First what you have to do is run this command in ssh when you are in your home folder.

echo "export INPUTRC=/etc/inputrc" >> .profile

The create the /etc/inputrc file with the following content:
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[3~": delete-char #delete
"\eOd": backward-word #ctl-leftarrow
"\eOc": forward-word #ctl-rightarrow


Of course the path /etc/inputrc is optional. You can name the file differently. You can place it at you HOME folder also, it is up to you.

You need to log out and log back in order the changes to take effect.


Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Facebook! Slashdot! StumbleUpon! TwitThis Joomla Free PHP