[GRASS5] Error in display/d.m/d.m file

There is a change in last cvs (050618) in display/d.m/d.m that doesn't work in OS X platform.

row 12-15
if [ $# -eq 0 ] ; then
    exec "$GRASS_WISH" $GISBASE/etc/dm/d.m.tcl -name d_m_tcl sh &
    exit 0
fi

Old version works
if [ $# -eq 0 ] ; then
    exec "$GRASS_WISH" $GISBASE/etc/dm/d.m.tcl -name d_m_tcl
    exit 0
fi

In OS X the monitor is not opened and I have an error: old version works.

Bye

--
________________________________________________________________________
|| Lorenzo Moretti e-mail: lorenzo.moretti@bologna.enea.it ||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/ || | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (ris.)
~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax: +39-0516098131
________________________________________________________________________

I haven't submitted any changes to this file for awhile as I'm in Valencia
and haven't had cvs access for several weeks now. So I don't know what the
status is.

Can anyone enlighten us?

Michael

On 6/20/05 12:49 PM, "Lorenzo Moretti" <lorenzo.moretti@bologna.enea.it>
wrote:

There is a change in last cvs (050618) in display/d.m/d.m that
doesn't work in OS X platform.

row 12-15
if [ $# -eq 0 ] ; then
    exec "$GRASS_WISH" $GISBASE/etc/dm/d.m.tcl -name d_m_tcl sh &
    exit 0
fi

Old version works
if [ $# -eq 0 ] ; then
    exec "$GRASS_WISH" $GISBASE/etc/dm/d.m.tcl -name d_m_tcl
    exit 0
fi

In OS X the monitor is not opened and I have an error: old version works.

Bye

____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>


Hi Michael

I haven’t submitted any changes to this file for awhile as I’m in Valencia
and haven’t had cvs access for several weeks now. So I don’t know what the
status is.

Can anyone enlighten us?

Michael

From ChangeLog file (press “Changes” button on my startup application in OSX)

2005-06-15 18:21

  • display/d.m/d.m: When it’s executed by the user without any

option, isatty(0) returns 1, which is wrong. For example, after

running “d.m&”, go to nviz and just click Run. Now we have two same

nviz gui windows.

Fixed this bug.

2005-06-15 14:31

This change isn’t good for OSX.
Does it need an if statement?

Bye


|| Lorenzo Moretti e-mail: lorenzo.moretti@bologna.enea.it
||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/
|| | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (ris.)

________________________________________________________________________