I use a program called TinyTerm to access our AIX machine. It works fine except for when I rlogin into our SCO unix server. Backspace doesn't delete, ctrl-c doesn't work (delete key does same thing), and the most annoying thing is vi acts very wierd. I have to press the down arrow like 3 times to go down to the next line and when moving the cursor left and right. It makes editing files annoying at best and dangerous as well.
I know their are many settings for emulation and it can be tricky. How do you go about finding which terminal settings you need anyway?
This will give you the basis to match the SCO keymapping to the AIX key mapping with stty commands and an approprate value for $TERM in the SCO users login profile. The arrows in vi usually needs a list of "map" commands in a .exrc file in each users home directory (see man ex ) if they don't work after sorting out the stty settings. You may already have a suitable .exrc file on your AIX box.
Do I need to make the 2 servers TERM settings match each other? If so where do I do that? Also, is there a possibility that changing such settings would affect applications/scripts? If so, should I just make 2 different profiles on the emulation client.. one for each server and quit doing rlogin? Yes, access is from pc's.
I got putty. It doesn't look right at all with putty. I know I can have seperate sessions with our terminal emulation program but I like starting one session on AIX and then rlogin to SCO. I just want bot term's to act the same.
If you have an account on your AIX server where vi works, is there a .exrc file in the home directory for that account? If there is, copy it.
If not, you need to create one on the SCO server. It just maps the scan codes created when you press an arrow key to the manual control codes expected by vi (the same ones you would type if you didn't use the arrow keys).
Ps. I haven't seen a terminal set to "ansi" for at least 15 years. This must be an unusual application.