On Jun 2, 2013 10:06 PM, "Bram Moolenaar" <[email protected]> wrote: > > > This item has been in the todo list for a very long time: > > Python: ":py raw_input('prompt')" doesn't work. (Manu Hack) > > It's nasty, I have to kill -9 Vim to get out. > > It appears Python tries reading from a file descriptor in a way that it > doesn't work and CTRL-C doesn't get us out. Does anyone have an idea to > fix this, or work around it? Or at least make it fail, so that Vim > doesn't freeze?
You can use kill -INT to unfreeze vim. I do not know though how to fix this. I also would not fix specifically this problem: anybody may complain that :py while True: pass also freezes vim, but you don't have kill -INT workaround working. In fact, it is what @Marc Weber is saying about KeyboardInterrupt's. > -- > Never go to the toilet in a paperless office. > > /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ > /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/\\\ > \\\ an exciting new programming language -- http://www.Zimbu.org /// > \\\ help me help AIDS victims -- http://ICCF-Holland.org /// > > -- > -- > You received this message from the "vim_dev" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to the Google Groups "vim_dev" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
