Hi,
I am using FreeBSD 6.2 without X/Xorg. My shell is bash-3 and my keyboard
layout is US-ISO with TERM set to cons25.
I am facing a problem on the console with bash. Bash simply does not remember
my commands in the right order. Most of the commands I type in a login session
are forgotten in the next session. Moving the Up and Down arrow keys navigates
a highly incorrect and incomplete command history. Even doing a Ctrl-R for
reverse search almost never finds any command I entered in any previous session.
I am attaching the contents of my .bash_profile and .bashrc below.
#.bash_profile :
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
#end-of-file
#.bashrc :
export HISTFILESIZE=1000
shopt -s cmdhist
shopt -s histappend
#end-of-file
If anyone can help me out, I shall be really grateful.
Thanks in advance,
Manish Jain
[EMAIL PROTECTED]
Unlimited freedom, unlimited storage. Get it now, on
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/