nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] Tab copy and paste?


From: Joshua Rogers
Subject: Re: [Nano-devel] Tab copy and paste?
Date: Sun, 24 Feb 2013 06:28:14 +1100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0

Hi everyone,

Thanks for the advice.

I mean when I scroll over a tab tab character inside nano, it appears to be spaces.
I can `echo "\t"` and scroll over that and it is a tab character fine.

I hope you understand what I mean.


Thanks

Joshua Rogers - Retro Game Collector && IT Security Specialist
gpg pubkey
On 23/02/13 21:33, Chris Allegretta wrote:
Agreed, I was about to say I was having issues with this until I
actually was able to acually copy the data with the raw tabs using the
output of grep:
$ egrep "^ <control-V><tab>" nano.c

and was able to paste in without issue.  Joshua, if you're sure you
have the tabs in the buffer, you can always insert it without nano
having any chance to interpret what you're typing such that you wont
even get to see it):
^R^X
cat
<paste>
^C

that should preserve everything except literal ^Cs (and ^Ds I imagine
:-)) in your input

On Sat, Feb 23, 2013 at 5:20 AM, Dirkjan Ochtman <address@hidden> wrote:
On Sat, Feb 23, 2013 at 10:54 AM, Joshua Rogers <address@hidden> wrote:
Perhaps this is the wrong place to ask, but is it possible to preserve the
tab character then copy and pasting within Nano?
I think your definition of "within Nano" is off... If you copy and
paste actually within nano (using ^K, ^U), it works just fine. Where
you're probably having problems is copying from and pasting into some
terminal emulator, via your operating system's clipboard (or
equivalent).

Cheers,

Dirkjan

_______________________________________________
Nano-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/nano-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]