Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Emacs on AIX: terminal type not defined

Status
Not open for further replies.

BARBID

Programmer
Jul 3, 2002
18
US
I just installed emacs 21.1 on my AIX 5 and when I invoke emacs I get:

emacs: Terminal type vt100 is not defined.
If that is not the actual type of terminal you have,
use the Bourne shell command `TERM=... export TERM' (C-shell:
`setenv TERM ...') to specify the correct type. It may be necessary
to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well.



I tried vt102, xterm, aixterm. Same problem. Any solution?
 
What terminal or terminal emulation are you using, and what shell?

If vt100 and ksh then running "export TERM=vt100" before using emacs should do the trick.

You can place this in your .profile to automate it. IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
 
That was not the problem. The problem was that the terminfo database location on AIX5L is /usr/share/lib/terminfo and I don't know where emacs was looking. But setting TERMINFO env variable to the above path (/usr/share/lib/terminfo) did the trick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top