[GRASS5] New feature: GRASS-specific completion for bash

Alexandre Sorokine sorokin at vtt.co.jp
Thu May 23 23:51:05 EDT 2002


Bernard,

Bernhard Reiter wrote:
> First make it available for us developers somehow so we can take a look.
> Can you place it on some server and mail an URL?

Here it is: http://www.acsu.buffalo.edu/~sorokine/complete/

> Can you make it a package that can be easily installed with grass5.0.0pre4?

Surely I can.  Where sould my scripts go on the GRASS directory tree?

> If it is nice and after some testing 
> we can add it to the CVS repository later.
> 
> 
> On Tue, May 21, 2002 at 04:01:55PM -0400, Alexandre Sorokine wrote:
> 
>>Hi All!
>>
>>I have written a series of shell scripts that setup GRASS-specific 
>>completions in bash.  Example how it works: you type in any of GRASS 
>>commands, e.g. d.rast and press <TAB>.  Then you get a list of options 
>>for that command.  You type in the first  letter of an option, then 
>>press <TAB> and it completes to a full option.  When a command needs a 
>>list of raster names, <TAB> will complete on raster names, and so on.  I 
>>have been using this feature for a while with some of GRASS commands and 
>>I have found it rather convenient.  Now  I have a version that support 
>>all GRASS commands.  Who can guide me on how to add it to GRASS 
>>distribution
> 
> ?



-- 
Alexandre Sorokine
Department of Geography
University at Buffalo
mailto:sorokine at buffalo.edu




More information about the grass-dev mailing list