[GRASS-user] GRASS GIS and alternative command line terminals in Windows

Helmut Kudrnovsky hellik at web.de
Thu Nov 23 08:13:09 PST 2017


>For example copy and paste is complicated there

up from win 7 to win 10: you can do simply ctrl-c/ctrl-v e.g. to copy an
example from manual to cmd or if you want to copy something from cmd, just
mark this with the mouse, hit enter, and then ctrl-v.

>or tab completion

at least to complete filenames, e.g. yourgeo.tif; if you're in cmd in the
folder containing this file, just type the first character, hit tab and the
file name will be completed

>What I am looking for is a way to use GRASS GIS in UNIX like third party
terminals in windows, so that I >can use basic UNIX based commands.

simple unix commands like e.g. awk or grep etc are already there:

-----------------------
All attempts to enable English language have failed. GRASS running with C
locale.
If you observe UnicodeError in Python, install en_US.UTF-8 locale and
restart GRASS.
Cleaning up temporary files...
Starting GRASS GIS...
WARNING: Concurrent mapset locking is not supported on Windows

          __________  ___   __________    _______________
         / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
        / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
       / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
       \____/_/ |_/_/  |_/____/____/   \____/___//____/

Welcome to GRASS GIS 7.5.svn (r71800)
GRASS GIS homepage:                      http://grass.osgeo.org
This version running through:            Command Shell
(C:\WINDOWS\system32\cmd.exe)
Help is available with the command:      g.manual -i
See the licence terms with:              g.version -c
See citation options with:               g.version -x
If required, restart the GUI with:       g.gui wxpython
When ready to quit enter:                exit

Launching <wxpython> GUI in the background, please wait...
Microsoft Windows [Version 10.0.16299.64]
(c) 2017 Microsoft Corporation. Alle Rechte vorbehalten.

C:\>awk --version
GNU Awk 3.1.7
Copyright (C) 1989, 1991-2009 Free Software Foundation.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.

C:\>grep --version
GNU grep 2.5.4

Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


C:\>
-----------------------

I use this bundled unix tools here all the time in winGRASS. sometime you
can the use the windows equivalennt of these tools.






-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html


More information about the grass-user mailing list