Re: DBACCESS and DTTERM
Posted in 1998
On 03 Mar 1998 20:53:00 +0000, Mark Oberfield
<oberfiel@haze.nws.noaa.gov> wrote:
>Hi,
>
>We've recently converted machines over to HPUX-10.20 in which the
>default terminal is "dtterm". The problem arises when we try to use
>dbaccess which states that
>
>"The type of your terminal is unknown to the system"
>
>when TERM is set to dtterm.
>
>Various permutations setting the environmental variables
>
>INFORMIXTERM
>TERMINFO
>
>seem to have no effect. We do have a dtterm entry in
>our /usr/share/lib/terminfo directory and I added it to
>the $INFORMIXDIR/etc/terminfo file without any change
>in dbaccess behavior. The only way to get it to work
>is to set TERM to vt100 in a dtterm window. We'd like
>to use the colors that are available with dtterm.
>
>We are using:
>DB-Access Version 5.03.UC1
>
>Has anyone else with similar OS and version have better
>success than we have?
I'm running HP-UX 10.20, ODS 7.23UC5. Add the following to
$INFORMIXDIR/etc/termcap.
dtterm:\\
:is=\\E=\\E[?3l\\E[?4l\\E[?7h\\E[?1h\\E(B\\E)0:\\
:k0=\\E11~:\\
:k1=\\E12~:\\
:k2=\\E13~:\\
:k3=\\E14~:\\
:k4=\\E15~:\\
:k5=\\E17~:\\
:k6=\\E18~:\\
:k7=\\E19~:\\
:k8=\\E20~:\\
:k9=\\E21~:\\
:tc=vt100:
I spend quite a lot of time using dtterms. Be sure that you are using
25 line windows.
BTW, you are running Xwindows, aren't you? If your telnet sessions
are coming up as dtterms, you probably want to look at your terminal
ID stuff.
-------------------------------
Views expressed are my own, not
necessarily my employer's.