reliable paste from windows clipboard into ssh session

ping song songpingemail at gmail.com
Tue Mar 25 00:41:25 UTC 2014


hi Falk:
thanks for commenting.
from what I observed/tested, it's not that issue.
actually most of the texts got pasted successfully , with correct line
breaks.
for a 100~200 lines kind of small buffers, it's always ok.
but when I want to paste more lines, chances are bigger that I end up with
some lines are messed up , but still most lines are successfully/correctly
pasted in...

what I tested is , via a cygwin ssh client, paste from a windows notepad,
into a vim/vi instances running in a remote linux/unix machine...

maybe it just happened to me.

if this work fine, I really think it's a quick "file transfer" technique.


On Mon, Mar 24, 2014 at 6:35 AM, Falk Stockmann <musesto at exb.de> wrote:

> On 03/23/2014 03:18 AM, ping song wrote:
> > but it looks for a huge file (30k lines , say), there might be some
> > mis-order/mess in some lines -- it looks not a reliable way.
>
> This might be due to Windows line break vs Unix line break. Are you able
> to save the Windows file with Unix line break before copy/pasting?
>
> http://www.cs.toronto.edu/~krueger/csc209h/tut/line-endings.html
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140324/a055cefd/attachment.html>


More information about the ubuntu-users mailing list