[GRASS5] XDRIVER problem

Hi,

I have some problems with XDRIVER:

GRASS:~ > d.mon start=x1
using default visual which is TrueColor
Visual is read-only or using a private colormap
ncolors: 32768
allocating memory...
Graphics driver [x1] started
Please start graphics monitor <x1>.
Error - Graphics monitor <x1> not running!

(But monitor window is opened)

GRASS:~ > d.mon select=x1
Please start graphics monitor <x1>.
Error - Graphics monitor <x1> not running!

One week old version seems to work well.
I have similar problem on two computers.
The source is fresh from CVS. (Linux RH6, KDE1)

Radim

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Thu, Jan 25, 2001 at 07:55:07PM +0100, Radim Blazek wrote:

Hi,

I have some problems with XDRIVER:

GRASS:~ > d.mon start=x1
using default visual which is TrueColor
Visual is read-only or using a private colormap
ncolors: 32768
allocating memory...
Graphics driver [x1] started
Please start graphics monitor <x1>.
Error - Graphics monitor <x1> not running!

(But monitor window is opened)

GRASS:~ > d.mon select=x1
Please start graphics monitor <x1>.
Error - Graphics monitor <x1> not running!

One week old version seems to work well.
I have similar problem on two computers.
The source is fresh from CVS. (Linux RH6, KDE1)

Radim,

John Huddleston has benn uploading the IPC code into XDRIVER
from Malcolm Blue (unfortunately without announcement).

From my experience it works well in Linux, but:

You have to rebuild most. See the file README.ipc (which is a script
as well), it should do the job. After compilation it will run o.k.

Or am I wrong? John, please post the changes!!

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

--
Markus Neteler * University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494 Fax: -3984

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Fri, Jan 26, 2001 at 09:07:34AM +0000, Markus Neteler wrote:

On Thu, Jan 25, 2001 at 07:55:07PM +0100, Radim Blazek wrote:

John Huddleston has benn uploading the IPC code into XDRIVER
from Malcolm Blue (unfortunately without announcement).

>From my experience it works well in Linux, but:
You have to rebuild most. See the file README.ipc (which is a script
as well), it should do the job. After compilation it will run o.k.

Or am I wrong? John, please post the changes!!

If this is causing problem on some platforms, we might be able to
use CVS to revert to a more tested revision of this code for the
release. :slight_smile:
(Just to make you again aware of the capabilities of CVS.)

  Bernhard

--
Professional Service around Free Software (intevation.net)
The FreeGIS Project (freegis.org)
Association for a Free Informational Infrastructure (ffii.org)
FSF Europe (fsfeurope.org)

Hi 2 all,

i have the mentioned problems with the XDRIVER too. Nothing seems to
work any more on Linux (RH 7.0). Please revert the changes or find the
problem, as i urgently need a working version of GRASS5.0 again!

I'll try to recompile the latest CVS version and report again in the
evening.

cu,

Andreas

Bernhard Reiter wrote:

On Fri, Jan 26, 2001 at 09:07:34AM +0000, Markus Neteler wrote:
> On Thu, Jan 25, 2001 at 07:55:07PM +0100, Radim Blazek wrote:

> John Huddleston has benn uploading the IPC code into XDRIVER
> from Malcolm Blue (unfortunately without announcement).
>
> >From my experience it works well in Linux, but:
> You have to rebuild most. See the file README.ipc (which is a script
> as well), it should do the job. After compilation it will run o.k.
>
> Or am I wrong? John, please post the changes!!

If this is causing problem on some platforms, we might be able to
use CVS to revert to a more tested revision of this code for the
release. :slight_smile:
(Just to make you again aware of the capabilities of CVS.)

        Bernhard

--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange@Rhein-Main.de - A.C.Lange@GMX.net

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Fri, Jan 26, 2001 at 10:55:51AM +0100, Bernhard Reiter wrote:

On Fri, Jan 26, 2001 at 09:07:34AM +0000, Markus Neteler wrote:
> On Thu, Jan 25, 2001 at 07:55:07PM +0100, Radim Blazek wrote:

> John Huddleston has benn uploading the IPC code into XDRIVER
> from Malcolm Blue (unfortunately without announcement).
>
> >From my experience it works well in Linux, but:
> You have to rebuild most. See the file README.ipc (which is a script
> as well), it should do the job. After compilation it will run o.k.
>
> Or am I wrong? John, please post the changes!!

If this is causing problem on some platforms, we might be able to
use CVS to revert to a more tested revision of this code for the
release. :slight_smile:
(Just to make you again aware of the capabilities of CVS.)

Generally a good advice :slight_smile: But developers are somewhat responsible for
their changes, so they should revert if a bug occurs. As a second
choice other shall take for it (idea of distributed workload).

Concerning XDRIVER:

I checked with cvs2cl.pl

src/display/devices/XDRIVER:
2001-01-23 01:06 john

        * lib/connect.c: connect.c changed to run under cygwin

2001-01-23 01:05 john

        * XDRIVER24/SWITCHER.c: SWITCHER.c changed to run under cygwin

cd src/libes/
2001-01-23 01:04 john

        * raster/io.c: io.c chnaged to run under cygwin

Maybe it was intended to update the files
src/display/devices/XDRIVER/lib/ipc.new/connect.c
src/display/devices/XDRIVER/XDRIVER24/ipc.new/SWITCHER.c
src/libes/raster/ipc.new/io.c
?

Sorry, due to lack of time I cannot migrate the misplaced update into
the individual ipc.new/ directories and revert the changes in the parent
directories...

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi,

i agree. The person that checked the code in is responsible.

After running the ./README.ipc Script and re-compiling the source tree
the XDRIVER works again. So it is the problem Markus describes.

cu

Andreas

Markus Neteler wrote:

Generally a good advice :slight_smile: But developers are somewhat responsible for
their changes, so they should revert if a bug occurs. As a second
choice other shall take for it (idea of distributed workload).

Concerning XDRIVER:

I checked with cvs2cl.pl

src/display/devices/XDRIVER:
2001-01-23 01:06 john

        * lib/connect.c: connect.c changed to run under cygwin

2001-01-23 01:05 john

        * XDRIVER24/SWITCHER.c: SWITCHER.c changed to run under cygwin

cd src/libes/
2001-01-23 01:04 john

        * raster/io.c: io.c chnaged to run under cygwin

Maybe it was intended to update the files
src/display/devices/XDRIVER/lib/ipc.new/connect.c
src/display/devices/XDRIVER/XDRIVER24/ipc.new/SWITCHER.c
src/libes/raster/ipc.new/io.c
?

Sorry, due to lack of time I cannot migrate the misplaced update into
the individual ipc.new/ directories and revert the changes in the parent
directories...

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange@Rhein-Main.de - A.C.Lange@GMX.net

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'