Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2008 13:14:53 -0700 (PDT)
From:      manish jain <goodredhat@yahoo.com>
To:        freebsd <freebsd-questions@freebsd.org>
Subject:   Problems on the console
Message-ID:  <874354.92691.qm@web51306.mail.re2.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi,
=C2=A0
I am using FreeBSD 6.2 without X/Xorg. My shell is bash and my keyboard lay=
out is US-ISO.
=C2=A0
I am facing 2 problems on the console :
=C2=A0
1) My backspace key works fine, but the Del and Delete keys also do a backs=
pace instead of a forward delete. How do I change this ? My keyboard=C2=A0i=
s a basic 101/102 keyboard.
=C2=A0
2) Bash simply does not remember my commands in the right order. Most of th=
e commands I type in a login session are forgotten in the next session. Mov=
ing the Up and Down arrow keys navigates a mangled and incomplete command h=
istory.
=C2=A0
I am attaching the contents of my .bash_profile, .bashrc and .inputrc below=
.

=C2=A0
#.bash_profile :
if [ -f ~/.bashrc ]; then
=C2=A0source ~/.bashrc
fi
#end-of-file

=C2=A0
#.bashrc :
export HISTFILE=3D"~/.bash_history"
export HISTFILESIZE=3D1000
shopt -s cmdhist
shopt -s histappend
#end-of-file
=C2=A0

#.inputrc :
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[3~": delete-char=C2=A0#should be a forward delete unless I am mistaken
"\eOd": backward-word=C2=A0#ctrl-leftarrow
"\eOc": forward-word=C2=A0#ctrl-rightarrow
set completion-query-items 20
set meta-flag on
set input-meta on
set convert-meta off
set output-meta on
#end-of-file

=C2=A0
If anyone can help me out, I shall be really grateful.
=C2=A0
Thanks in advance,
Manish Jain
goodredhat@yahoo.com
=0A=0A=0A      Download prohibited? No problem. CHAT from any browser, with=
out download. Go to http://in.webmessenger.yahoo.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874354.92691.qm>