[GRASS-user] readline completion under bash

Hamish hamish_b at yahoo.com
Fri Sep 19 09:09:20 EDT 2008


Craig Leat wrote:
> I'm working on my paper for FOSS4G2008 and was about to say something
> about the lack of command completion in GRASS

http://grass.osgeo.org/wiki/GRASS_AddOns#Readline_completion
http://www.sorokine.info/grass-complete/
http://grass.osgeo.org/download/addons.php

> when I remembered seeing the option "--with-readline" in the configure
> script. I can't find anything on readline (besides the configure option)
> in the html docs and I'm left wondering how to get this working under
> bash. Is readline completion available in the svn source

compiled-in readline support is only used with r.mapcalc.

> or do I need an add-on?

as above. I don't know if it will work with GRASS 6, maybe a keen user
might like to update it. tab-completion for mapname and column names
would be cool.

> Ps A search of the ML archives for "readline completion" returned zero
> hits.

Which search engine? using Gmane's search I found 18 in .user and 19 in
..devel, using the website's google search some are found too.
 http://news.gmane.org/gmane.comp.gis.grass.devel
 http://news.gmane.org/gmane.comp.gis.grass.user


Hamish



      



More information about the grass-user mailing list