X-Recipient: archive-cygwin AT delorie DOT 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: From: "Sisyphus" To: "xerces8" , References: In-Reply-To: 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com ----- Original Message ----- From: "xerces8" > 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/