LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Issue with text copied into a console editor (https://www.linuxquestions.org/questions/linux-software-2/issue-with-text-copied-into-a-console-editor-4175561535/)

Alpha90 12-15-2015 02:54 PM

Issue with text copied into a console editor
 
I think this might have to do with some cr + lf issue but I an not really sure. My issue is sometimes if I copy text from the X cut buffer into a console text editor vi/nano/emacs the text looses it's format and becomes staircase like (although it seems to happen the most with nano but that could be due to the fact I use nano more than the others)

For Example
Code:

Line One
Line Two
Line Three

becomes

Line One
    Line Two
          Line Three

I am running a gentoo distro and is quite heavily customized and tweaked so I might have caused the issue somewhere along the line but I do not really know where to start.

My system is using
X Server 1.17.4
urxvt 9.21
nano 2.3.6

swampthing001 12-15-2015 03:11 PM

I'm wondering if autoindent is turned on in nano. Have you tried tampering with it?
https://bbs.archlinux.org/viewtopic.php?id=38837

Alpha90 12-15-2015 03:31 PM

Wow I never thought about indenting being the issue but it was. I guess I set it on sometime in the past and forgot about it.

Thanks

swampthing001 12-15-2015 03:33 PM

Awesome!!! Glad I could help. If I have solved your issue do you mind labelling it SOLVED?


All times are GMT -5. The time now is 07:47 AM.