bugGNU Octave - Bugs: bug #50283, `help sym` from symbolic package...

 
 

bug #50283: `help sym` from symbolic package results in corrupt "less" output

Submitter:  None
Submitted:  Sun 12 Feb 2017 03:25:03 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Need Info Assigned to:  None
Originator Name:  Mingye Wang Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.2.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 10 Mar 2019 06:49:37 PM UTC, comment #7: 

No response, asumming this has been fixed in the latest release.  Closing report.

Rik <rik5>
Group administrator
Sun 03 Mar 2019 06:33:36 AM UTC, comment #6: 

Version 4.2.0 is deprecated and no longer supported.  Please try with the latest stable release which is 5.1.0.  The problem is likely to have been fixed.

Rik <rik5>
Group administrator
Wed 19 Sep 2018 09:25:36 PM UTC, comment #5: 

The Windows distribution of Octave has been modernized to use msys2. This is not in any released builds yet, but it will be part of the Octave 5 release. Can someone affected by this bug test an msys2-enabled snapshot build of Octave 5, or when the official release is made, to see whether this is fixed or still present?

Mike Miller <mtmiller>
Group Member
Fri 17 Feb 2017 01:09:09 AM UTC, comment #4: 

No. Patching the module gets rid of the perl warning, but not the "less" problems discussed in this bug.

Mingye Wang <arthur2e5>
Fri 17 Feb 2017 12:52:15 AM UTC, comment #3: 

Is this fixed by patching the Perl utf8_heavy module, according to the discussion on bug #49839 (specifically file #39225 in that bug report) and on https://github.com/cbm755/octsympy/issues/610?

Mike Miller <mtmiller>
Group Member
Sun 12 Feb 2017 03:47:48 AM UTC, comment #2: 

Additional tests: "help help" and "help imtransform" looks fine. "help syms", "help @sym/taylor" are equally broken in 4.2.0 GUI.

Mingye Wang <arthur2e5>
Sun 12 Feb 2017 03:28:57 AM UTC, comment #1: 

[...]



>> pkg load symbolic
>> help sym
Use of uninitialized value in lc at /usr/lib/perl5/5.8/utf8_heavy.pl line 123.
'sym' is a function from the file C:\Octave\Octave-4.2.9\share\octave\packages\symbolic-2.5.0\@sym\sym.m

 -- Constructor on @sym: X = sym (Y)
 -- Constructor on @sym: X = sym (Y, ASSUMESTR)
[cursor goes here]


A few 'f's ahead, some text gets skipped (compare this to the correct comments in sym.m from the package):


[identical part omitted]

 -- Constructor on @sym: X = sym (Y)
 -- Constructor on @sym: X = sym (Y, ASSUMESTR)

     A matrix can be input:
          sym ([1 2; 3 4])
(true)[another f ahead]
ymbol:
          x = sym ('x', 'positive')
[another f ahead]: for discussion of the
     details

     See also: syms, assumptions, @sym/assume, @sym/assumeAlso.

[normal  "Additional help" paragraphs]
-- less -- (f)orward, (b)ack, (q)uit


(The "symbolic" package is located at https://octave.sourceforge.io/symbolic/.)

Mingye Wang <arthur2e5>
Sun 12 Feb 2017 03:25:03 AM UTC, original submission:  

OS: Windows 10, build 15031 (weird one);
Build: Octave 4.2.0, Windows x64, grabbed from ftp.gnu.org
Previous build: Octave 4.0.0, Windows x86, something that installs to C:\Octave\Octave-4.0.0

Steps to reproduce:

  1. Install the symbolic package from octave-forge. Since "pkg install -forge" never works for me, I grabbed the tarball and manually ran "pkg install symbolic-2.5.0.tar.gz".
  2. Load the package by running "pkg load symbolic"
  3. Run "help sym".


Output prior to regression (broken in another way):


Output is paged into multiple less pages. A few navigations forward with "f" shows mojibake typical of decoding UTF-8 characters into certain Windows code pages. (cp1252/cp437 in my case, I guess).

Current more broken output:


Output seems paged into multiple pages, but the navigation prompt is not visible. Only the first few lines are printed, along with a perl warning that also flushed the screen during installation: (Transcripted by hand; less doesn't want me to copy it?)


>> pkg load symbolic
>> help sym
Use of uninitialized value in lc at /usr/lib/perl5/5.8/utf8_heavy.pl line 123.
'sym' is a function from the file C:\Octave\Octave-4.2.9\share\octave\packages\symbolic-2.5.0\@sym\sym.m

 -- Constructor on @sym: X = sym (Y)
 -- Constructor on @sym: X = sym (Y, ASSUMESTR)
[cursor goes here]
+verbatim

A few 'f's ahead, some text gets skipped (compare this to the correct comments in sym.m from the package):

+verbatim+
[identical part omitted]

 -- Constructor on @sym: X = sym (Y)
 -- Constructor on @sym: X = sym (Y, ASSUMESTR)

     A matrix can be input:
          sym ([1 2; 3 4])
(true)[another f ahead]
ymbol:
          x = sym ('x', 'positive')
[another f ahead]: for discussion of the
     details

     See also: syms, assumptions, @sym/assume, @sym/assumeAlso.

[normal  "Additional help" paragraphs]
-- less -- (f)orward, (b)ack, (q)uit


(The "symbolic" package is located at https://octave.sourceforge.io/symbolic/.)

Anonymous

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by arthur2e5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-10 rik5 Open/ClosedOpen Closed
    2018-09-19 mtmiller Carbon-CopyRemoved 80942 -
    2017-02-17 mtmiller StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code