Quantcast

[GHC] #6116: ctrl-c doesn't always work when entering text in ghci

classic Classic list List threaded Threaded
4 messages Options
GHC
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GHC] #6116: ctrl-c doesn't always work when entering text in ghci

GHC
#6116: ctrl-c doesn't always work when entering text in ghci
-----------------------------------------+----------------------------------
 Reporter:  judahj                       |          Owner:                  
     Type:  bug                          |         Status:  new            
 Priority:  normal                       |      Component:  Compiler        
  Version:  7.5                          |       Keywords:                  
       Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple
  Failure:  Incorrect result at runtime  |       Testcase:                  
Blockedby:                               |       Blocking:                  
  Related:                               |  
-----------------------------------------+----------------------------------
 With ghci-7.5.20120519 (on Mac and probably also Linux): type some text,
 then press ctrl-c.  Then type more text, and press ctrl-c again.  The
 first time you press ctrl-c, it starts a new line.  But the second time
 you press ctrl-c, nothing happens.  (Actually running code from within
 ghci resets this process.)

 This is a regression from the behavior of ghci-7.4.1, where every time you
 press ctrl-C it caused a new line to be printed.

 From my initial investigation, I think this was caused by ghc commit
 206c8fc3ebd64c40ae09742fdea09ffd0f915d5c, which was used to fix #2786.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6116>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
GHC
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [GHC] #6116: ctrl-c doesn't always work when entering text in ghci

GHC
#6116: ctrl-c doesn't always work when entering text in ghci
---------------------------------+------------------------------------------
    Reporter:  judahj            |       Owner:                            
        Type:  bug               |      Status:  new                        
    Priority:  high              |   Milestone:  7.6.1                      
   Component:  GHCi              |     Version:  7.5                        
    Keywords:                    |          Os:  Unknown/Multiple          
Architecture:  Unknown/Multiple  |     Failure:  Incorrect result at runtime
  Difficulty:  Unknown           |    Testcase:                            
   Blockedby:                    |    Blocking:                            
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * priority:  normal => high
  * difficulty:  => Unknown
  * component:  Compiler => GHCi
  * milestone:  => 7.6.1


Comment:

 Thanks for the report, I'll look into it.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6116#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
GHC
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [GHC] #6116: ctrl-c doesn't always work when entering text in ghci

GHC
In reply to this post by GHC
#6116: ctrl-c doesn't always work when entering text in ghci
---------------------------------+------------------------------------------
    Reporter:  judahj            |       Owner:                            
        Type:  bug               |      Status:  new                        
    Priority:  high              |   Milestone:  7.6.1                      
   Component:  GHCi              |     Version:  7.5                        
    Keywords:                    |          Os:  Unknown/Multiple          
Architecture:  Unknown/Multiple  |     Failure:  Incorrect result at runtime
  Difficulty:  Unknown           |    Testcase:                            
   Blockedby:                    |    Blocking:                            
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by marlowsd@…):

 commit 4b523bc139a05a52a58811623d638c43d398f245
 {{{
 Author: Simon Marlow <[hidden email]>
 Date:   Tue May 22 11:39:03 2012 +0100

     Don't remove the thread from interruptTargetThread on ^C (#6116)

  compiler/utils/Panic.lhs |   33 ++++++++++++++++++---------------
  1 files changed, 18 insertions(+), 15 deletions(-)
 }}}

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6116#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
GHC
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [GHC] #6116: ctrl-c doesn't always work when entering text in ghci

GHC
In reply to this post by GHC
#6116: ctrl-c doesn't always work when entering text in ghci
------------------------------------------+---------------------------------
  Reporter:  judahj                       |          Owner:                  
      Type:  bug                          |         Status:  closed          
  Priority:  high                         |      Milestone:  7.6.1          
 Component:  GHCi                         |        Version:  7.5            
Resolution:  fixed                        |       Keywords:                  
        Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple
   Failure:  Incorrect result at runtime  |     Difficulty:  Unknown        
  Testcase:                               |      Blockedby:                  
  Blocking:                               |        Related:                  
------------------------------------------+---------------------------------
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => fixed


--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6116#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Loading...