🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.elm
Article #3690

Re: Error initializing terminal with elm

#3690
From: Dave Wolfe
Date: Mon, 11 Jan 1993 19:46
33 lines
1973 bytes
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
Technical Details
Message-ID: <1993Jan11.194644.19512@oakhill.sps.mot.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!oakhill!dwolfe
References: <1ikgv4INNn1l@crcnis1.unl.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.elm
Path: arc1-ca.pugleaf.net!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