[GRASS-dev] [GRASS GIS] #2284: Keep pressing Ctrl+C in command line

GRASS GIS trac at osgeo.org
Sat May 10 06:31:14 PDT 2014


#2284: Keep pressing Ctrl+C in command line
-------------------------+--------------------------------------------------
 Reporter:  hcho         |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Startup      |     Version:  svn-trunk                
 Keywords:               |    Platform:  Linux                    
      Cpu:  x86-64       |  
-------------------------+--------------------------------------------------
 Since we changed the init script to python, I've been getting the
 following message whenever I keep pressing Ctrl+C in command line:
 {{{
 ^CTraceback (most recent call last):
   File "/home/grass/trunk/dist.x86_64-unknown-linux-gnu/etc/prompt.py",
 line 3, in <module>
     import os
 KeyboardInterrupt
 }}}

 It doesn't cause any real problems, but it doesn't look nice. Also, the
 overall responsiveness of the prompt became much slower than when we were
 in init.sh.

 Can we fix this? Or can we opt to use the old init.sh, which I think is
 gone now?

 I believe the main motivation of this migration to python was to support
 MS-Windows, but it somehow hurts performance on Unix.

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



More information about the grass-dev mailing list