Attached is example of what happens when selecting and copying Konsole content into a plain text file opened with MCedit (F4 in MC). This instance is from trinity-sb in Bullseye, with window size 132x43, but it's been happening in various distros and various TDE versions 14.0.12 & up. This has been going on for months in more and more installations as time goes on.
More and more I find myself needing to redirect output to a file, but it's often not possible to regenerate the same output needed for sharing in a bug, forum post or email.
A quick and easy way to strip all white space from start of a line would be appreciated as a workaround until this is fixed. Blocks of many lines increase whitespace so much that it's very hard to manually remove.
Felix Miata composed on 2022-10-27 18:15 (UTC-0400):
Attached is example of what happens when selecting and copying Konsole content into a plain text file opened with MCedit (F4 in MC). This instance is from trinity-sb in Bullseye, with window size 132x43, but it's been happening in various distros and various TDE versions 14.0.12 & up. This has been going on for months in more and more installations as time goes on.
More and more I find myself needing to redirect output to a file, but it's often not possible to regenerate the same output needed for sharing in a bug, forum post or email.
This attachment is from Mageia 8 with mc-4.8.27, a type repeatable only by thinking ahead, and not running it from a vtty.
Anno domini 2022 Sat, 29 Oct 00:46:47 -0400 Felix Miata scripsit:
Felix Miata composed on 2022-10-27 18:15 (UTC-0400):
Attached is example of what happens when selecting and copying Konsole content into a plain text file opened with MCedit (F4 in MC). This instance is from trinity-sb in Bullseye, with window size 132x43, but it's been happening in various distros and various TDE versions 14.0.12 & up. This has been going on for months in more and more installations as time goes on.
More and more I find myself needing to redirect output to a file, but it's often not possible to regenerate the same output needed for sharing in a bug, forum post or email.
This attachment is from Mageia 8 with mc-4.8.27, a type repeatable only by thinking ahead, and not running it from a vtty.
I have seen this some years ago with "joe" and had been correted a long time ago. IIRC the effect occured when the the text editor had a setting called somthing called "copy indentaion from previous line" enabled and did not care if the text entered was comming from clipboard or entered by the user via keyboard. So when you paste a line with whitspaces at the beginning of the line this happens: a) on newline/linebreak, the leading whitespaces of the current line are copied to the next line. b) the curser is placed after these whitespaces c) the next line is entered - whith the leading whitespaces So you end up with this mess.
Nik
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
Dr. Nikolaus Klepp composed on 2022-10-29 07:55 (UTC+0200):
Anno domini 2022 Sat, 29 Oct 00:46:47 -0400 Felix Miata scripsit:
Felix Miata composed on 2022-10-27 18:15 (UTC-0400):
More and more I find myself needing to redirect output to a file, but it's often not possible to regenerate the same output needed for sharing in a bug, forum post or email.
This attachment is from Mageia 8 with mc-4.8.27, a type repeatable only by thinking ahead, and not running it from a vtty.
I have seen this some years ago with "joe" and had been correted a long time ago. IIRC the effect occured when the the text editor had a setting called somthing called "copy indentaion from previous line" enabled and did not care if the text entered was comming from clipboard or entered by the user via keyboard. So when you paste a line with whitspaces at the beginning of the line this happens: a) on newline/linebreak, the leading whitespaces of the current line are copied to the next line. b) the curser is placed after these whitespaces c) the next line is entered - whith the leading whitespaces So you end up with this mess.
Thanks! This gave me idea what to look for. What seems to have happened is MC's ini file has had support for 0/1 for no/yes replaced by false/true any time its menu is used to save an old ini file. In the conversion process, it changes
editor_return_does_auto_indent=0 to editor_return_does_auto_indent=true
Changing it to false seems to be the fix.