Simply type "setenv EDITOR <editor>", replacing <editor> with emacs, for example.
edit: my reply was incorrect, as the changes woold only affect the current terminal window. In order for the changes to be permanent, create a file in your home directory named .tschrc , and enter the line mentioned above. Any commands you enter in this file will be automatically executed every time you open a new terminal session.
Well, it depends on which shell he's using, doesn't it? You're correct for tsch. For bash you'd edit .bash_profile in your home directory and add the following line:
Using Terminal doesn't == tsch. In fact, bash is the default shell when you use Terminal under Panther, and you could always change Terminal to start a bash shell under Jaguar.
Originally posted by daveL Using Terminal doesn't == tsch. In fact, bash is the default shell when you use Terminal under Panther, and you could always change Terminal to start a bash shell under Jaguar.
Are you looking to change your default shell or just on an as needed basis? If you want to change your default shell, go to Utilities and start up Netinfo Manager, select "users", then your login name, unlock the panel, then scroll down to the "shell" property and change it to the shell you want. After you apply the change, all your Terminal sessions will use the selected shell.
If you just want a temporary shell change, I use "exec bash" (substitute your desired shell for "bash"). When you exit that shell, you'll normally exit the Terminal.
Originally posted by daveL ...go to Utilities and start up Netinfo Manager, select "users", then your login name, unlock the panel, then scroll down to the "shell" property and change it to the shell you want...