[Bug 1232737] New: less and line wrapping on copy & paste
https://bugzilla.suse.com/show_bug.cgi?id=1232737 Bug ID: 1232737 Summary: less and line wrapping on copy & paste Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.6 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: opensuse@mike.franken.de QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- I have two machines still running openSUSE 15.5, one with 15.6 and two with Tumbleweed. Environment settings are exactly the same for LESS on all machines. Only on 15.6 less behaves different regarding line wrapping on cut & paste. When copying text from less output on 15.6 I get line breaks wherever line wrapping took place in the terminal window. On all other machines the text is pasted as is without line breaks, which would be the desired behavior on 15.6, too. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232737 https://bugzilla.suse.com/show_bug.cgi?id=1232737#c1 --- Comment #1 from Stefan Hundhammer <shundhammer@suse.com> --- I am pretty sure this is not at all about the 'less' command but about the terminal window that you use, both on the source and the destination of that copy & paste (it's not cut & paste because you are not cutting it out from the source window). I just checked with 'less' running inside an xfce4-terminal on my Leap 15.6, and copying and pasting to an Emacs window or to another xfce4-terminal window did not add any line breaks; it's the same when I do that from a plain old xterm into Emacs or xfce4-terminal or xterm. It also doesn't make a difference if I use X11 copy and paste (technically using the X11 "cut buffer #0") with marking text with the left mouse button and pasting it to another window with the middle mouse button; or instead using the context menu and using "copy" from there and the context menu in another window and "paste" there. So please check the differences in your desktop environment and in the terminal programs that you use. Are you using X11 or Wayland? What desktop environment: KDE Plasma, GNOME, Xfce or something else? What terminal emulator: KDE Konsole, GNOME terminal, xfce4-terminal, xterm? How do you do your copy & paste: With mouse selection and middle mouse for paste, with the context menu or with Ctrl-C and Ctrl-V? Do you have any clipboard applet running in your system tray? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232737 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Basesystem |Other -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232737 https://bugzilla.suse.com/show_bug.cgi?id=1232737#c2 --- Comment #2 from Stefan Hundhammer <shundhammer@suse.com> --- One more thing that you also might want to check is the $TERM variable. That is used to translate terminal operation into escape sequences, and to determine a terminal's capabilities via the 'terminfo' database. Typical values are 'xterm' for an old-style xterm and for many similar ones, and 'xterm-256color' for more advanced ones like xfce4-terminal. Check with echo $TERM -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232737 https://bugzilla.suse.com/show_bug.cgi?id=1232737#c3 Michael Hirmke <opensuse@mike.franken.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|NEW |RESOLVED --- Comment #3 from Michael Hirmke <opensuse@mike.franken.de> --- The machine with Tumbleweed is my client, from where I open the terminal windows via ssh to the 15.5 and 15.6 servers. On the client I use KDE with x11 and xfce4-terminal, TERM is set to xterm-256color. For connecting to the server machines also xfce4-terminal is used and also TERM is set to xterm-256color. Today I migrated the remaining Leap 15.5 machine to 15.6. - and the behavior was correct (meaning what I expected). Afterwards I also checked the 15.6 machine, that caused the problem before - and the problem did no longer exist. I have no idea, why it went away or if it ever really existed. Perhaps I made some mistake and didn't realize it. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232737 https://bugzilla.suse.com/show_bug.cgi?id=1232737#c4 --- Comment #4 from Stefan Hundhammer <shundhammer@suse.com> --- OK, so it will remain a mystery. Whatever. ;-} -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com