Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unix solaris 8 customisation 1

Status
Not open for further replies.

hok1man

Technical User
Feb 16, 2008
102
Hi Guys,

I login in solaris 8 using my login,
I pressed the button Home, End the result is ~

and I sudo to other login
I pressed button home it goes to the beginning of the prompt and end goes to the end the prompt which I really like it especially when I need to edit previous long command, I need this button rather than using cursor.

They're both in bash

Do you guys know what they did to customize it?

Thanks guys.
 
If you echo $TERM under each login, is the result the same? How about the output of set -o | egrep -w 'vi|emacs'?

Annihilannic.
 
Hi Anni,

echo $TERM for both are the same,
xterm

and the set -o | egrep -w 'vi|emacs' are the same too,
emacs on
vi off

the other one doesnt have bashrc
 
Perhaps the user has set up a .inputrc with key bindings?

The following ones should work for you:

[tt]bind '"\e[1~": beginning-of-line'
bind '"\e[4~": end-of-line' [/tt]

I found them here.

Annihilannic.
 
Bravo Anni,
Thanks for your help.

Cheers mate,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top