bugGNU Octave - Bugs: bug #56224, [Windows] Displaying char([194...

 
 

bug #56224: [Windows] Displaying char([194 160]) causes all following commands to result in just a prompt

Submitted by:  Richard Suchland <suchland>
Submitted on:  Fri 26 Apr 2019 11:52:07 PM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Confirmed Assigned to:  None
Originator Name:  Richard Suchland Open/Closed:  Open
Release:  5.1.0 Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Sat 04 May 2019 10:04:34 PM UTC, comment #6: 

Did some additional testing with the first character being char(226) and found that:
char([226 0:127]) works
tested and each failed
char([226 128])
char([226 129])
char([226 130])
char([226 131])
char([226 132])
char([226 133])
char([226 134])
char([226 135])
char([226 136])
char([226 191])
I assume 137:190 also fail
char(226 192:255]) worked

Richard Suchland <suchland>
Sat 27 Apr 2019 11:54:55 PM UTC, comment #5: 

I just got the same result displaying char([226 150)] in the GUI but not the CLI.

 variable = 12
whos variable
char(226)
whos variable
char(150)
whos variable
char([226 150])
whos variable
variable = 13
whos variable

Richard Suchland <suchland>
Sat 27 Apr 2019 11:50:57 PM UTC, comment #4: 

Correction to last comment:

Confirmed on Win-7.
after "char([194 160])" there is no output on the screen, but only
in GUI version.

Richard Suchland <suchland>
Sat 27 Apr 2019 09:15:18 PM UTC, comment #3: 

Confirmed on Win-10.
after "char(194)" there is no output on the screen, but only
in GUI version.

Avinoam Kalma <avinoam>
Project Member
Sat 27 Apr 2019 06:12:17 PM UTC, comment #2: 

I tried the CLI version and didn't see the reported problem.

Richard Suchland <suchland>
Sat 27 Apr 2019 04:55:27 PM UTC, comment #1: 

Testing on Linux is just fine.  This probably indicates that it is the Terminal Emulator in the Command Window which differs between platforms.

What happens if you run the CLI version of Octave rather than the GUI?

Rik <rik5>
Project Administrator
Fri 26 Apr 2019 11:52:07 PM UTC, original submission:  

After executing char([194 160]) all subsequent commands result in the >> prompt only.  The workspace window does show the proper result.
Here is a test case:

 variable = 12
whos variable
char(194)
whos variable
char(160)
whos variable
char([194 160])
whos variable
variable = 13
whos variable

results:

>> variable =  12

Variables in the current scope:

   Attr Name          Size                     Bytes  Class
   ==== ====          ====                     =====  =====
        variable      1x1                          8  double

Total is 1 element using 8 bytes

ans = �
Variables in the current scope:

   Attr Name          Size                     Bytes  Class
   ==== ====          ====                     =====  =====
        variable      1x1                          8  double

Total is 1 element using 8 bytes

ans = �
Variables in the current scope:

   Attr Name          Size                     Bytes  Class
   ==== ====          ====                     =====  =====
        variable      1x1                          8  double

Total is 1 element using 8 bytes

ans =

>>

Note that only three of the five whos commands get a result.

Note: I found this on version 5.1.0 but checked version 4.2.2 and 4.4.1 with the same result.
Also plotting does create a valid plot.

Richard Suchland <suchland>

 

(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

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-27 avinoam StatusNeed Info => Confirmed
    2019-04-27 rik5 StatusNone => Need Info
        SummaryDisplaying char([194 160]) causes all following commands to result in just a prompt => [Windows] Displaying char([194 160]) causes all following commands to result in just a prompt

    Back to the top


    Powered by Savane 3.5