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

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

[Octave-bug-tracker] [bug #61051] Alignment of title fields in whos() is


From: Rik
Subject: [Octave-bug-tracker] [bug #61051] Alignment of title fields in whos() is incorrect after call to help
Date: Tue, 17 Aug 2021 14:01:26 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36

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

                 Summary: Alignment of title fields in whos() is incorrect
after call to help
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Tue 17 Aug 2021 11:01:25 AM PDT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

Weird behavior, but easy to reproduce.


run-octave -q
octave:1> whos
Variables visible from the current scope:

variables in scope: top scope

  Attr   Name        Size                     Bytes  Class
  ====   ====        ====                     =====  ===== 
         ans         1x20                        20  char

Total is 20 elements using 20 bytes

octave:2> more off
octave:3> help ls
octave:4> whos
Variables visible from the current scope:

variables in scope: top scope

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

Total is 1 element using 8 bytes


The "Attr" title is mis-aligned.  My guess is that Octave pr-output routine
assumes the C++ ostream is in a certain state rather than initializing it to
the values we want.  




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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