LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-15-2015, 02:54 PM   #1
Alpha90
Member
 
Registered: Jul 2012
Posts: 97

Rep: Reputation: Disabled
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
 
Old 12-15-2015, 03:11 PM   #2
swampthing001
Member
 
Registered: May 2005
Distribution: LFS, CentOS, Slack, Ubuntu
Posts: 112

Rep: Reputation: 8
I'm wondering if autoindent is turned on in nano. Have you tried tampering with it?
https://bbs.archlinux.org/viewtopic.php?id=38837
 
Old 12-15-2015, 03:31 PM   #3
Alpha90
Member
 
Registered: Jul 2012
Posts: 97

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-15-2015, 03:33 PM   #4
swampthing001
Member
 
Registered: May 2005
Distribution: LFS, CentOS, Slack, Ubuntu
Posts: 112

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Console text editor with dynamic wordwrap Changes Linux - Software 4 01-03-2010 02:17 PM
Empty screen console text editor MikeZila Linux - Software 1 12-09-2004 03:00 PM
a good console text editor for programing/debuging? zovres Programming 1 09-21-2004 02:23 AM
console text editor recomendation djc Linux - Newbie 7 03-31-2004 06:22 AM
Text Editor in Console Mode ? membrax Linux - Hardware 5 12-28-2002 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration