Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 1996 14:36:49 +0200
From:      Mark Murray <mark@grumble.grondar.za.@grondar.za>
To:        =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) <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:  <199606271236.OAA01689@grumble.grondar.za>

next in thread | raw e-mail | index | archive | help
=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote:
> > > 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:

_Years_ ago when 8-bit processors were the state-of-the-art, I wrote
a full-screen monitor thingy that worked. We used NUL to represent blank
screen space (which you would get from a NL) and SPACE chars for actual
characters. We had no rodents, but the cursor did TRT on this. The NULL
was nor returned to the user, but was replaced with a NL.

This scheme did not work with certain editors that pasted SPACES all
over the screen, but worked very well otherwise.

M
--
Mark Murray
46 Harvey Rd, Claremont, Cape Town 7700, South Africa
+27 21 61-3768 GMT+0200
Finger mark@grondar.za for PGP key



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