octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60732] Crash of the command windows when past


From: Charles Praplan
Subject: [Octave-bug-tracker] [bug #60732] Crash of the command windows when pasting special characters (and other strange behaviors)
Date: Sat, 5 Jun 2021 04:42:30 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0

URL:
  <https://savannah.gnu.org/bugs/?60732>

                 Summary: Crash of the command windows when pasting special
characters (and other strange behaviors)
                 Project: GNU Octave
            Submitted by: charprap
            Submitted on: Sat 05 Jun 2021 08:42:28 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Consider the appended m-file, which only contains the 2 following lines:
disp('Ré');
%disp('Ré');

1)
When executing the appended m-file, everything is as expected: Ré is
displayed.

2)
When copying the two lines to the clipboard and pasting them into the command
windows, the command windows crashes!!!!


Additionally there are other strange behaviors:

3)
When selecting the first line only and executing it with F9, the result is
different from point 1: Ré 

4)
When copying the first line only (with CR) to the clipboard, pasting it into
the command windows, the result is as follows:

    >> d
    error: 'd' undefined near line 1, column 1
    >> i
    ans =  0 + 1i
    >> s
    error: 's' undefined near line 1, column 1
    >> p
    error: 'p' undefined near line 1, column 1
    >> (
    '
    error: parse error:
    
      syntax error
    
    >>> '
        ^
    >> R
    error: 'R' undefined near line 1, column 1
    >> ');
    error: parse error:
    
      unterminated character string constant
    
    >>> ');
          ^
5)
When copying the first line only (without CR), pasting it into the command
windows and pressing enter, the result is as for point 4 but additionally
there are 30 lines of semicolons displayed in the console.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 05 Jun 2021 08:42:28 AM UTC  Name: test.m  Size: 40B   By: charprap

<http://savannah.gnu.org/bugs/download.php?file_id=51516>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60732>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]