🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by sahayman Wed, 13 Sep 1989 20:33
Re: Catching up on News
#39
Author: sahayman
Date: Wed, 13 Sep 1989 20:33
26 lines
1241 bytes
From: Steve Hayman <sahayman@iuvax.cs.indiana.edu>


If you typed "space" enough times while reading rn, you'd read all the
articles and eventually quit (when you hit the **** End--next? [qnp] prompt).
So, one thing you could do is arrange to output a continuous stream
of spaces and pipe this into rn:

    %  yes ' ' | rn >/dev/null

except at MFCF for historical reasons, the "yes" command has been
renamed "adnauseam" (hey guys, with all this pathname reorganization,
isn't it  about time to restore the original "/usr/ucb/yes" command.)

Actually I'd probably write a little awk script to load up the active
file into an awk associative array, and then filter the .newsrc
appropriately, as suggested by dermot's challenge.  but I guess I can't
enter :-)  Shouldn't take any more than, oh ...

    % decomment ~/bin/catchup | wc
      9     21    184


... nine lines or so. 

Steve
Re: Catching up on News
#41
Author: Ray Butterworth
Date: Thu, 14 Sep 1989 15:06
17 lines
1224 bytes
In article <29132@watmath.waterloo.edu>, sahayman@iuvax.cs.indiana.edu writes:
> ... 
> except at MFCF for historical reasons, the "yes" command has been
> renamed "adnauseam" (hey guys, with all this pathname reorganization,
> isn't it  about time to restore the original "/usr/ucb/yes" command.)

Don't forget what those historical reasons were.
People running interactive programs that prompt for yes or no answers
will often use type-ahead when the system is slow and they know what
the next question is going to be.  Any mistake in this can leave a
"yes" waiting to execute, and when it does an infinite stream of "y"s,
one per line, is printed.  This is really fun on a hard-copy console
when the operator returns a few minutes later and has to replace
the box of paper that was just chewed up.

Perhaps a better change would have been to make "yes"
not work if output is to a tty?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads