[GRASS-user] When starting grass in text mode,why... ? (Question of minor importance)

nikos.alexandris at felis.uni-freiburg.de nikos.alexandris at felis.uni-freiburg.de
Thu Jan 17 06:59:03 EST 2008


Very LONG Post!

nik at vertical:/usr/local/grass-6.3.0RC4/etc$ grass63 -text
+ trap echo 'User break!' ; exit 2 3 15
+ GRASS_PERL=/usr/bin/perl
+ export GRASS_PERL
+ GRASS_SH=/bin/sh
+ export GRASS_SH
+ GRASS_VERSION=6.3.0RC4
+ export GRASS_VERSION
+ CMD_NAME=grass63
+ uname -s
+ SYSTEM=Linux
+ GRASS_GUI=text
+ shift
+ GIS_LOCK=4836
+ export GIS_LOCK
+ GISRCRC=/home/nik/.grassrc6
+ [  ]
+ pwd
+ PWD=/usr/local/grass-6.3.0RC4/etc
+ whoami
+ USER=nik
+ tmp=/tmp/grass6-nik-4836
+ umask 077
+ mkdir /tmp/grass6-nik-4836
+ GISRC=/tmp/grass6-nik-4836/gisrc
+ export GISRC
+ cat /home/nik/.grassrc6
+ grep UNKNOWN
+ [ 1 -eq 0 ]
+ [ -f /home/nik/.grassrc6 ]
+ cp /home/nik/.grassrc6 /tmp/grass6-nik-4836/gisrc
+ [ 0 -eq 1 ]
+ [ ! text ]
+ [ text = gui ]
+ ETC=/usr/local/grass-6.3.0RC4/etc
+ [  ]
+ [  ]
+ echo en_GB.UTF-8
+ sed s/\(..\)\(.*\)/\1/
+ LCL=en
+ [ -n  ]
+
PATH=/usr/local/grass-6.3.0RC4/bin:/usr/local/grass-6.3.0RC4/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
+ export PATH
+ [ !  ]
+ LD_LIBRARY_PATH=/usr/local/grass-6.3.0RC4/lib
+ export LD_LIBRARY_PATH
+ GRASS_LD_LIBRARY_PATH=/usr/local/grass-6.3.0RC4/lib
+ export GRASS_LD_LIBRARY_PATH
+ [ !  ]
+ [ -x /bin/more ]
+ GRASS_PAGER=more
+ export GRASS_PAGER
+ [ !  ]
+ GRASS_TCLSH=tclsh
+ export GRASS_TCLSH
+ [ !  ]
+ GRASS_WISH=wish
+ export GRASS_WISH
+ [ !  ]
+ GRASS_PYTHON=python
+ export GRASS_PYTHON
+ [ !  ]
+ [  ]
+ [  -o  ]
+ echo
/usr/local/grass-6.3.0RC4/bin:/usr/local/grass-6.3.0RC4/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
+ sed s/^:/.:/
                                s/::/:.:/g
                                s/:$/:./
                                s/:/ /g
+ [ -f /usr/local/grass-6.3.0RC4/bin/htmlview ]
+ [ -f /usr/local/grass-6.3.0RC4/bin/konqueror ]
+ [ -f /usr/local/grass-6.3.0RC4/bin/mozilla ]
+ [ -f /usr/local/grass-6.3.0RC4/bin/mozilla-firefox ]
+ [ -f /usr/local/grass-6.3.0RC4/bin/opera ]
+ [ -f /usr/local/grass-6.3.0RC4/bin/netscape ]
+ [ -f /usr/local/grass-6.3.0RC4/bin/dillo ]
+ [ -f /usr/local/grass-6.3.0RC4/scripts/htmlview ]
+ [ -f /usr/local/grass-6.3.0RC4/scripts/konqueror ]
+ [ -f /usr/local/grass-6.3.0RC4/scripts/mozilla ]
+ [ -f /usr/local/grass-6.3.0RC4/scripts/mozilla-firefox ]
+ [ -f /usr/local/grass-6.3.0RC4/scripts/opera ]
+ [ -f /usr/local/grass-6.3.0RC4/scripts/netscape ]
+ [ -f /usr/local/grass-6.3.0RC4/scripts/dillo ]
+ [ -f /usr/local/sbin/htmlview ]
+ [ -f /usr/local/sbin/konqueror ]
+ [ -f /usr/local/sbin/mozilla ]
+ [ -f /usr/local/sbin/mozilla-firefox ]
+ [ -f /usr/local/sbin/opera ]
+ [ -f /usr/local/sbin/netscape ]
+ [ -f /usr/local/sbin/dillo ]
+ [ -f /usr/local/bin/htmlview ]
+ [ -f /usr/local/bin/konqueror ]
+ [ -f /usr/local/bin/mozilla ]
+ [ -f /usr/local/bin/mozilla-firefox ]
+ [ -f /usr/local/bin/opera ]
+ [ -f /usr/local/bin/netscape ]
+ [ -f /usr/local/bin/dillo ]
+ [ -f /usr/sbin/htmlview ]
+ [ -f /usr/sbin/konqueror ]
+ [ -f /usr/sbin/mozilla ]
+ [ -f /usr/sbin/mozilla-firefox ]
+ [ -f /usr/sbin/opera ]
+ [ -f /usr/sbin/netscape ]
+ [ -f /usr/sbin/dillo ]
+ [ -f /usr/bin/htmlview ]
+ [ -f /usr/bin/konqueror ]
+ [ -f /usr/bin/mozilla ]
+ [ -f /usr/bin/mozilla-firefox ]
+ [ -f /usr/bin/opera ]
+ GRASS_HTML_BROWSER=opera
+ break
+ [ ! opera ]
+ export GRASS_HTML_BROWSER
+ [  = arm ]
+ [ !  ]
+ GRASS_GNUPLOT=gnuplot -persist
+ export GRASS_GNUPLOT
+ [ !  ]
+ GRASS_PROJSHARE=/usr/local/share/proj
+ export GRASS_PROJSHARE
+ [ ! -f /tmp/grass6-nik-4836/gisrc ]
+ echo Cleaning up temporary files.....
Cleaning up temporary files.....
+ /usr/local/grass-6.3.0RC4/etc/clean_temp
+ echo Starting GRASS ...
Starting GRASS ...
+ [ :0.1 -o  ]
+ [ text = wx ]
+ [ text = tcltk ]
+ [ text = gis.m ]
+ [ text = d.m ]
+ [ 0 = 0 ]
+ TCLTKGRASSBASE=/usr/local/grass-6.3.0RC4/etc
+ WXPYTHONGRASSBASE=/usr/local/grass-6.3.0RC4/etc/wx
+ [ -f /tmp/grass6-nik-4836/gisrc ]
+ awk $1 !~ /GRASS_GUI/ {print} /tmp/grass6-nik-4836/gisrc
+ echo GRASS_GUI: text
+ mv -f /tmp/grass6-nik-4836/gisrc.4836
/tmp/grass6-nik-4836/gisrc
+ [ !  ]
+ LOCATION=
+ [ !  ]
+ /usr/local/grass-6.3.0RC4/etc/set_data

+ g.gisenv GISDBASE
+ GISDBASE=/home/nik/GeoData/Unsorted
+ g.gisenv LOCATION_NAME
+ LOCATION_NAME=CH1903_LV03
+ g.gisenv MAPSET
+ MAPSET=ForStefan
+ [ -z /home/nik/GeoData/Unsorted ]
+ [ -z CH1903_LV03 ]
+ [ -z ForStefan ]
+ LOCATION=/home/nik/GeoData/Unsorted/CH1903_LV03/ForStefan
+
lockfile=/home/nik/GeoData/Unsorted/CH1903_LV03/ForStefan/.gislock
+ /usr/local/grass-6.3.0RC4/etc/lock
/home/nik/GeoData/Unsorted/CH1903_LV03/ForStefan/.gislock
4836
+ [  ]
+ trap  2 3 15
+ [  ]
+ basename /bin/bash
+ sh=bash
+ shellname=Bash Shell
+ [ ! -x /bin/bash ]
+ [ -n  ]
+ echo GRASS GUI should be text
GRASS GUI should be text
+ [  ]
+ [ -z  ]
+ tput clear

























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

+ [ -f /usr/local/grass-6.3.0RC4/locale/en/etc/welcome ]
+ cat /usr/local/grass-6.3.0RC4/etc/welcome
Welcome to GRASS 6.3.0RC4 (2008) 
+ echo GRASS homepage:
                         http://grass.osgeo.org/
GRASS homepage:
                         http://grass.osgeo.org/
+ echo This version running thru:               Bash Shell
(/bin/bash)
This version running thru:               Bash Shell
(/bin/bash)
+ echo Help is available with the command:      g.manual -i
Help is available with the command:      g.manual -i
+ echo See the licence terms with:              g.version
-c
See the licence terms with:              g.version -c
+ echo Start the graphical user interface with: gis.m
Start the graphical user interface with: gis.m
+ echo When ready to quit enter:                exit
When ready to quit enter:                exit
+ echo

+ USERHOME=/home/nik
+ HOME=/home/nik/GeoData/Unsorted/CH1903_LV03/ForStefan
+ export HOME
+
bashrc=/home/nik/GeoData/Unsorted/CH1903_LV03/ForStefan/.bashrc
+ rm -f
/home/nik/GeoData/Unsorted/CH1903_LV03/ForStefan/.bashrc
+ echo test -z  && . /etc/profile
+ echo test -r ~/.alias && . ~/.alias
+ echo PS1='GRASS 6.3.0RC4 (CH1903_LV03):\w > '
+ echo
PROMPT_COMMAND=/usr/local/grass-6.3.0RC4/etc/prompt.sh
+ [ -r /home/nik/.grass.bashrc ]
+ echo export
PATH="/usr/local/grass-6.3.0RC4/bin:/usr/local/grass-6.3.0RC4/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
+ echo export HOME="/home/nik"
+ /usr/local/grass-6.3.0RC4/etc/run /bin/bash
To run a command as administrator (user "root"), use "sudo
<command>".
See "man sudo_root" for details.

To run a command as administrator (user "root"), use "sudo
<command>".
See "man sudo_root" for details.

GRASS 6.3.0RC4 (CH1903_LV03):/usr/local/grass-6.3.0RC4/etc
>


On Wed, 16 Jan 2008 20:05:20 -0800 (PST)
 Hamish <hamish_b at yahoo.com> wrote:
> Nikos:
> > > Why does it apper twice?
> 
> Hamish:
> > >or why even once?
> > >some command called by Init.sh or .grass.bashrc is
> trying to run
> > >something outside of its permissions?? GRASS should
> never need more
> > >than user permission after installation.
>  
> Eric:
> > The later versions of Ubuntu have been using dash
> instead of bash,
> > and these messages started printing 
> > on Ubuntu machines around the same time. I get it
> printing on both my
> > Ubuntu 7.10's. I believe it's a dash issue, not a Grass
> issue; there
> > was a thread about this sometime a while back in the
> archives, I
> > think, but I can't find it now.
> 
> could you try editing your $GISBASE/etc/Init.sh file and
> change the top
> line to "#!/bin/sh -x". That will show gratuitous script
> progress info
> and hopefully tell us which command is causing that
> message.
> 
> 
> Hamish
> 
> 
> 
>
      ____________________________________________________________________________________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now.
>
 http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
       


More information about the grass-user mailing list