Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 1996 13:36:47 +0100 (BST)
From:      Doug Rabson <dfr@render.com>
To:        =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= <ache@nagual.ru>
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
Message-ID:  <Pine.BSF.3.91.960627133504.8445C-100000@minnow.render.com>
In-Reply-To: <199606271151.PAA00627@nagual.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960627133504.8445C-100000>