2008/12/18 Tony Arnold <tony.arn...@manchester.ac.uk>: > Steve, > > Stephen Garton wrote: >> Thanks for all the help so far! >> >> the user now has a .bashrc and a .profile (copied from /etc/skel) >> 2008/12/18 Tony Arnold <tony.arn...@manchester.ac.uk>: >>> As well as the advice about bashrc etc., I would also check that the >>> user has the right shell. Login and type 'echo $SHELL' and make sure >>> that is bash or dash. >> >> It would appear that the user is setup wrong, as this returns /bin/sh. >> I do also have root access, and logging in as root (which has a >> 'normal' activity) returns /bin/bash. How does one change this? > > That would explain the lack of history recall etc. > > As root use the chsh command. Check the man page before proceeding, but > 'chsh username' will then prompt you to choose a suitable shell. > >>> You also want to see what the terminal type is set to. Type 'echo >>> $TERM'. If that is set to something like 'dumb' then you may not get >>> some of the nice features you are looking for. >> >> both user and root return xterm > > That's fine. > >>> BTW, what do you get echoed when you press the arrow keys? Nothing or >>> some random text? >> >> Up arrow gives ^[[A, down ^[[B > > Changing the shell should fix this. > > Regards, > Tony.
Thanks very much to all, works like a charm, and I learnt something new. It has been a good day! Steve Garton http://www.sheepeatingtaz.co.uk -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/