Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 1996 15:51:19 +0400 (MSD)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) <ache@nagual.ru>
To:        sos@FreeBSD.org
Cc:        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:  <199606271151.PAA00627@nagual.ru>
In-Reply-To: <199606270616.IAA04684@ra.dkuug.dk> from "sos@FreeBSD.org" at "Jun 27, 96 08:16:42 am"

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

-- 
Andrey A. Chernov
<ache@nagual.ru>
http://www.nagual.ru/~ache/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606271151.PAA00627>