all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* pasting into emacs over ssh -X
@ 2006-08-21 16:59 Ryan Moszynski
  2006-08-23  8:57 ` henning
  0 siblings, 1 reply; 3+ messages in thread
From: Ryan Moszynski @ 2006-08-21 16:59 UTC (permalink / raw)


i use emacs in X mode using ssh -X, and I can't past into/out of
emacs.  I use FC4/gnome.  I also have a user that uses secureCRT in
windows and uses something like -X, and he has the same problem.

i've tried putting the next couple of lines in my .emacs.  they work
as long as you are using the same machine, but not if you are (ssh
-X)ing.
;;;;;;;;;;
(mouse-wheel-mode t)
(setq x-select-enable-clipboard t)
(setq interprogram-paste-function 'x-cut-buffer-or-selection-value)
;;;;;;;;;;

A solution to this would be a HUGE timesaver, and do away with countless scp's.

thanks, ryan

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

* Re: pasting into emacs over ssh -X
  2006-08-21 16:59 pasting into emacs over ssh -X Ryan Moszynski
@ 2006-08-23  8:57 ` henning
  0 siblings, 0 replies; 3+ messages in thread
From: henning @ 2006-08-23  8:57 UTC (permalink / raw)



I also use FC4/gnome and can copy/paste (kill/yank) between emacs processes
running remotely and those running locally. I also have the following line
in my .emacs

(when window-system)
 (set-selection-coding-system 'compound-text-with-extensions))

Looking in the documentation for set-selection-coding-system it seems
slightly relevant.... Just a hip shot.
cheers,
Henning

Ryan Moszynski wrote:
> 
> i use emacs in X mode using ssh -X, and I can't past into/out of
> emacs.  I use FC4/gnome.  I also have a user that uses secureCRT in
> windows and uses something like -X, and he has the same problem.
> 
> i've tried putting the next couple of lines in my .emacs.  they work
> as long as you are using the same machine, but not if you are (ssh
> -X)ing.
> 
> A solution to this would be a HUGE timesaver, and do away with countless
> scp's.
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/pasting-into-emacs-over-ssh--X-tf2141421.html#a5940575
Sent from the Emacs - Help forum at Nabble.com.

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

* Re: pasting into emacs over ssh -X
       [not found] <mailman.5396.1156179599.9609.help-gnu-emacs@gnu.org>
@ 2006-08-23  9:30 ` Gordon Beaton
  0 siblings, 0 replies; 3+ messages in thread
From: Gordon Beaton @ 2006-08-23  9:30 UTC (permalink / raw)


On Mon, 21 Aug 2006 12:59:55 -0400, Ryan Moszynski wrote:
> i use emacs in X mode using ssh -X, and I can't past into/out of
> emacs.  I use FC4/gnome.  I also have a user that uses secureCRT in
> windows and uses something like -X, and he has the same problem.

The behaviour of X forwarding changed in OpenSSH 3.8.

You can get the old behaviour in one of the following ways:

- use "ssh -Y" instead

- specify "ForwardX11Trusted yes" in addition to "ForwardX11 yes" in
  either ~/.ssh/config or /etc/ssh/ssh_config (i.e. on the client
  host)

/gordon

-- 
[ don't email me support questions or followups ]
g o r d o n  +  n e w s  @  b a l d e r 1 3 . s e

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

end of thread, other threads:[~2006-08-23  9:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-21 16:59 pasting into emacs over ssh -X Ryan Moszynski
2006-08-23  8:57 ` henning
     [not found] <mailman.5396.1156179599.9609.help-gnu-emacs@gnu.org>
2006-08-23  9:30 ` Gordon Beaton

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.