VKontakte.DJ
forum traveling
 

Celestial Software

...better by design

Home Support SSH Client Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Copy/Pasting tabs turning to spaces (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Copy/Pasting tabs turning to spaces
#2412
Copy/Pasting tabs turning to spaces 14 Years, 1 Month ago  
I'm having an issue that may or may not be Absolute Telnet related. If I edit a text file with Nano on Linux, I try selecting text with the mouse and copying it. When I paste the text, the tabs are all converted to spaces, which is pretty annoying.

I tried pasting the text to Notepad and it's the same issue. Is there an issue recognizing the /t character, or is there a setting I can adjust? Might this be an issue with Nano instead?

Thanks!
jyagmin (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#2413
Re:Copy/Pasting tabs turning to spaces 14 Years, 1 Month ago  
I've read up a bit about this and it seems to be an issue with xterm and the fact that copy/pasting only grabs what's visible on screen. I know this is a bit outside the purpose this forum, but if anyone has a solution for doing this (different protocol, different text editor, some config somewhere?), I'd love to hear it!
jyagmin (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#2414
Re:Copy/Pasting tabs turning to spaces 14 Years, 1 Month ago  
Unfortunately, this is a common thing across any kind of terminal emulation. How things are presented on the screen may not necessarily be the way they are represented in the file. Common, this happens with tabs, but it can also happen with control characters (carriage return shown as ^M for example).

To preserve these special characters, you should use nano's own mechanisms for cutting/copying/pasting.

Brian
bpence (Admin)
Admin
Posts: 1404
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
Go to top