Having a nice Linux-like terminal for Microsoft Windows
Posted: Wed Jan 02, 2008 8:05 am
If you are running Linux or Mac OS X this topic is of no interest for you. It is only for Windows users who want to enjoy all command line options available with all the softwares shipped with sesarray.
If you are running geopsy -h from a MS-DOS terminal (if the PATH environment variable is properly set) you will get absolutely no output whereas under Linux you get some useful information. To get it, you can install MSYS for Microsoft Windows which is a Linux-like terminal. After installation you can run geopsy through it:
'\' is to "protect" the space in a directory name. If not present, the invoked command would have been: "/c/Program" which leads directly to an error. geopsy is assumed to be installed in "C:\Program Files\sesarray" (default). Note the different ways of specifying path in MSYS and in all other Microsoft Windows applications.
If you are a bit lazy, and you don't want to type the whole path to run geopsy, you have to add the installation path of geopsy into the PATH environment variable. Create a new file called ".profile" in your home directory:
Close MSYS terminal and restart it. Now just try it, type "geopsy -h" you should get something like:
If you are running geopsy -h from a MS-DOS terminal (if the PATH environment variable is properly set) you will get absolutely no output whereas under Linux you get some useful information. To get it, you can install MSYS for Microsoft Windows which is a Linux-like terminal. After installation you can run geopsy through it:
Code: Select all
/c/Program\ Files/sesarray/bin/geopsy -h
If you are a bit lazy, and you don't want to type the whole path to run geopsy, you have to add the installation path of geopsy into the PATH environment variable. Create a new file called ".profile" in your home directory:
Code: Select all
# Make sure you go home
cd
echo 'export PATH=/c/Program\ Files/sesarray/bin:$PATH' >> .profile
Code: Select all
Usage: geopsy [OPTIONS]
Graphical user interface for a geopsy database. To use tools from command line
interface, you must specify either a signal file (option -file) or a group
inside a database (options -db and -group).
Geopsy options:
-file <FILE> Load signal FILE
-db <FILE.gpy> Open database contained in FILE.gpy
...