bugGNU Octave - Bugs: bug #53632, [MXE] long text strings echoed to...


bug #53632: [MXE] long text strings echoed to screen extend beyond terminal border

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Fri 13 Apr 2018 08:40:06 AM UTC
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  * Open
Release:  * dev Operating System:  * Microsoft Windows
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Sun 05 Aug 2018 03:05:19 PM UTC, comment #1: 

The correct place to look is probably in libgui/qterminal/libqterminal/win32/QWinTerminalImpl.cpp.
But it'll be probably be a little bit more complicated than just changing one number. The interaction between the Windows Console on one side and the Qt widget in the GUI on the other side isn't so easy too follow imho...

Markus M├╝tzel <mmuetzel>
Project Member
Fri 13 Apr 2018 08:40:06 AM UTC, original submission:  

See attached pic.

The long text (variable "txt") isn't wrapped at the terminal pane's border but is wrapped at ht apparently looks like some hidden default maximum terminal width.

For reference, the help txt for e.g., clc is about 80 (or is it 72?) chars wide.

IMO this is a minor issue, but it's often deceiving when working on long strings (e.g., when dealing with XML).

I this is intentional, e.g., because of the known terminal pane deficiencies in the GUI on windows, it would be nice if the default terminal width could be made configurable.
Or if not feasible, where in the code is it set? so that I can adapt it in my own builds.

Philip Nienhuis <philipnienhuis>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by philipnienhuis (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 project members can vote.





    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-13 philipnienhuis Attached File- Added Win_txt_truncae.PNG, #43909

    Back to the top

    Powered by Savane 3.9