home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / elm / 4029 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.9 KB  |  44 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!cs.utexas.edu!oakhill!dwolfe
  3. From: dwolfe@oakhill.sps.mot.com (Dave Wolfe)
  4. Subject: Re: Error initializing terminal with elm
  5. Message-ID: <1993Jan11.194644.19512@oakhill.sps.mot.com>
  6. Date: Mon, 11 Jan 1993 19:46:44 GMT
  7. References: <1ikgv4INNn1l@crcnis1.unl.edu>
  8. Organization: Motorola Inc., Austin, Texas
  9. Lines: 33
  10.  
  11. In <1ikgv4INNn1l@crcnis1.unl.edu> burchell@cse.unl.edu (David Burchell) writes:
  12.  
  13. >We have elm installed on our LAN of DG AViiONs running DG/UX 5.4.1.
  14. >The actual code is on a server (of sorts), with the elm directory
  15. >mounted on all the workstations in the room.  It has been
  16. >functioning flawlessly, but now on one of the workstations,
  17. >attempting to invoke elm produces the error message:
  18.  
  19. >Failed trying to initialize your terminal entry: unknown return code -3
  20.  
  21. This message comes from tgetent() via InitScreen() in src/curses.c.  On
  22. DG/UX, tgetent() returns zero or ERR (which is defined as -1 in
  23. curses.h).  Since InitScreen() assigns special meaning to returns 0,
  24. -1, and -2, the value returned from tgetent() gets 2 subtracted from it
  25. to return the -3 you're seeing.
  26.  
  27. "But why is tgetent() returning an error at all?" you ask.  Is it
  28. really any user logged into this workstation, or just one particular
  29. user?  Is there such an entry in /usr/share/lib/terminfo (assuming
  30. you're linked with libcurses.a)?  I don't think it works, but if you're
  31. linked with libtermcap.a, is there such an entry in /etc/termcap?  Is
  32. the TERM variable set correctly?  Is either of the variables TERMINFO
  33. or TERMCAP set to some bogus value or directory/file path?  Is the Elm
  34. executable everyone else is using the same one this user/workstation
  35. is executing?
  36.  
  37. Hope some of this helps.
  38.  
  39. --
  40. -- 
  41. Dave    "In America, we tax work, investment, employment, savings and
  42.     productivity, while we subsidize non-work, consumption and debt.
  43.     It's time we start to reverse this trend."  --  Jack Kemp
  44.