On 2020-05-05 6:39 AM, Wendell Lovewell wrote:
Installing Rocket's bash provided the cursor history scrolling I was looking 
for.

I don't perceive a difference between TERM=xterm+256color and TERM=xterm in the 
command-line-only functions I use.  (I don't see any coloring in the ls or 
other output for either value.)'


bash doesn't add colors. "ls" is a system binary not a builtin. On linux systems colors are supported in the GNU binaries and configured using the LS_COLORS environment variable.


I have "bash" as the last line in /etc/profile.  This seems to work, but I do have to enter "exit" twice to 
close the window.  Is there a way to invoke bash so that this is not necessary?  I'm also not sure if this matters, but 
"echo $SHELL" still shows "/bin/sh", not "/bin/bash".

Are you sure you want to configure /etc/profile to invoke bash for every user? I would invoke it from the .profile config file in your home directory.

This is how I do it:

# We want to switch to bash
BASH=/rsusr/ported/bin/bash

# switch to bash
export SHELL=${BASH}
exec ${BASH} --login

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to