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: 1383 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!
Related Tags: freebsd home end keys  freebsd bash home end  cshrc home end keys  bindkey home end FreeBSD  bash home,end  make emergency repair disc for xp home  bash make big empty file  FreeBSD /etc/inputrc  change open_basedir freebsd  plesk freebsd httpd.include  refraction work with 3D  HOW TO WORK WITH CORELTRACE  how to work coreltrace  how to work with Virtualdub  example of art work in adobe photoshop  how to work with corel trace  webcam work with trillian  How function overloading work  pixelate filter how does work  how webcam work on trillian