Problem
When I double click on the UNIX icon (or other desktop icons) the window flashes on the desktop and then immediately disappears.
Cause
When a scoterm window is opened, /usr/bin/X11/scoterm reads from the terminal description database (/etc/termcap) and sets the value of the TERMCAP environment variable to the appropriate entry from that database file. If, at the time scoterm is invoked, the TERMCAP env variable is set to a file that does not contain a terminal description entry that is usable by scoterm, scoterm gives the error:
could not find usable termcap entryThe user does not see this error. Instead, the user will see the window flash on the desktop, and then disappear.
Solution
The solution is to unset the TERMCAP environment variable and
export it. This will allow scoterm to read from the default
terminal description database (/etc/termcap) and set the TERMCAP
variable itself. To do this, type the following:# unset TERMCAP# export TERMCAPYou will want to find out why and where the TERMCAP variable is
being set. Check the /etc/profile file to see if it is being set
there. Check the user's .profile and .login files. If you find the
TERMCAP variable is being set to a file other than /etc/termcap,
either delete the line that sets TERMCAP, or set TERMCAP to
/etc/termcap.If you do not find that the TERMCAP variable is being set anywhere, and you are still experiencing this problem, you may have a corrupt /etc/termcap file. Find a backup copy of /etc/termcap and restore it to your system. If you do not have a backup copy of /etc/termcap, contact SCO Support to acquire one.
See also
termcap(F)