[Techtalk] standard input and the more command

Nils Philippsen nils at wombat.dialup.fht-esslingen.de
Sun Jun 30 12:50:49 EST 2002


On Mon, 2002-06-24 at 07:29, Zohar Itai wrote:
> Hello,
> 
>   I've been pondering this question for a while.
> 
>   How does the more command seperate the standard input intended to be
> viewed, from the standard input used as scrolling commands? Is there a short
> program that demonstrates the concept?

I guess that it reads the key presses directly from the terminal instead
from the stdin stream (e.g. more uses libtermcap on my computer). I'd
just look at its source code (in util-linux here).

Nils
-- 
 Nils Philippsen / Berliner Straße 39 / D-71229 Leonberg //
+49.7152.209647
nils at wombat.dialup.fht-esslingen.de / nils at redhat.de /
nils at fht-esslingen.de
        Ever noticed that common sense isn't really all that common?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://linuxchix.org/pipermail/techtalk/attachments/20020630/08853c21/attachment.pgp


More information about the Techtalk mailing list