[GRASS-dev] grass in windows

Hi devs :slight_smile:

I’m a grass-in-Linux user but have to teach a grass course to windows users in two weeks… so, i used my mum’s pc (64 bits, with windows 7) to test the stuff

I was recomended to install 32 bits version from osgeo4w (https://trac.osgeo.org/osgeo4w/). So, I downloaded, run as administrator, selected only grass stable (grass702-rc1) and qgis stable (2.12). I left the rest as it was by default, accepted all the dependencies and let the thing download and install. Then, reboot because it asked for it. Starting grass from desktop icon works fine, all fine, except that the windows shell is so limited… no going back to previous command, no tab completion, no selecting, nor copy-paste… :frowning:

Then, I tested calling grass from MSYS shell, with the intention of getting some of linux shell funcionalities, but the command grass70 does not work… Attached, is a screenshot of the error i get…

So, i cannot start the program there… is there any tricks for that? Or simply not possible? Maybe I’m missing something when selecting packages at the installation…

Any hints, tips, tricks from grass-windows devs and users are highly appreciated and more than welcome :slight_smile:

Cheers! :slight_smile:
Vero

(attachments)

grass70_win.png

Hi Vero,

except that the windows shell is so limited... no going back to previous

command, no tab completion, no >selecting, nor copy-paste... :frowning:

that's a windows limitation, see

https://lists.osgeo.org/pipermail/grass-dev/2015-September/076500.html

for a possible extension

Then, I tested calling grass from MSYS shell, with the intention of
getting some of linux shell funcionalities,

some linux/unix goodies are available in the OSGeo4W windows shell: gawk,
more, less etc.

Then, I tested calling grass from MSYS shell

AFAICT starting winGRASS in the OSGeo4W msys shell is not maintained for a
long time.

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/grass-in-windows-tp5232791p5232807.html
Sent from the Grass - Dev mailing list archive at Nabble.com.

Hi again,

The following threads can possibly be additional sources for inspiration:

http://www.qgis.nl/2014/04/22/qgis-in-de-klas-onder-windows/?lang=en

https://lists.osgeo.org/pipermail/qgis-user/2015-February/030837.html

http://linfiniti.com/2011/05/building-custom-qgis-installers-for-windows/

···

Hi devs :slight_smile:

I’m a grass-in-Linux user but have to teach a grass course to windows users in two weeks… so, i used my mum’s pc (64 bits, with windows 7) to test the stuff

I was recomended to install 32 bits version from osgeo4w (https://trac.osgeo.org/osgeo4w/). So, I downloaded, run as administrator, selected only grass stable (grass702-rc1) and qgis stable (2.12). I left the rest as it was by default, accepted all the dependencies and let the thing download and install. Then, reboot because it asked for it. Starting grass from desktop icon works fine, all fine, except that the windows shell is so limited… no going back to previous command, no tab completion, no selecting, nor copy-paste… :frowning:

Then, I tested calling grass from MSYS shell, with the intention of getting some of linux shell funcionalities, but the command grass70 does not work… Attached, is a screenshot of the error i get…

So, i cannot start the program there… is there any tricks for that? Or simply not possible? Maybe I’m missing something when selecting packages at the installation…

Any hints, tips, tricks from grass-windows devs and users are highly appreciated and more than welcome :slight_smile:

Cheers! :slight_smile:

Vero

Then, I tested calling grass from MSYS shell, with the intention of getting

some of linux shell funcionalities, >but the command grass70 does not
work... Attached, is a screenshot of the error i get...

the issue seems to be here:

https://trac.osgeo.org/grass/browser/grass/trunk/mswindows/osgeo4w/grass.tmpl#L9

OSGEO4W_ROOT_MSYS="@OSGEO4W_ROOT_MSYS@"

if I change this line in

C:\OSGeo4W_use\bin\grass71svn

to

OSGEO4W_ROOT_MSYS="$OSGEO4W_ROOT"

at least it: Starting GRASS GIS...

although the GUI crashes.

I'll open a ticket.

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/grass-in-windows-tp5232791p5232845.html
Sent from the Grass - Dev mailing list archive at Nabble.com.