X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <49EEF1AD.7020000@bonhard.uklinux.net> References: <49EEF1AD DOT 7020000 AT bonhard DOT uklinux DOT net> Date: Wed, 22 Apr 2009 12:35:21 +0100 Message-ID: <416096c60904220435s3ebaef49yb65356bb96e9cf0f@mail.gmail.com> Subject: Re: Copying/Pasting in Cygwin From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Xterm supports an OSC sequence for accessing the clipboard/selection. I don't know whether vim or emacs have support for this though. From http://invisible-island.net/xterm/ctlseqs/ctlseqs.html: OSC P s ; P t BEL ... P s = 5 2 → Manipulate Selection Data. These controls may be disabled using the allowWindowOps resource. The parameter P t is parsed as P c ; P d The first, P c , may contain any character from the set c p s 0 1 2 3 4 5 6 7 . It is used to construct a list of selection parameters for clipboard, primary, select, or cut buffers 0 through 8 respectively, in the order given. If the parameter is empty, xterm uses s 0 , to specify the configurable primary/clipboard selection and cut buffer 0. The second parameter, P d , gives the selection data. Normally this is a string encoded in base64. The data becomes the new selection, which is then available for pasting by other applications. If the second parameter is a ? , xterm replies to the host with the selection data encoded using the same protocol. 2009/4/22 Fergus : > Are you using X? If you are, then you could try including -clipboard as an > option for XWin: > e.g. > run XWin -clipboard -nolisten local -multiwindow 2>nul & > (or however you usually start X up). This will put text selected for > copy-ing into the Windows clipboard. > If you are not using X, then I am sorry, I do not know what to suggest. > Fergus > > > -- > 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/ > > -- 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/