Bug 217276
Summary: | When copying multiline text, it also copies non-existing trailing spaces | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Raoul <xraoul> |
Component: | slang | Assignee: | Miroslav Lichvar <mlichvar> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6 | CC: | curtis, jnovy, leonard-rh-bugzilla, mlichvar, nerijus, varekova |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-02-23 11:13:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Raoul
2006-11-26 12:11:55 UTC
Seems more like an issue with gnome-terminal than mc. Have you tried other command line editors? I cannot reproduce this with a fairly recent mc (2006-10-15) with an older gnome-terminal (on FC4). I also use vi, from which the text can be copied correctly. I had never encountered this issue in FC4. IIRC, it started to be an issue with FC5/FC6. If you cannot reproduce it with a recent mc on FC4, then you are absolutely right that it might be some other application's issue. However, I tried to copy text from mcedit, while it runs in xterm. The exact procedure: 1) mcedit text.file (in xterm) 2) select 2 or more lines of text while Lshift is pressed on the keyboard 3) paste the text with the middle mouse button in another editor. It still pastes trailing spaces from xterm. I would also like to apologize for the bad language in the initial bug submission. This was just a moment of anger. I know that these issues happen. :) I've seen two similar but distinct symptoms on MS Windows client SecureCRT. Exact same client platform side-by-side terminals for very old RHL or FC1? systems work just fine. But more recent FC4+? terminals produce one or both of these: - single trailing space injected on any lines that are colorized as a multiline context block. I.e. # comments. - more recently, selecting multiline blocks in mcedit now is worse, as entire editor/window width is padded with trailing spaces on every line in the block. I've always assumed nobody wants to fix due to cross-platform issue. And I'm completly ignorant of proper termcap usage and debugging. But happy to run tests if desired. Adding Miroslav to Cc as it doesn't seem to be a fault of mc but some terminal breakage. It's a bug in slang. Fixed in slang-2.0.7-1.fc6. |