Problem
When I rlogin in from my SCO OpenServer 5.0.5 server to an SCO OpenServer 5.0.4 or earlier server, I get this message:
tput: unknown terminal "scoansi"Or, if I log in to either a Data General or Sun Microsystem UNIX server, I get:
Error: unable to initialize with term value of scoansi
This can cause incompatibility with some older applications.
Cause
In order to make the default terminal type compatible with UnixWare 7's scoansi terminal, scoansi has been made the default terminal type in SCO OpenServer Release 5.0.5. The ansi terminal definition for UnixWare is not the same as the ansi definition for OpenServer, but the two scoansi's are fully compatible.
You will find the OpenServer terminfo definitions available for UnixWare7 and Open UNIX 8 in /usr/share/lib/terminfo/terminfo.src.osr5
Solution
There are three known solutions for this:
(1) When logging into an SCO OpenServer 5.0.4 (or earlier) system, when the line TERM = (scoansi) appears, change the type to ansi by typing:
TERM = (scoansi) ansi (just type "ansi" and press <Enter>)(2) If it is inconvenient to change the terminal type on every login, or there are still problems with applications due to the initial setting of scoansi, then you may do this instead:
# vi /etc/ttytype (on the OpenServer 5.0.5 system)Change every instance of "scoansi" to "ansi", save changes.
Also, edit the .profile, to make ansi the default terminal on login.
# vi .profileFind the line that reads:eval `tset -m scoansi:${TERM:-scoansi} -m :\?${TERM:-scoansi} -e -r -s -Q`Change each instance of "scoansi" to "ansi" and restart the system.
NOTE: This change will not work if ScoTerm is being used because ScoTerm is 'hard-wired' to use scoansi.
(3) Or, if you want a solution that brings the pre-5.0.5 system up-to-date with the scoansi terminal setting, rather than changing the 5.0.5 system back to ansi, type:
# vi /etc/termcap (on the pre - 5.0.5 system)Find the line that reads:li|ansi|ansi80x25|Ansi standard crt:\and change it to read:li|ansi|scoansi|ansi80x25|Ansi standard crt:\Then type:# vi /usr/lib/terminfo/terminfo.srcFind the line that reads:ansi|ansic|ansi-437|ansi80x25|Ansi standard console,and change it to read:ansi|ansic|ansi-437|ansi80x25|scoansi|Ansi standard console,After adding the scoansi definition to the terminfo.src file, run the terminal info compiler:
# tic (no relink/reboot necessary)You may then log in from the OpenServer 5.0.5 system to the OpenServer 5.0.4 (or earlier) system without changing the terminal type of scoansi on either system.
Other scoansi compatibility solutions may be available from the
vendor of the UNIX operating system being used. Consult the
vendor's documentation and other support resources for further
information. See also
Manual pages: ttytype(F), profile(M), tic(C)