I was trying to figure out how to change my default shell from CSH to BA$H for my ODU CS login after doing some customization on my .bashrc file. If you’re in the same boat as me, a few simple changes will take care of things. This can all be done without root access.
$ echo $SHELL# find out what shell you are currently using, gives me something like/usr/local/bin/tcsh
bash# to switch to a BA$H terminal.exitto your csh- If a csh ~/.login doesn’t exist, create one and put the command
exec bashin it. You could also use the full path to the shell you want to use - Run
source ~/.loginto restart your csh with the new rule… it should skip you over to bash instantly
This got me far enough to get a terminal but not far enough to use Vi as I would like to and expect to. I use Putty, since most of the time I have to be on a Windows computer. Times are changing though and hopefully soon I can drop it entirely in favor of Ubuntu. If you are having trouble with numbers, arrow keys, the insert key, etc. try some of these helpful hints:
- Open putty and load your session
- Go to terminal -> features and check “disable application keypad mode”
echo $TERMand make sure that Putty and your server are using the same type. vt100 is the most commonset term/device=vt100- Load your Putty session and go to Connection -> Data and enter “vt100″ (without quotes) or whatever type you decided on. Optionally you can enter your username here as well so you only type your password on login.
- Under Terminal -> Keyboard, set “Ctrl-H”, “Standard”, “ESC[n~”, and the default for everything else on that panel
- For the rest, follow the directions here.
… this is still a post in progress. Sadly, I’m still not working with a full deck of Vi.
Enjoy!

