From owner-cvs-sys Thu Jun 27 05:41:38 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA22141 for cvs-sys-outgoing; Thu, 27 Jun 1996 05:41:38 -0700 (PDT) Received: from minnow.render.com (render.demon.co.uk [158.152.30.118]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA21979; Thu, 27 Jun 1996 05:39:01 -0700 (PDT) Received: (from dfr@localhost) by minnow.render.com (8.6.12/8.6.9) id NAA18535; Thu, 27 Jun 1996 13:36:47 +0100 Date: Thu, 27 Jun 1996 13:36:47 +0100 (BST) From: Doug Rabson To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= cc: sos@FreeBSD.org, sos@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa syscons.c syscons.h In-Reply-To: <199606271151.PAA00627@nagual.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 27 Jun 1996, =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote: > > In reply to =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= who wrote: > > > > > > > Added linefeeds in cuts that extend beyond one line. > > > > > > This one is under question... > > > Imagine following situation: > > > > > > long_prompt> fetch ftp://aaa/bbb/ccc/eee/| <-- end of the screen > > > lll/mmm/ppp.tgz | > > > > > > When I mark URL, I expect one line, but got two lines instead :-( > > > > Yeah, I see your point, but I guess its a 50/50 situation... > > What I should do is remember if the line was wrapped or it was > > nl'ed, and then DTRT, sigh.... > > It is impossible to determine nl'ed lines for clever terminal programs > like curses-based ones: > > aaaa > bbbb > cccc > > looks like nl'ed lines, but screen update which cause them can involve > various kinds of escapes and no one nl. How does xterm figure this out? I remember old versions of xterm (R4?) which pasted newlines for every linebreak and as a result cut&paste was almost useless. They fixed it a while ago in xterm but I have no idea how it decides that a line is a continuation. -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 251 4411 FAX: +44 171 251 0939