From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 09:33:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88A491065670 for ; Mon, 1 Dec 2008 09:33:18 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: from yw-out-2122.google.com (yw-out-2122.google.com [74.125.46.24]) by mx1.freebsd.org (Postfix) with ESMTP id 4BA1E8FC18 for ; Mon, 1 Dec 2008 09:33:17 +0000 (UTC) (envelope-from libc.mail@gmail.com) Received: by yw-out-2122.google.com with SMTP id 7so1176280ywi.13 for ; Mon, 01 Dec 2008 01:33:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.45.5 with SMTP id s5mr884904ans.10.1228123997279; Mon, 01 Dec 2008 01:33:17 -0800 (PST) Date: Mon, 1 Dec 2008 01:33:17 -0800 (PST) In-Reply-To: <200812010631.35147.fbsd.questions@rachie.is-a-geek.net> X-IP: 83.237.103.45 References: <200811301736.30079.fbsd.questions@rachie.is-a-geek.net> <8392DE41-4800-4CE9-A078-C1921FADDD9A@gmail.com> <200812010631.35147.fbsd.questions@rachie.is-a-geek.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; ru-ru) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1, gzip(gfe), gzip(gfe) Message-ID: <7f73df71-b828-41b6-a27b-c7c6626e8950@g38g2000yqn.googlegroups.com> From: Eugene Pimenov To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 01 Dec 2008 12:25:45 +0000 Subject: Re: Pasting via ssh causes data loss X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 09:33:18 -0000 On 1 =C4=C5=CB, 08:31, Mel wrote: > On Sunday 30 November 2008 17:53:21 Eugene Pimenov wrote: > > > 30.11.2008, =D7 19:36, Mel =CE=C1=D0=C9=D3=C1=CC(=C1): > > > On Sunday 30 November 2008 06:46:59 Eugene Pimenov wrote: > > > > Not sure, but can you copy files via cat? As in: > > > cat /tmp/foo | ssh machine "cat - >/tmp/foo" > > > > If that isn't truncated, I can only think of clipboard limitations > > > or tty > > > issues. > > > No, it's not truncated. All of 6060 bytes are copied. > > > What kind of tty issues/clipboard limitations might it be? > > *If* it's a tty issue, should be reproducable with telnet. If it's not, t= hen I > suggest logging in with ssh -v and see if anything weird comes up. > The oddball out of the box answer would be that some character gets trans= lated > as EOF from linux to bsd by the term settings, but it's a stretch. Can't check telnet... there's no telnet demon around. I tried ssh -vvv, nothing between connect and disconnect. It's definitely not an EOF. It just loses some part of data, doesn't stop receiving after some point. > > -- > Mel