I have seen many posts about using
"set -o emacs
alias __A=`echo "\020"` # up arrow = ^p = previous
alias __B=`echo "\016"` # down arrow = ^n = next
alias __C=`echo "\006"` # right arrow = ^f = cursor formard
alias __D=`echo "\002"` # left arrow = ^b = cursor backwards
alias __H=`echo "\001"` # home = ^a = cursor at start of line
which works for me in the .profile but not as a global (/etc/profile).
My /etc/profile does not have "set -o vi" in it.
When I run 'alias' command, i see when using the global /etc/profile:
If I decide to type "set -o emac" in my command line, the arrows work. Is there a way to fix this for me to just login without having to type set -o emac while using the global instead of .profile?