[winGRASS] RE: [GRASSLIST:2408] Problems running grass in XWindows in cygwin on NT

Malcolm Blue mblue at nb.sympatico.ca
Sun Sep 9 07:19:38 EDT 2001


Ted,

There is a command in the Xinstall.sh for XFree86 that doesn't run correctly
and which should set up the xterm entries.

In a Cygwin bash command shell execute:

tic /usr/X11R6/lib/X11/etc/xterm.termcap      //(Xinstall.sh has
xterm.terminfo)

This should set up the right xterm definitions so that grass will run
correctly in XFree86 with TERM=xterm.

Malcolm

-----Original Message-----
From: owner-GRASSLIST at baylor.edu [mailto:owner-GRASSLIST at baylor.edu]On
Behalf Of ted byers
Sent: Friday, September 07, 2001 8:02 PM
To: GRASSLIST at baylor.edu
Subject: [GRASSLIST:2408] Problems running grass in XWindows in cygwin
on NT


I am using the latest cygwin on NT4,sp6

I just downloaded the binaries for grass for NT, as well as XFree86 for
cygwin.

Installation of XWindows seemed to go fine, except the font it uses seems
rather small (I have a high resolution screen @1600x1200), and I can start
it without problem using startxwin.sh from /usr/X11r6/bin (and only from
there unless I give the full path).

Installation of grass seemed to go well also, and from the bash commandline
I seem to be able to run it without a problem.  I haven't fully checked
this, though, since I have not used grass before; having written my own
(undoubtedly primitive and simple compared to grass) code for gis
applications as required.

However, despite these installations appearing to go smoothly, I have a
problem running grass from within XWindows.  Once XWindows has started, and
regardless of what my current directory is, I can start grass simply by
typing grass5<ret>.  When I do so, I get the initial welcome screen, with
the instruction to enter return at the end of that screen. When I do so,
grass issues the following error and dies.

Error opening terminal: xterm
Invalid resource file.  removing /home/Bted/.grass5

Can anyone tell me what has gone awry here, and how I might fix it?

Once I get this solved, I intend to explore the use of grass for
geostatistics and for modelling (beginning with the links to geostatistics
and modelling sites from the grass website.  Is there a simple tutorial type
document showing how I might a) construct a simulation model in grass, and
b) couple a grass simulation model with various other kinds of models I may
have developed using fortran 95 or C++?

Thanks,

Ted

R.E. Byers
ted.byers at sympatico.ca

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.265 / Virus Database: 137 - Release Date: 7/18/2001

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.265 / Virus Database: 137 - Release Date: 7/18/2001




More information about the grass-windows mailing list