From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.devel Subject: Re: emacs 24 and vnc not working Date: Wed, 8 Aug 2012 10:13:54 -0500 Message-ID: References: <6EA4BB65-A88B-4A69-8BA2-07219567E843@gmail.com> <871ujhizy8.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1344438858 27000 80.91.229.3 (8 Aug 2012 15:14:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2012 15:14:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 08 17:14:19 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sz7xh-0005uz-AE for ged-emacs-devel@m.gmane.org; Wed, 08 Aug 2012 17:14:17 +0200 Original-Received: from localhost ([::1]:34403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz7xg-0002a6-Db for ged-emacs-devel@m.gmane.org; Wed, 08 Aug 2012 11:14:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz7xd-0002Yq-Ay for emacs-devel@gnu.org; Wed, 08 Aug 2012 11:14:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sz7xY-0007I2-5E for emacs-devel@gnu.org; Wed, 08 Aug 2012 11:14:13 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:53187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz7xR-0007GV-97; Wed, 08 Aug 2012 11:14:01 -0400 Original-Received: by obhx4 with SMTP id x4so1533080obh.0 for ; Wed, 08 Aug 2012 08:13:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=3NkHvZ/JJJq74fgF3rOs6RChmqK4GyN/suoYv3J7ans=; b=EIbCdNvCHVS0jhR/JiqucYagOc1clBw/65ZPwcVzBsWkSfTyxjsQaC8sfUtZSQMv9O HhiRq+yhknmL7Ori1Ort7T0gPNTVxvQXDFHB8m59s4B8o4qMWmY0RdKhxx++w/Ermexa F+bNwA++5vIX3bwRLwm1ch3gf7EwMBN0YAUKXqB6MP5KK/nRuVe6GV9zIRFlTM20PRBl +a3I8xJZfOMAhXWRy7c+S5B6E08a/ak7tL9qTvMWd1R19H0A+A6MMOvs4NDBmmhQ3bnn StzuhkyoXvRtcqjcXavJq06sXdpsUtn5kEsS6rmN3Dg3md/eA6LspBeI3qEB7tnjnYSF QxBw== Original-Received: by 10.182.45.41 with SMTP id j9mr829400obm.67.1344438839441; Wed, 08 Aug 2012 08:13:59 -0700 (PDT) Original-Received: from magicbook.austin.ibm.com ([32.97.110.54]) by mx.google.com with ESMTPS id ea6sm22664830obc.9.2012.08.08.08.13.55 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Aug 2012 08:13:58 -0700 (PDT) In-Reply-To: <871ujhizy8.fsf@gnu.org> X-Mailer: Apple Mail (2.1278) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152337 Archived-At: On Aug 8, 2012, at 2:51 AM, Chong Yidong wrote: > Perry Smith writes: > >> Can we please bring back cut buffer support? That is what I need. > > What makes you think your vnc is using cut buffers? That would > be... interesting, if true. Cut buffers are incredibly obsolete. > >>> I can verify that the clipboard and primary selection are both being >>> updated -- it just isn't working with the Xvnc server. > > How did you verify this? Your description is too vague to do much with. I'm using an old VNC server on AIX -- two different ones I believe. One comes from here: http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/date.html (search for "vnc") The other comes from here: ftp://www.oss4aix.org/latest/aix61/ (search for tightvnc-server) Building X11 (and thus any type of X11 server) for AIX is really hard and so we are stuck in the dark ages. Both of those have a way to review the source. I'm not an X11 type person. Over the past two days I've been poking and prodding. I'd LOVE to be wrong. Or perhaps one of those vnc servers has an option that can alter its behavior. The set up is emacs 22.3 running on AIX 5.3 verses emacs 24.1 running on 6.1. I wish I could get on a common OS level but it is a lot of work. On the AIX 5.3 host, I have the first vnc (which I'll call vnc 3.3). On the 6.1 host I have the tightvnc-server. I have experimented with the four different combinations such as the emacs 22 version running on 5.3 but with its display pointing to the tightvnc server running on 6.1. Then I have Jolly VNC running on a Mac which is a vnc viewer or a vnc client. I have also tried the vncviewer that is stock in the Mac as well as the vncviewer that comes with the vnc 3.3 package listed above. But I think the restriction is due to the vnc server. I also have a copy of "xclip" which will dump out the Primary Selection, Secondary Selection, and Clipboard (not sure why I capitalized all that :-). I noticed early that by some mysterious way, I can cut from a Mac window and paste into an xterm client on one of the different vnc servers and xclip would tell me that none of the three items it can display changed. The original list of symptoms is that emacs 22, xterm, and Mac applications all play happily together. emacs 24 and xterm also play happily together. But emacs 24 and a Mac application (going through the vnc connection) do not work in either direction. I finally put some simple lisp into *scratch* to dump out the cut buffer 0 (as well as the other three select / clipboard areas) and saw that it was the cut buffer that was the mysterious way that text was getting back and forth from the Mac applications and the older x11 applications (AIX's xterm and emacs 22.3). I realize that this is way off the beaten path but it also seems like carrying the "bagage" of cut buffers isn't that big. I can hack my local copy of emacs today and get my copy working but any AIXer is likely to hit this same issue. Thank you, Perry