bugGNU Octave - Bugs: bug #54335, add support for bracketed paste...

 
 

bug #54335: add support for bracketed paste mode in command terminal window

Submitted by:  S├ębastien Villemot <svillemot>
Submitted on:  Wed 18 Jul 2018 07:31:57 PM UTC  
 
Category:  GUI Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  4.4.0 Operating System:  GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 18 Jul 2018 08:32:17 PM UTC, comment #2:

I believe this is the project that our Unix terminal widget is based on:

https://github.com/lxqt/qtermwidget

Note that the Windows version of this terminal is separate, but made to provide a similar widget interface, at least as far as the Octave command window is concerned.

The current sources of qtermwidget do appear to handle bracketed cut and paste. However, we have made changes in our copy, so we can't simply update to the latest sources.

And, as Mike said, I'm not sure we want to keep this as the terminal implementation anyway. I'd prefer to unify the Unix and Windows command window widgets to eliminate the duplication.

John W. Eaton <jwe>
Project Administrator
Wed 18 Jul 2018 07:59:16 PM UTC, comment #1:

I've only read a little about this, but to clarify, I think that readline already supports this feature, therefore Octave already supports bracketed pasting as an input to its command line. The part that is broken here is the qterminal widget used in the GUI command window.

At the very least, I think we can patch our embedded copy of qterminal to simply discard these start and end sequences.

If we want to keep qterminal (not sure that we do), someone could look at updating the widget to actually support bracketed paste mode, or import patches if that has already been done to qterminal by someone else.

Mike Miller <mtmiller>
Project Administrator
Wed 18 Jul 2018 07:31:57 PM UTC, original submission:

Activating bracketed paste mode in ~/.inputrc via:
leads to messages like this in the terminal window:

For more background, see:

https://cirw.in/blog/bracketed-paste

and also the discussion in bug #49385.

S├ębastien Villemot <svillemot>

 

(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 jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by svillemot (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-07-18 mtmiller Severity3 - Normal => 1 - Wish
        Priority5 - Normal => 3 - Low
        Item GroupNone => Feature Request
        StatusNone => Confirmed

    Back to the top


    Powered by Savane 3.3