unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: emacs 24 and vnc not working
       [not found] <EE20F0BB-0E41-4FC4-A922-7262BCAFA6AA@gmail.com>
@ 2012-08-08  0:59 ` Perry Smith
  2012-08-08  7:51   ` Chong Yidong
       [not found] ` <mailman.6526.1344387578.855.help-gnu-emacs@gnu.org>
  1 sibling, 1 reply; 6+ messages in thread
From: Perry Smith @ 2012-08-08  0:59 UTC (permalink / raw)
  To: Emacs help; +Cc: emacs-devel

Can we please bring back cut buffer support?  That is what I need.

On Aug 7, 2012, at 6:32 PM, Perry Smith wrote:

> After a lot of poking around, my basic conclusion is emacs 24 cut and paste does not do something that a vnc server needs but emacs 22.3 did.
> 
> I've tried two difference vnc servers and three different vnc viewers and all exhibit the same characteristics.
> 
> I can copy from emacs using M-w and paste it into an xterm on the same Xvnc server.  But I can not paste it into anything else such as a Mac application.
> 
> With an xterm or emacs 22.3 on the same Xvnc server, it works fine.
> 
> I can verify that the clipboard and primary selection are both being updated -- it just isn't working with the Xvnc server.
> 
> I hope someone can help me out 'cause I'm not making much progress on this.
> 
> I also have not figured out how to copy from the xterm into emacs but I figure that is pilot error or a config setting.
> 
> Thank you,
> Perry
> 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs 24 and vnc not working
  2012-08-08  0:59 ` emacs 24 and vnc not working Perry Smith
@ 2012-08-08  7:51   ` Chong Yidong
  2012-08-08 15:13     ` Perry Smith
  0 siblings, 1 reply; 6+ messages in thread
From: Chong Yidong @ 2012-08-08  7:51 UTC (permalink / raw)
  To: Perry Smith; +Cc: emacs-devel

Perry Smith <pedzsan@gmail.com> 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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs 24 and vnc not working
  2012-08-08  7:51   ` Chong Yidong
@ 2012-08-08 15:13     ` Perry Smith
  2012-08-08 17:21       ` Jan Djärv
  0 siblings, 1 reply; 6+ messages in thread
From: Perry Smith @ 2012-08-08 15:13 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel


On Aug 8, 2012, at 2:51 AM, Chong Yidong wrote:

> Perry Smith <pedzsan@gmail.com> 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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs 24 and vnc not working
  2012-08-08 15:13     ` Perry Smith
@ 2012-08-08 17:21       ` Jan Djärv
  0 siblings, 0 replies; 6+ messages in thread
From: Jan Djärv @ 2012-08-08 17:21 UTC (permalink / raw)
  To: Perry Smith; +Cc: Chong Yidong, emacs-devel

Hello.

This looks like it depends both on the client and the server.
A vnc server on Mandriva 2010.2 (TigerVNC 1.0.90) works with Jolly Fast VNC,
i.e. copy and paste in both directions to an Emacs running in the vnc client.
With the built in OSX client, only from Emacs to Mac works.

There is some workarounds discussed here:
http://www.csd.uwo.ca/staff/magi/doc/vnc/faq.html#q25

Do you run vncconfig in your session?

	Jan D.
 
8 aug 2012 kl. 17:13 skrev Perry Smith:

> 
> On Aug 8, 2012, at 2:51 AM, Chong Yidong wrote:
> 
>> Perry Smith <pedzsan@gmail.com> 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
> 
> 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs 24 and vnc not working
       [not found] ` <mailman.6526.1344387578.855.help-gnu-emacs@gnu.org>
@ 2012-08-09 15:57   ` arenson9
  2012-08-10 13:27     ` Perry Smith
  0 siblings, 1 reply; 6+ messages in thread
From: arenson9 @ 2012-08-09 15:57 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: Emacs help, emacs-devel

On Tuesday, August 7, 2012 8:59:24 PM UTC-4, Perry Smith wrote:
> Can we please bring back cut buffer support?  That is what I need.> 
 

I was able to copy from Win7 to an emacs window until I upgraded RealVNC. Now it fails and I don't know if it's because there's some setting on RealVNC I need to choose or something else is going on.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: emacs 24 and vnc not working
  2012-08-09 15:57   ` arenson9
@ 2012-08-10 13:27     ` Perry Smith
  0 siblings, 0 replies; 6+ messages in thread
From: Perry Smith @ 2012-08-10 13:27 UTC (permalink / raw)
  To: arenson9; +Cc: help-gnu-emacs, emacs-devel


On Aug 9, 2012, at 10:57 AM, arenson9@gmail.com wrote:

> On Tuesday, August 7, 2012 8:59:24 PM UTC-4, Perry Smith wrote:
>> Can we please bring back cut buffer support?  That is what I need.> 
> 
> 
> I was able to copy from Win7 to an emacs window until I upgraded RealVNC. Now it fails and I don't know if it's because there's some setting on RealVNC I need to choose or something else is going on.

Which version of emacs?  I think cut buffers was removed in version 24 so any version before 24 would be using cut buffers and new VNC's use selection.

I was encouraged by a friend to switch from the older vnc's to a purchased copy of RealVNC for AIX.  $50 a year I believe.  I'm still using the trail key.

At this point, using the new (not open source) RealVNC server, I can copy and paste (both directions) from a Mac app to Emacs 24.  I can not presently copy from the old xterm to emacs 24 but I am pretty sure that is a setting that needs to change.  I have not tried emacs 22 displayed in the new RealVNC window.  I can try that tomorrow and report back.

But, should this be required?  Should users be required to go use non open source code just to get their emacs to behave right?

I still would like to see cut buffers added back in to the standard distribution.  I'm also wondering if the various boolean flags could not be better auto configured by detecting the level of X11 server emacs is running on.

Thank you,
Perry




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-10 13:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <EE20F0BB-0E41-4FC4-A922-7262BCAFA6AA@gmail.com>
2012-08-08  0:59 ` emacs 24 and vnc not working Perry Smith
2012-08-08  7:51   ` Chong Yidong
2012-08-08 15:13     ` Perry Smith
2012-08-08 17:21       ` Jan Djärv
     [not found] ` <mailman.6526.1344387578.855.help-gnu-emacs@gnu.org>
2012-08-09 15:57   ` arenson9
2012-08-10 13:27     ` Perry Smith

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).