[GRASS-dev] GRASS 7: Interactive startup needed - how to avoid?

Hi,

currently no way to start GRASS as I am used to do:

grass70 ~/grassdata/spearfish60/neteler/
Cleaning up temporary files ...
Starting GRASS ...
GISDBASE, LOCATION_NAME and MAPSET variables not set properly.
Interactive startup needed.

Could the CMD line startup added again? I am not much inclined to set
three variables manually when the shell history remembers so nicely
previous calls (CTRL-R <few chars> in bash!).

?
Markus

Markus wrote:

Could the CMD line startup added again? I am not much inclined to
set three variables manually

yes, please. consider GRASS_BATCH_FILE too.

when the shell history remembers so nicely
previous calls (CTRL-R <few chars> in bash!).

OT tip:
create a file ~/.inputrc and put this in it:

set prefer-visible-bell

# -------- Bind page up/down wih history search ---------
"\e[5~": history-search-backward
"\e[6~": history-search-forward

then you can type a few letters and use PgUp, PgDn instead of Bash's
less friendly ctrl-r way. Anyway for me it is much nicer to use and I
can't understand why user focused distros don't set that up by default.

OT tip2: more signal by not recording duplicates in .history file:
export HISTCONTROL=ignoredups

Hamish

Markus Neteler wrote:

currently no way to start GRASS as I am used to do:

grass70 ~/grassdata/spearfish60/neteler/
Cleaning up temporary files ...
Starting GRASS ...
GISDBASE, LOCATION_NAME and MAPSET variables not set properly.
Interactive startup needed.

It doesn't like the trailing slash; it causes the empty string after
the trailing slash to be treated as the mapset.

Try r38468.

--
Glynn Clements <glynn@gclements.plus.com>

On Mon, Jul 20, 2009 at 6:07 AM, Glynn Clements<glynn@gclements.plus.com> wrote:

Markus Neteler wrote:

currently no way to start GRASS as I am used to do:

grass70 ~/grassdata/spearfish60/neteler/
Cleaning up temporary files ...
Starting GRASS ...
GISDBASE, LOCATION_NAME and MAPSET variables not set properly.
Interactive startup needed.

It doesn't like the trailing slash; it causes the empty string after
the trailing slash to be treated as the mapset.

Try r38468.

Excellent! Thanks.

Markus