Changes between Initial Version and Version 3 of Ticket #3874


Ignore:
Timestamp:
11/08/17 23:16:05 (6 years ago)
Author:
egmont
Comment:

(I'm removing the first three paragraphs of your post, since it's utterly irrelevant, and hence might distract us from the actual problem. It does not matter at all where the text was copied from. The remaining last paragraph on its own is a valid bugreport: if you paste a text which ends in a newline, bracketed paste mode is disregarded.)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3874

    • Property Keywords paste wrap added
    • Property Cc egmont added
  • Ticket #3874 – Description

    initial v3  
    1 For example, the line is: 
    2 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 
    3  
    4 When wrap mode is on (F2), the line is displayed in mc viewer as: 
    5 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/ 
    6 24.6.0 
    7  
    8 I select this wrapped line with a mouse and then paste it.  
    9  
    101With bash-4.4/readline-7.0 if I put "set enable-bracketed-paste on" in ~/.inputrc, pasting a string with EOLs does not execute it. But with mc there is one problem. If I launch mc, press Ctrl-O and paste, it gets executed. But if I paste again, it does not. Or if I launch mc, press Ctrl-O, press Enter and then paste - it does not paste EOLs too.