X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 	tests=AWL,BAYES_50,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <BDBE18C8A1BA4C28ADCCF6BA5DC7B54B@desktop2>
From: "Sisyphus" <sisyphus1@optusnet.com.au>
To: "xerces8" <xerces8@butn.net>, <cygwin@cygwin.com>
References: <WorldClient-F200902021105.AA05540020@butn.net>
In-Reply-To: <WorldClient-F200902021105.AA05540020@butn.net>
Subject: Re: Copy converts tabs to spaces ?
Date: Mon, 2 Feb 2009 21:25:58 +1100
MIME-Version: 1.0
Content-Type: text/plain; 	format=flowed; 	charset="iso-8859-1"; 	reply-type=original
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


----- Original Message ----- 
From: "xerces8" <xerces8@butn.net>

> 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

You'll get the same behaviour if, instead of running 'cat foo.c' in the 
bash/RXVT shell, you start by running 'type foo.c' in the cmd.exe shell.

One workaround is to run 'notepad foo.c' instead of 'cat.c', and then 
copy'n'paste from the instance of foo.c that has been opened in notepad.

Is that a suitable alternative ?

Cheers,
Rob


--
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/

