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