[GRASS-user] d.monsize doesn't work in 6.3

Tach oopopanaxx at yahoo.de
Wed Jan 16 08:09:41 EST 2008


Hello, Hallo and Hola,
in GRASS 6.2.3 I was using a nice script which
connects d.start/d.stop and d.monsize to open monitors
in a given size or closes them if one is open.
In university I'm using 6.3 and there the d.monsize
doesn't work.
I get the message:

execl() failed: Exec format error

How can I fix this?

cheers
Philipp

enclosed the scrip "m"

#!/bin/sh
echo Which Monitor?
read a

start=1
# shutdown or start x$a  at specified size

mlist=`d.mon -L | grep "  running" | awk '{print $1}'`
#echo $mlist
for m in $mlist ; do
#echo $m
if [ $m = x$a ] ; then
  d.mon stop=$m
  start=0
fi
done
if [ $start = "1" ] ; then d.mon start=x$a
  echo width=414
  w=414
  echo height=942
  h=942
  d.monsize setmonitor=x$a setwidth=$w setheight=$h

fi
exit



      Heute schon einen Blick in die Zukunft von E-Mails wagen? www.yahoo.de/mail


More information about the grass-user mailing list