My host machine is Windows, but I'm working in Linux virtualbox machine over ssh from mintty in MSYS2 environment. As you may know, in mintty you copy via C-insert and paste via C-S-insert. When I
ssh from mintty to my linux guest and open in it Emacs (
emacs-nox) I can paste with default shortcut for mintty, it triggers Emacs function
xterm-paste. My problem is that I can not find way to copy, there's no
xterm-copy function at all. Also there's no X so I can not use xsel as I used before.
So my question is how to copy to mintty clipboard from terminal emacs, is there any way? I always had problems with all those clipboard possibilities and can not figure it out.