[Ilugc] copy and paste among emacs

  • From: lug@xxxxxxxxxxxxxxxxxx (Chandrashekar Babu)
  • Date: Thu Aug 25 20:43:41 2005

On Thu, 25 Aug 2005 16:36:53 +0530, Bala Vignesh <kbalavignesh@xxxxxxxxx>  
wrote:

 Can we able to copy and paste the emacs contentsamong different consloe?

The best way I could think of, is by running your
emacs editor instances within GNU Screen manager.

Run the first instance of screen by typing 'screen'
at the shell prompt. From then on, type 'screen -x'
on every other virtual consoles or xterms. This
will let you maintain a single set of screen windows
managed across multiple terminals/consoles. To create
a new screen window, try C-a C-c within the screen
session, this is bring up a new screen window with
a shell prompt in it. You can use C-a C-p and
C-a C-n to switch between multiple screen windows.

This way, you can run emacs within a screen session
that spans across different terminals. Now, to copy
what you see in a screen window, press C-a ESC key
and use to arrow keys and Enter key to set markers
and copy the region. Then switch to the other console running the same  
screen session with emacs or other
application, and try C-a ] to paste into the region.

Try 'man screen' to learn how to use screen effectively
to manage your terminals/consoles. There are lots of
features in GNU screen that you will not live
without :-).

Good luck!

--
Chandrashekar Babu.
http://www.chandrashekar.info/

Other related posts: