[11369] in Athena Bugs

home help back first fref pref prev next nref lref last post

Ultrix4.2a terminfo

daemon@ATHENA.MIT.EDU (yandros@MIT.EDU)
Sun Nov 14 02:54:12 1993

From: yandros@MIT.EDU
Date: Sun, 14 Nov 1993 02:53:46 -0500
To: bugs@MIT.EDU
Cc: gopherdevo@MIT.EDU, jroth@MIT.EDU



What did I try to do:
  
  For the longest time I've had problems with programs that linked
  against the Ultrix cursesX library and used attrset() or equivalents
  when TERM was set to xterm.

What happened:

  Just recently I found out (from the net) that this is because there
  is no terminfo entry for xterm under Ultrix4.2a (in fact, there's no
  /usr/lib/terminfo/x directory at all).  The person who told me about
  this problem said that the admin at his site created an entry in the
  terminfo database for xterm and that then The World Was a Happier
  Place.

What should have happened:

  MIT should be a Happier Place.  My programs shouldn't say ``I don't
  know how to deal with your `xterm' terminal (core dumped).'' if I
  link with cursesX.  I shouldn't have to wrap them in ugly shell
  scripts like the following:

    #!/bin/sh - 

    repeat 10 echo "Ultrix curses sucks."

    TERM=vt100;export TERM
    exec progname "$@"

Relevant references:

  /usr/lib/terminfo/x/xterm: No such file or directory
  

home help back first fref pref prev next nref lref last post