Article View: demon.ip.developers
Article #610Re: TextWin: why doesn't ftp '#' show immediately?
From: Peter Fokker
Date: Tue, 25 Feb 1997 00:00
Date: Tue, 25 Feb 1997 00:00
31 lines
1878 bytes
1878 bytes
In article <856807122snz@wash.demon.co.uk>
john@wash.demon.co.uk "John Washington" writes:
> [...]
> It seems as if the ftp (or http) process is actually
> running, so the screen output is being queued, but
> unless there's a '\n' in the output, the corresponding
> display task is not painting the screen.
> [...]
> Any users of the http version worried if I change that
> damn hash code to a bytecount??? (I like to see a number
> updated every 1K or so, overwriting on the same line,
> instead of those interminable hashes).
IF the queued screen output could be instructed to paint the
screen on receiving a '\n' OR '\r' then adding a bytecount
ending with a '\r' would solve the problem.
IMHO it is easier to interpret a bytecount than (a few lines
of) hashes, so why not change the hashes in ftp to a bytecount
with '\r' too?
One more thought on forcing a screen paint: a very looong time
ago I had a similar problem with dotmatrix printers: those
printers would queue an output line until a '\r' or '\n' was
received but also the line was printed on receiving a backspace
'\010'. Perhaps that is the trick to force a screen update:
write "\010##" rather than a single '#'?
--Peter Fokker
Technical Details
Message-ID:
<856884605snz@fokker.demon.nl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<856807122snz@wash.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bb05,e158132d43e5f687 X-Google-Attributes: gid10bb05,public X-Google-Thread: fb525,e158132d43e5f687 X-Google-Attributes: gidfb525,public From: Peter@fokker.demon.nl (Peter Fokker) Subject: Re: TextWin: why doesn't ftp '#' show immediately? Date: 1997/02/25 Message-ID: <856884605snz@fokker.demon.nl> X-Deja-AN: 221332530 References: <856807122snz@wash.demon.co.uk> X-Mail2News-User: Peter@fokker.demon.nl X-Mail2News-Path: fokker.demon.nl Organization: Ingenieursbureau PSD Reply-To: peter@fokker.demon.nl Newsgroups: demon.ip.developers,demon.ip.support.pc