X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4F6E588F.4040709@towo.net> Date: Sun, 25 Mar 2012 00:28:15 +0100 From: Thomas Wolff User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: clipboard details Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 2 comments about accessing the Windows clipboard: * Does the Windows clipboard maintain a timestamp? If so, it would be useful to propagate it to /dev/clipboard as its virtual last modification time. * The tools getclip and putclip do not handle non-ASCII character properly, while /dev/clipboard does. So I'd suggest to replace them with a wrapper: #! /bin/sh case "`basename $0`" in get*) redir="<";; put*) redir=">";; *) if [ -t 0 ] then redir="<" else redir=">" fi;; esac eval cat $redir /dev/clipboard ---------------------------------- Thomas -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple