Emacs in "nw" mode is not associated with any of the X11 libraries. Because of this, you do not have access to the X11 buffer. In other words, this alone is not possible. There are utilities that allow access to the command line to and from the X11 clipboard. You will need to write some elisp code to associate the kill-ring action with any command line tools you can use.
One such program you can look at is xclip . Getting the kill-ring selection to the clipboard will not be as difficult as getting the kill-ring from the clipboard. This is because you control the event when you add to the kill-ring. But emacs does not know when X11 updates the clipboard. Thus, you may need to create a custom command, rather than the typical yanking from kill-ring, which xclip uses to extract the current contents of the clipboard.
It seems to me that someone has already decided. I do not know enough ellipses to cope with it in any way, or I myself delve into it. I found this blog post that points to the elisp library that wraps xclip. I do not know if this will help or not.
Randy
rjray
source share