IBM Support

Unknown terminal type errors while running dbaccess

Troubleshooting


Problem

This article details how to resolve the error "The type of your terminal is unknown to the system" when running dbaccess.

Resolving The Problem

Q. How can I resolve various "unknown terminal" errors I receive when running dbaccess?

A. Set the environment variables TERM and TERMCAP to point to $INFORMIXDIR/etc/termcap.

Example:

    For csh:
        setenv TERM  vt100
        setenv TERMCAP $INFORMIXDIR/etc/termcap

    For ksh :
        export TERM=vt100
        export TERMCAP=$INFORMIXDIR/etc/termcap

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU001","label":"Analytics Private Cloud"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"10.0;11.1;11.5;11.7;12.1","Edition":""}]

Document Information

Modified date:
16 June 2018

UID

swg21225215