bugGNU Octave - Bugs: bug #32380, Ctrl+C behavior on...

 
 

bug #32380: Ctrl+C behavior on octave-devepment version (MinGW)

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Mon 07 Feb 2011 07:04:42 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Other
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 17 Oct 2013 09:33:30 PM UTC, comment #3: 

Tried on 3.7.6+ MXE-built CLI.

Works properly now, AFAICS

Closing report.


Philip Nienhuis <philipnienhuis>
Group Member
Thu 17 Oct 2013 06:15:53 PM UTC, comment #2: 

Is this still a problem with the dev code that will become the 3.8 release?  It needs to be tested in the CLI environment since there are definite issues with Ctrl+C in the GUI environment.

Rik <rik5>
Group administrator
Fri 03 Feb 2012 01:45:14 PM UTC, comment #1: 

Works OK in 3.6.0 MinGW.

However, in the history (using up-arrow after first ctrlc call) I see:

octave:16> ctrlc
...?
octave:16> ctrlc[A

...so apparently the Ctlr-C keyboard sequence [A is gobbled and appended by the interpreter.

Philip Nienhuis <philipnienhuis>
Group Member
Mon 07 Feb 2011 07:04:42 PM UTC, original submission:  

http://octave.1599824.n4.nabble.com/testing-binary-of-octave-3-3-90-mingw32-is-uploaded-tp3243897p3244930.html

http://octave.1599824.n4.nabble.com/testing-binary-of-octave-3-3-90-mingw32-is-uploaded-tp3243897p3245552.html

forkandwait pointed out ctrl+c behavior strange for octave-devepment version (MinGW) .


# ctrlc.m :test script for Ctlr+C
for i = 1:10
  plot(1:10)
  x = input('...? ')
endfor


From octave prompt
octave:2> ctrlc
...? # <== press ctrl+C here

This works corect. However I excute
octave:2> ctrlc
...? # <== press ctrl+C here

The seconf time, ctrl+C is ignored.

For octave-3.2.4 on windows, ctrl+C without problem.

CTRL+C trap is perhaps realized by SetConsoleCtrlHandler.
The code is change from 3.2.4?

Tatsuro MATSUOKA <tmacchant>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by philipnienhuis (Posted a comment)
  • -email is unavailable- added by tmacchant (Submitted the item)
  • -email is unavailable- added by tmacchant
  • -email is unavailable- added by tmacchant
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-17 philipnienhuis StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2013-10-17 rik5 StatusNone Need Info
    2013-06-22 rik5 Dependencies- bugs #34632 is dependent
    2011-02-07 tmacchant Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code