delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/10/21:56:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Subject: RE: bash 2.05
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
content-class: urn:content-classes:message
Date: Wed, 11 Apr 2001 10:06:42 +1000
Message-ID: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08EEDB@itdomain002.itdomain.net.au>
Thread-Topic: bash 2.05
Thread-Index: AcDCFz5a0TDd9kjgSfWU9Dj7CZs1PQAA82/g
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Andrius Docius" <ADocius AT alna DOT lt>, "Cygwin" <cygwin AT sources DOT redhat DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id VAA08858

> -----Original Message-----
> From: Andrius Docius [mailto:ADocius AT alna DOT lt]
> Sent: Wednesday, April 11, 2001 6:28 AM
> To: Cygwin
> Subject: bash 2.05
> 
> 
> Hello,
> 
> today I read an announcement on FreshMeat about bash 2.05.
> It seems that official bash maintainer incorporated some
> CYGWIN-specific patches, but one minor issue prevented the 
> compilation:
> in readline library I found one rather strange line: #include 
> <windows.h>
> 
> But as fas as I know, cygwin has /dev/clipboard now.

It does, read/write is only in the current snapshots, but it's quite
stable, and handles multi-megabyte copy & pastes.

> After some time I had new bash-2.05 binaries and a patch file.
> In case someone will be interested I am sending it here.
> (btw, current version of readline library (4.2.1) in contrib 
> has the same
> code)
> 
> So there is kind of a question:
> how clipboard-related stuff should be implemented ?
>  Using windows style (<windows.h>, GetClipboardData (CF_TEXT), etc. )
>  or using cygwin-style (fopen("/dev/clipboard", ...), etc.) ?
> 
> with best regards,
> Andrius D.
> 
> 

IMO, /dev/clipboard. That should allow you to use the existing unix
style clipboard. BTW: if it has a different device name in unix it's
easy to alias the cygwin clipboard.

Rob

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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