When you have started WinGRASS 6.0 (which you know is the regular GRASS 6.0 which has been adapted to run on computers with Windows operating system), your desktop will look like this:
CLICK TO ENLARGE
On the left is the Bash window.
This is equivalent to the "terminal window" described in earlier tutorials. It is a terminal for the Linux environment which GRASS must have to run, but which has been made to run on a computer running under Windows. It is similar in many ways to the window one sees in Windows, by using Start, Run, Cmd (or what was formerly the MS-Dos window), except that it is advanced a step, in that GRASS 6.0 is already running. Those with experience in MS-Dos will find that executing commands from the command prompt (on on the command line, as it is sometimes called), is very similar to the way it was done in MS-dos. There is a reason for this: MS-dos was designed to emulate many of the features of UNIX. It very dissimilar to the Windows Cmd window in that it capable of executing 4 "layers" of commands:
While it is possible to execute other than GRASS commands in the Bash window, it is usually inadvisable to do so, since the results can cause harm or are often unpredictable.
We will only be concerned in this session with the GRASS commands.
In early versions of GRASS, the only way to execute commands was from the "command line" in a terminal window similar to this.
More recent versions of GRASS have added an easier-to-use "graphical user interface" (GUI, for short) or as it is sometimes called, the "display manager". This is what is normally displayed on the right side of your desktop (or wherever you chose to drag it with your mouse). It looks like this:
Operating the GUI will feel familiar to a Windows user. One can start the process of executing a command by left-clicking with a mouse the appropriate heading across the top of the screen, and proceed to "drill down" by left-clicking on appropriate sub-headings until the desired command is located.
Most commands that can be executed from the Bash window can be executed from the GUI. So one is presented with alternative methods for executing almost all commands:
However, the GUI is not a complete replacement for the Bash window. A listing of GRASS commands not yet included in the Display Manager may be found in the Command listings (GUI order)
It is perhaps useful to think of it as a graphical database of macros for executing the commands that can be executed from the command prompt in the Bash window. When a command is executed on the GUI, there is a display on the GUI showing text versions of the command and the output, very similar to that which would have been displayed in the Bash window had the command been executed there.
In one case, both displays are required:
If in the GUI, you use the menu selections
If, we select the Bash window, by clicking on its blue top bar, then press
The Bash window display may be scrolled up and down by clicking on the scroll bar on the right:
Some similarities to normal Windows operation: