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":"BU053","label":"Cloud & Data Platform"},"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":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

More support for:
Informix Servers

Software version:
10.0, 11.1, 11.5, 11.7, 12.1

Operating system(s):
AIX, HP-UX, Linux, Solaris

Document number:
345267

Modified date:
30 January 2020

UID

swg21225215

Manage My Notification Subscriptions