A new bash is required to get rid of the sámi characters problem when working in the Terminal on the Mac.
First we need to install new readline library
Download readline-5.0
Move the readline directory to /tmp/ and install it.
ssh adminis@localhost
(asks admin password)
mv Desktop/readline-5.0 /tmp/
make install
Then, download and install new bash.
Download bash-3.0
Move the bash directory to /tmp/ and install it.
ssh adminis@localhost
(asks admin password)
mv Desktop/bash-3.0-1-osx3 /tmp/
./configure
make install
sudo mv /bin/bash /bin/bash-old
sudo ln -s /usr/local/bin/bash /bin/bash
sudo mv /usr/share/man/man1/bash.1 /usr/share/man/man1/bash-old.1
The last command is for having manual pages for the new bash.