X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Subject: How to use the X clipboard To: cygwin AT cygwin DOT com Date: Mon, 17 Sep 2007 22:01:47 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" Message-Id: From: Robert Kiesling X-ELNK-Trace: 0b901cbc512a9d8594f5150ab1c16ac01a238acc8405a5b0f8f5340ee51cff866af5ae613ece93b3350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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 I need to set the X server option, "emulate3Buttons," in order to use the X clipboard with the Cygwin system's mouse. The FAQ tells me that I can add, "-emulate3buttons ," to the X server arguments. However, if I start the server with startx -- -emulate3buttons 10 all of the X server's default arguments seem to get overriden. I would like to know where are the X server resources are located so I can add this option without overriding the X server's default arguments. On a related note, the server and display addresses default to 127.0.0.1, and that limits clipboard use to clients on the local host. Because this network gets its addresses through DHCP, I would like to know if there's a way to tell the X server beforehand what the network address is. I assume I can parse the output of Windows netstat after booting and add the address to /etc/hosts before starting the X server, but I would welcome any clues, hints, or suggestions how to go about telling the resolver library about the network address with a documented interface. Thanks, Robert -- Ctalk Home Page: http://ctalk-lang.sourceforge.net -- 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/