Subject: Re: Copy converts tabs to spaces ?
From: Ralf Gans <[email-masked]>
To: xerces8 <[email-masked]>
Cc: [email-masked]
Date: Mon, 2 Feb 2009 14:56:48 +0100
List-Id: <cygwin.cygwin.com>

Hi,

copy an paste from window to window takes what's printed,
not what you have written.

So, if the terminal prints spaces to represent the tabs,
as a terminal usualy does, you CAN only copy spaces.

All else is an exception, U*X ist NOT wysiwyg!

Regards,

Ralf

On 02.02.2009, at 11:05, xerces8 wrote:

> Hi!
>
> I noticed that when copying text from a the Cygwin Bash window and  
> then pasting it somewhere (like
> WordPad), tabulator characters are converted to spaces.
>
> The same happens with RXVT too.
>
> Details:
> - print the content of some text file that has tabs (like a C  
> program source) : cat foo.c
> - select and copy the text with the mouse
> - paste (ctrl-V) into WordPad
>
> The text in Wordpad has no more tabs.
>
> Is there a way around this ?
>
> Regards,
> David
>
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/