[GRASS5] 5.1 execution

I have 5.1 running on Solaris 8 Sparc but none of the functions are
working. I can get the interface windows to run but all of them produce the
following error trace when I try to run a function:

can't read "opttype(1)": no such element in array
    while executing
"if { $opttype($i) == "multi" } {
            set domulti 0
            for {set j 1} {$j <= $nmulti($i) } {incr j} {
                if { $optval($i,$..."
    (procedure "mkcmd" line 5)
    invoked from within
"mkcmd "
    invoked from within
".run invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tkButtonUp" line 7)
    invoked from within
"tkButtonUp .run
"
    (command bound to event)

Is it possible to run the 5.1 functions from the command line through a
parser like in 5.0?

You can run modules with specified options and flags as in
5.0, GUI is opened only if module is run without any option.
To get old text interface you need to set enviroment variable
(not GRASS variable) GRASS_UI_TERM
(for example in bash: export GRASS_UI_TERM=1)

Radim

On Monday 17 March 2003 08:07 am, cheg01@attbi.com wrote:

I have 5.1 running on Solaris 8 Sparc but none of the functions are
working. I can get the interface windows to run but all of them produce the
following error trace when I try to run a function:

can't read "opttype(1)": no such element in array
    while executing
"if { $opttype($i) == "multi" } {
            set domulti 0
            for {set j 1} {$j <= $nmulti($i) } {incr j} {
                if { $optval($i,$..."
    (procedure "mkcmd" line 5)
    invoked from within
"mkcmd "
    invoked from within
".run invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tkButtonUp" line 7)
    invoked from within
"tkButtonUp .run
"
    (command bound to event)

Is it possible to run the 5.1 functions from the command line through a
parser like in 5.0?

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5