[GRASS-dev] [GRASS GIS] #2225: Improvements python shell

GRASS GIS trac at osgeo.org
Mon Mar 24 01:34:12 PDT 2014


#2225: Improvements python shell
-------------------------+--------------------------------------------------
 Reporter:  jradinger    |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Python       |     Version:  unspecified              
 Keywords:               |    Platform:  Linux                    
      Cpu:  x86-32       |  
-------------------------+--------------------------------------------------
 There are 3 small issues where the GUI python shell (tested in G7) can be
 greatly improved:

 1) Unlike other command shells it is possible to move the cursor to
 positions even before the first position (indicated by the ">>>" symbol. I
 don't know if this is a desired effect or is useful in any case?

 2) When copy-pasting two python command into the shell, only one (the
 first) one is processed. E.g.:

 grass.read_command("g.version")
 grass.read_command("g.version", flags="e")
 GRASS 7.0.svn (2014)

 3) At the moment it is not possible to get past commands (command history
 like in the Terminal) with the arrow up key. Using the arrow key causes
 the cursor moving up (see issue 1)

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2225>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list