6.0.0.0 beta1 was released, you can get the source package:
http://grass.itc.it/grass60/source/grass-6.0.0beta1.tar.gz
or you can download it from cvs:
cvs -z3 co -r grass_6_0_0_beta_1 grass51
Radim
6.0.0.0 beta1 was released, you can get the source package:
http://grass.itc.it/grass60/source/grass-6.0.0beta1.tar.gz
or you can download it from cvs:
cvs -z3 co -r grass_6_0_0_beta_1 grass51
Radim
→
Radim wrote
6.0.0.0 beta1 was released, you can get the source package:
http://grass.itc.it/grass60/source/grass-6.0.0beta1.tar.gz
or you can download it from cvs:
cvs -z3 co -r grass_6_0_0_beta_1 grass51
Radim
grass5 mailing list
grass5@grass.itc.it
Grass 6.0.0 beta 1 for OS X is ready for testing. Download at:
http://wwwamb.bologna.enea.it/forgrass/downloadcvs.htm
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/ (res.)
Download GRASS for MAC OS X:
http://wwwamb.bologna.enea.it/forgrass/
________________________________________________________________________
I'll tag 6.0.0.0 beta2 tomorrow. It will be probably the last beta.
Radim
Radim Blazek wrote:
6.0.0.0 beta1 was released, you can get the source package:
http://grass.itc.it/grass60/source/grass-6.0.0beta1.tar.gz
or you can download it from cvs:
cvs -z3 co -r grass_6_0_0_beta_1 grass51
Radim
_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5
I have recently tried GRASS6 on Mac and MSWindows and found that
GRASS_PAGER uses less instead of more, which is very incovenient
(and for some people confusing, because you have to type q after
running g.list to get your grass prompt back). Is there a reason
why it cannot be set as Lorenzo suggests and why is there the
less alternative? (see my guess below) People who haven't used
GRASS before would not realize that this behavior can be changed
as Hamish suggests below.
thanks for any hints,
Helena
Lorenzo suggests:
It's more useful add this env in lib/init/init.sh
row 28
+ GRASS_PAGER=more
+ export GRASS_PAGER
or no ?
My answer:
Lorenzo,
it is there already and it looks like it uses less if it cannot find
more under /bin ???
173 # Once the new environment system is committed we can delete these
lines
174 # Export the PAGER environment variable for those who have it
set
175 if [ "$PAGER" ] ; then
176 export PAGER
177 fi
178
179 # Set some environment variables if they are not set
180 if [ ! "$GRASS_PAGER" ] ; then
181 if [ -x /bin/more ] ; then
182 GRASS_PAGER=more
183 else
184 GRASS_PAGER=less
185 fi
186 export GRASS_PAGER
Lorenzo Moretti wrote:
Hi Elena
> Lorenzo,
>
> I just got some hints from Hamish - it is defined by environmental
> variable so I should be able to change it. But it would be nice to
> have it as default.
>
> thank you for a quick answer,
>
> Helena
>
> Hamish says:
>
> ......yes, the GRASS_PAGER environmental variable.
>
> Mac binaries use "less" by default as well..
>
> run this:
>
> echo "export GRASS_PAGER=more" >> ~/.grass.bashrc
>
> (Mac OSX 10.2 uses csh so use setenv and .grass.cshrc there)
>
> see this thread too for a GUI option:
I have recently tried GRASS6 on Mac and MSWindows and found that
GRASS_PAGER uses less instead of more, which is very incovenient
(and for some people confusing, because you have to type q after
running g.list to get your grass prompt back).
..
it is there already and it looks like it uses less if it cannot find
more under /bin ???173 # Once the new environment system is committed we can delete
these lines
174 # Export the PAGER environment variable for those who have it
set
175 if [ "$PAGER" ] ; then
176 export PAGER
177 fi
178
179 # Set some environment variables if they are not set
180 if [ ! "$GRASS_PAGER" ] ; then
181 if [ -x /bin/more ] ; then
182 GRASS_PAGER=more
183 else
184 GRASS_PAGER=less
185 fi
186 export GRASS_PAGER
On Mac OSX, "more" is in /usr/bin/. init.sh updated in CVS to look
there too before reverting to "less". Where is it on cygwin?
Hamish
On Fri, 11 Mar 2005, Hamish wrote:
180 if [ ! "$GRASS_PAGER" ] ; then
181 if [ -x /bin/more ] ; then
182 GRASS_PAGER=more
183 else
184 GRASS_PAGER=less
185 fi
186 export GRASS_PAGEROn Mac OSX, "more" is in /usr/bin/. init.sh updated in CVS to look
there too before reverting to "less". Where is it on cygwin?
I don't think it is installed with a default Cygwin installation; perhaps that is where the original problem with hard-coded more came to light.
Anyway, from the GRASS SUBMITTING file:
21. If you write a shell script and search for a command in $PATH, do NOT
use the "which" command or the "type -p" command. Both commands are not
supported on all platforms, thus causing problems for some people. As an
alternative, please use code similar to the following shell script snippet
which will perform the same function. In this case, the path of the grass5
command is saved if grass5 is found in $PATH. This won't recognize aliased
command name.
# Search for grass5 command in user's path
for i in `echo $PATH | sed 's/^:/.
s/::/:.:/g
s/:$/:./
s/ /g'`
do
if [ -f $i/grass5 ] ; then
# Save the path of the grass5 command
GRASS_PATH=$i/grass5
# Use the first one in user's path
break
fi
done
So that's probably how the test should be done.
Paul