Details Ticket 1301


Comment | Reply | Take | Open


Serial Number 1301
Subject Does not start up in text mode HP/UX 10.20
Area bug
Queue grass
Requestors Morten.Sickel@nrpa.no
Owner none
Status resolved
Last User Contact Fri Sep 13 19:27:42 2002 (6 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Oct 8 10:02:44 2002 (6 yr ago)
Created Fri Sep 13 13:02:35 2002 (6 yr ago)

Transaction History Ticket 1301


Fri, Sep 13 2002 13:02:35    Request created by guest  
Subject: Does not start up in text mode HP/UX 10.20

Platform: HP/UX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0.0

I had pre5 running fine on my HP 10.20 WS. After the upgrade, I do not manage
to start grass in text mode (i.e I have to use the -tcltk switch), else I just
get a :

Error opening terminal: xterm

I tried to remove the .grassrc5 file, but that resulted in also the tcltk mode
aborting with the same error, if I start it with grass5 /gisdatabase/location/mapset,
then it works fine.

I have had some other curses-related problems with the machine, it could be that
that is biting me again. If anybody could tell me where the error-message is
emitted, I'll go some hunting for the bug.

Morten
Fri, Sep 13 2002 19:27:42    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <15746.320.532536.50339@cerise.nosuchdomain.co.uk>
Date Fri, 13 Sep 2002 16:16:16 +0100
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #1301] (grass) Does not start up in text mode HP/UX 10.20
In-Reply-To <20020913110235.CC5DA13AB6@lists.intevation.de>
References <20020913110235.CC5DA13AB6@lists.intevation.de>
X-Mailer VM 6.94 under 21.4 (patch 9) "Informed Management" XEmacs Lucid
X-Spam-Status No, hits=-4.4 required=5.0 tests=IN_REP_TO version=2.20
X-Spam-Level
Request Tracker wrote:

> Subject: Does not start up in text mode HP/UX 10.20
> 
> Platform: HP/UX
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 5.0.0
> 
> I had pre5 running fine on my HP 10.20 WS. After the upgrade, I do not
> manage to start grass in text mode (i.e I have to use the -tcltk
> switch), else I just get a :
> 
> Error opening terminal: xterm
> 
> I tried to remove the .grassrc5 file, but that resulted in also the
> tcltk mode aborting with the same error, if I start it with grass5
> /gisdatabase/location/mapset, then it works fine.

That's because it skips the curses-based startup screen. If you
attempt to run any program which uses curses, you'll get the same
problem.

> I have had some other curses-related problems with the machine, it
> could be that that is biting me again. If anybody could tell me where
> the error-message is emitted, I'll go some hunting for the bug.

The error message is emitted either from the curses library itself, or
from a termcap/terminfo library which is used by the curses library. 
It almost certainly occurs somewhere within initscr() (i.e. between
the point that initscr() is called and the point that it returns; the
actual error will most likely be generated by a lower-level function).

The error basically indicates that the relevant library failed to find
a termcap/terminfo entry for "xterm".

If pre5 worked, your pre5 binaries were most likely linked against
different libraries. Either one is using termcap and the other
terminfo, or they both use terminfo but are looking in different
places (e.g. /usr/lib/terminfo vs /usr/share/terminfo).

-- 
Glynn Clements <glynn.clements@virgin.net>


Mon, Sep 16 2002 09:31:31    Mail sent by Morten.Sickel@nrpa.no  
Return-Path <Morten.Sickel@nrpa.no>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <54DE9A561AD20C4D9FF88B116965420E21E0CC@postix.nrpa.no>
From Morten Sickel <Morten.Sickel@nrpa.no>
To 'Glynn Clements via RT' <grass-bugs@intevation.de>
Subject RE: [bug #1301] (grass) Does not start up in text mode HP/UX 10.2 0
Date Mon, 16 Sep 2002 09:29:03 +0200
MIME-Version 1.0
Content-Type text/plain; charset="iso-8859-1"
X-Spam-Status No, hits=2.7 required=5.0 tests=SUBJ_HAS_SPACES version=2.20
X-Spam-Level **

> -----Original Message-----
> From: Glynn Clements via RT [mailto:grass-bugs@intevation.de]
> Sent: Friday, September 13, 2002 7:28 PM
> To: Morten.Sickel@nrpa.no
> Subject: [bug #1301] (grass) Does not start up in text mode 
> HP/UX 10.20
> 
> 
> 
> Request Tracker wrote:
> 
> > Subject: Does not start up in text mode HP/UX 10.20

Snipped..
> 
> That's because it skips the curses-based startup screen. If you
> attempt to run any program which uses curses, you'll get the same
> problem.

Well mea culpa, then obiously. Since this is grass related and not curses on
HPUX related, please feel free to delete / set to resolved.

Thanks for the reply, anyhow.

Morten


Tue, Oct 8 2002 10:02:44    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request