From owner-cvs-sys Thu Jun 27 05:40:06 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA22069 for cvs-sys-outgoing; Thu, 27 Jun 1996 05:40:06 -0700 (PDT) Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA21990; Thu, 27 Jun 1996 05:39:47 -0700 (PDT) Received: from grumble.grondar.za (mark@localhost.grondar.za [127.0.0.1]) by grumble.grondar.za (8.7.5/8.7.3) with ESMTP id OAA01689; Thu, 27 Jun 1996 14:36:50 +0200 (SAT) Message-Id: <199606271236.OAA01689@grumble.grondar.za> To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) 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 Date: Thu, 27 Jun 1996 14:36:49 +0200 From: Mark Murray Sender: owner-cvs-sys@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk =?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