[GRASSLIST:6317] color table on 256 color displays

Hi grass list
I have just compiled grass 6 on solaris, and I only have the SUN GX 256 color graphics card.
In Grass5 I could run d.colormode and set it to float to display images. The grass 6 documentation refers to d.colormode, but it is absent, and the grass5 version of d.colormode is unhappy with grass6 !!

GRASS 6.0.0 > d.colormode <<< d.colormode stolen from grass 5.0
ERROR: program 'd.colormode' cannot be executed because: Neither a command
       line (cmd) or interactive (inter) version was found

Although xcolor changes the display to floating, the graphics monitor window is unaffected.
Is there a grass6 method to access float mode for 256 color displays please?

(Is there support for a rastergraphics true-color display card ??)

ALSO: I had some trouble getting grass6 to work in gui mode, which was because I did not have opengl libraries. Although the requirements does not specify that these are needed for gui mode (only for nviz), the tcl init code looks for information in the nviz directory, so unless you have opengl and compile with nviz enabled, the GUI interface does not work. Perhaps this dependancy could be added to the requirements information to help those of us who do not have an opengl and don't think we need one!

Thanks
Kingsley Burlinson Darwin

On Sun, 03 Apr 2005 15:25:24 +0930
Kingsley Burlinson <kgb@synix.com.au> wrote:

Hi grass list
I have just compiled grass 6 on solaris, and I only have the SUN GX
256 color graphics card.
In Grass5 I could run d.colormode and set it to float to display
images. The grass 6 documentation refers to d.colormode, but it is
absent, and the grass5 version of d.colormode is unhappy with grass6
!!

The Wiki lists d.colormode as not ported because it is "obsolete"
without why.

http://grass.gdf-hannover.de/twiki/bin/view/GRASS/ModulePortingList

> GRASS 6.0.0 > d.colormode <<< d.colormode stolen from grass 5.0
> ERROR: program 'd.colormode' cannot be executed because: Neither a
> command line (cmd) or interactive (inter) version was found

I think that is a porting error, not a code error. d.colormode just
calls R_color_table_float() which is still alive in the raster library.

Did you just copy over the binary from GRASS 5?

Try copying over source code into grass6 source tree, plagiarize the
directory structure and Makefile from say d.colors, and run make.

Hamish

Kingsley Burlinson wrote:

In Grass5 I could run d.colormode and set it to float to display images.
The grass 6 documentation refers to d.colormode, but it is absent, and
the grass5 version of d.colormode is unhappy with grass6 !!

> GRASS 6.0.0 > d.colormode <<< d.colormode stolen from grass 5.0
> ERROR: program 'd.colormode' cannot be executed because: Neither a command
> line (cmd) or interactive (inter) version was found

In GRASS 5.x, the programs in $GISBASE/bin are all links to
$GISBASE/etc/front.end, which doesn't work in 6.x. The actual programs
are in $GISBASE/etc/bin/cmd.

Although xcolor changes the display to floating, the graphics monitor
window is unaffected.
Is there a grass6 method to access float mode for 256 color displays please?

d.colormode should be able to compiled for 6.x without changes. It
just needs someone to add it.

--
Glynn Clements <glynn@gclements.plus.com>