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

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

[Octave-bug-tracker] [bug #65107] "more on" places extra newline in octa


From: Rik
Subject: [Octave-bug-tracker] [bug #65107] "more on" places extra newline in octave_stdout
Date: Tue, 2 Jan 2024 17:45:17 -0500 (EST)

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

                 Summary: "more on" places extra newline in octave_stdout
                   Group: GNU Octave
               Submitter: rik5
               Submitted: Tue 02 Jan 2024 02:45:15 PM PST
                Category: Libraries
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 02 Jan 2024 02:45:15 PM PST By: Rik <rik5>
This is a very minor issue, but I still don't see why it needs to happen so I
will report it.

Steps to reproduce

1) Edit ".octaverc" file in current directory and add "more on"
2) Run "octave -V"

Observe


executing commands from /XXX/.octaverc ... 
done.


The word "done." appears on a newline, instead of appearing on the same line
as the ellipses.

The code at pt-eval.cc:2189 is


  if (verbose)
    //octave_stdout << "done." << std::endl;
    std::cout << "done." << std::endl;


If I comment out the use of "octave_stdout" then the word appears on the
correct line.

This is really trivial, but maybe jwe knows why this is happening?







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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