reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia
Home >> OS >> Unix >> SSH >>

Make Home, End keys work on FreeBSD with BASH [1/1]

Type: Code reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia
Make Home, End keys work on FreeBSD with BASH
Level: Beginner reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia 
Make Home, End keys work on FreeBSD with BASH
Date: 2007-Nov-05
Make Home, End keys work on FreeBSD with BASH
Visited: 1226 times
Make Home, End keys work on FreeBSD with BASH
Rating: Make Home, End keys work on FreeBSD with BASH
Make Home, End keys work on FreeBSD with BASH
Author: Stephen Think
This tutorial will explain you how to make Home and End keys work in ssh when you use bash as your shell.

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.

Rate this tutorial:                    
reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia - Make Home, End keys work on FreeBSD with BASH [1/1] - reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia

Need a specific tutorial? Do not hesitate and submit a request!
Keywords: remote desktop port  change remote desktop port  rdp port number  remote desktop port number  RDP port  function overloading in c++  change RDP port  exception handling in C++  rdp ports  remote desktop ports  function overloading  remote desktop port change  Trillian webcam  windows remote desktop port  remote desktop change port  exception handling c++  how to change remote desktop port  change remote desktop port number  function overloading c++  check my windows version