i am using the bash prompt and I want to change the term from screen to xterm.
bash-3.00$ echo $TERM
i want to do this because when i try to open up something in vi while in tmux console i get this error;
bash-3.00$ vi back_checks
screen: Unknown terminal type
I don't know what kind of terminal you are on - all I have is 'screen'.
[Using open mode]
"back_checks" [New file]
bash-3.00$ setenv TERM xterm
bash: setenv: command not found
When i am in the tcsh shell i just have to type in
and that fixes vi in tmux
how do i do the same in /bin/bash from the command line (with out using the /.bash_profile or /.bash_rc) I log into alot of machines with a the same user name so i need to make these changes locally to my tty not globally via the startupfiles.
is there a way to change the TERM setting to xterm from the commans line in bash?