X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Hanchrow Subject: Re: copying and pasting in the terminal window? Date: Wed, 23 Aug 2006 12:24:45 -0700 Lines: 47 Message-ID: <87hd03tfuq.fsf@offby1.atm01.sea.blarg.net> References: <44ECA731 DOT 9090004 AT NOSPAMgmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.51 (gnu/linux) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 >>>>> "John" == John Salerno writes: John> Hi everyone. I just installed cygwin on WinXP and I'm John> wondering if there is a way to copy and paste in the command John> prompt, like in Linux? Sure. But it's a feature of cmd.exe, not of Cygwin. In other words, you can do what I'm about to describe on _any_ Windows box. Right-click the "System icon" in the upper-left corner of the window; choose "Properties". Click the "Options" tab (that's the leftmost tab). Make sure the "QuickEdit Mode" checkbox is checked (it might already be; I'm not sure). Now click OK a couple times to dismiss the various dialogs. From now on, in that particular window at least, you can select text with left-click + drag, then copy that selected to the clipboard with right-click. John> I figured the cygwin terminal would look and act more like John> the bash shell A terminal is one thing; a shell is a different thing. Unless I'm quite mistaken, you _are_ running the bash shell in the Windows "terminal". If you want, you can install the "rxvt" package, which provides an alternative to the Windows terminal. Selection and copying work differently in it, I imagine. John> but so far it doesn't for me. Does this mean I'm still John> using a DOS prompt? (Despite the $ prompt instead of C:\)? At least one of the two of us is very confused. As I said, a terminal and a shell are two different things. I think you're using the shell you expect -- as evidenced by the $ prompt -- and a terminal that you're unfamiliar with. My advice above about copy-n-paste should help some; otherwise try rxvt. There might even be other options besides those two. -- This movie doesn't scrape the bottom of the barrel. This movie isn't the bottom of the barrel. This movie isn't below the bottom of the barrel. This movie doesn't deserve to be mentioned in the same sentence with barrels. Roger Ebert on "Freddy Got Fingered" -- 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/