<p dir="ltr">Would I miss any functionalities by using prompt.sh? I mean other than portability between OSs, does prompt.py provide other benefits? If there's nothing to lose in Unix by falling back to prompt.sh, I'd like to bring it into 7 and let the user choose. Maybe if the user is in Unix, there is no reason at all to use prompt.py? </p>

<p dir="ltr">I don't know about Windows, but what benefits would this python startup bring compared to native cmd.exe? Just wondering... </p>
<div class="gmail_quote">On May 10, 2014 2:11 PM, "GRASS GIS" <<a href="mailto:trac@osgeo.org">trac@osgeo.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
#2284: Keep pressing Ctrl+C in command line<br>
-------------------------+--------------------------------------------------<br>
 Reporter:  hcho         |       Owner:  grass-dev@…<br>
     Type:  enhancement  |      Status:  new<br>
 Priority:  normal       |   Milestone:  7.0.0<br>
Component:  Startup      |     Version:  svn-trunk<br>
 Keywords:               |    Platform:  Linux<br>
      Cpu:  x86-64       |<br>
-------------------------+--------------------------------------------------<br>
<br>
Comment(by glynn):<br>
<br>
 Replying to [ticket:2284 hcho]:<br>
<br>
 > Can we fix this? Or can we opt to use the old init.sh, which I think is<br>
 gone now?<br>
<br>
 There's no reason to revert to init.sh, but we could replace prompt.py<br>
 with the bash version (prompt.sh) from 6.x. The prompt script is only used<br>
 if you're using bash as your shell, so portability isn't an issue.<br>
<br>
 You can disable the fancy prompt with "unset PROMPT_COMMAND".<br>
<br>
 The error could probably be avoided by wrapping the entire prompt.py<br>
 script in a try/except block, but that wouldn't help with performance.<br>
 Ignoring the signal wouldn't work reliably, because you'd have to import<br>
 the signal module first, and any signal raised during that time would<br>
 still result in the KeyboardInterrupt exception.<br>
<br>
--<br>
Ticket URL: <<a href="http://trac.osgeo.org/grass/ticket/2284#comment:1" target="_blank">http://trac.osgeo.org/grass/ticket/2284#comment:1</a>><br>
GRASS GIS <<a href="http://grass.osgeo.org" target="_blank">http://grass.osgeo.org</a>><br>
<br>
</blockquote></div>