X-Spam-Check-By: sourceware.org Date: Fri, 25 Aug 2006 12:43:42 +0100 From: Owen Rees To: cygwin@cygwin.com Subject: Re: copying and pasting in the terminal window? Message-ID: <735E63F0E5F1AD8E2C96CE03@rees-o-3.labs.hpl.hp.com> In-Reply-To: <87zmdurq2d.fsf@offby1.atm01.sea.blarg.net> References: <874pw2t9cf.fsf@offby1.atm01.sea.blarg.net> <87zmdurq2d.fsf@offby1.atm01.sea.blarg.net> X-Mailer: Mulberry/4.0.4 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com --On 24 August 2006 10:39 -0700 Eric Hanchrow wrote: > Igor> FWIW, my main gripe with Console is that it doesn't > Igor> understand line wrapping, so cutting and pasting a line that > Igor> wraps multiple times results in multiple lines. > > Yup. And as far as I know, there's no way to tell the console "please > save the accumulated scrollback into a file". But then I don't think > rxvt can do that either :-) You can select all the available scrolled text with both Console and rxvt (Console scrolls when you drag off the top/bottom and extends the selection, rxvt extends the selection with a right mouse click so you can select, scroll, right click). Once you have copied it all, "cat >somefile" then paste, CR ^D will get it into a file. Perhaps not quite as simple as having a 'save' option, but not too hard to do. If you are using rxvt, long lines that wrapped on display will be long lines in the file, With Console, there will be line breaks wherever it wrapped. In the context of copying and pasting in a window, I find rxvt far superior to Console because of the way it handles long lines (as well copying/pasting the way X does without requiring that X be running). -- Owen Rees Hewlett Packard Laboratories, Bristol, UK -- 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/