Discussion Locked

Unix to Linux telnet problem

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am telneting from a FreeBSD machine to a Slakware Linux box. When I go to edit crontabs or open up a vi session it tell me that the terminal is not fully functional and does not let me edit anything. My guess is that I am probably using different TERM types but I do not know how to correct the problem. I have looked in the .profile, .login but am still trying to find out how to do it. I am sure there is a simple solution.....

5 replies

by cavedweller

If you login to sh or bash than enter "TERM=vt100; export TERM". If you use csh then enter "setenv TERM vt100". Your terminal emulator must be set for the terminal you chose, in this case vt100. You can substitute another terminal type if both ends can use it. I have also seen cases where you need to enter "stty sane" to get the linux shell to operate normally with vi.

by oliviu

If you have problems opening vi, check if EDITOR variable is defined after opening the telnet session.
If not define the veriable:
export EDITOR={path-to-vi}/vi (if you login as a normal user with ksh or sh

This discussion is closed to new replies.