delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/07/09:31:18

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <f60fe000810070630l19d436c1g74c533682b082e6d@mail.gmail.com>
Date: Tue, 7 Oct 2008 09:30:25 -0400
From: "Mark J. Reed" <markjreed AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin bash
In-Reply-To: <00a101c92878$553c1fc0$4001a8c0@mycomputer>
MIME-Version: 1.0
References: <002201c92830$f7204c00$4001a8c0 AT mycomputer> <48EAD5BD DOT 7060501 AT sbcglobal DOT net> <00a101c92878$553c1fc0$4001a8c0 AT mycomputer>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

From John Emmas:

> When I double click the 'Cygwin' icon on my Windows desktop, a DOS-like
> window opens which I'm led to believe is Cygwin's bash terminal.  However,
> with every version of Linux that I've used, the bash terminal had menus
> allowing me to do certain things like (for example) copying & pasting text.
> Cygwin's terminal window is more like a DOS one with no menus and very
> limited copy & paste features.  Is that correct or has something gone wrong
> with my installation?

The window (a.k.a. "terminal emulator") that you run bash in is wholly
independent of bash itself.   This is as true on Linux as it is on
Windows, and any given Linux distribution will have more than one
terminal program you can use (xterm, gnome-terminal, kterm, ...).
Things are more integrated in Windows but there are still some nice
replacements for that window that will work with the regular old
Windows command shell.

While you can copy and paste with the standard "DOS box" window, it is
not easy, and copying is especially laborious.  It requires an extra
step (you have to go into "mark mode" via Edit->Mark before you can
select anything); you have to select a rectangular area; and the
copied text includes newlines at the line breaks even if the original
text was simply wrapped.  It is, however, better than nothing, and a
good thing to know how to do in case you get stuck some time needing
the capability.

Oh, and the easiest way to get to the Edit menu is to right-click on
the window's title bar - no need to mouse all the way over to the icon
in the corner.

But I definitely recommend using rxvt instead.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019