> I sometimes want to prevent other programs that I use to print on the
> command line. This is because I sometimes use ved over the intenet when
> things are very slow.
>
> E.g., ved_gn has in it an instruction:
>
> vedputmessage('Missing article: ' sys_>< num);
>
> that is in a loop and may print out a lot of text. My hack had been to
> comment this line out (;;;).
If you wish to suppress messages from other programs one way to do
it is to re-define vedputmessage. You could have an ENTER command to
turn it on or off.
vars oldputmessage = vedputmessage;
define ved_nomessage();
if vedputmessage = oldputmessage then
erase -> vedputmessage;
oldputmessage('off')
else
oldputmessage -> vedputmessage;
vedputmessage('on');
endif
enddefine;
It might have been better if vedputmessage had been defined so that
it could be temporarily disabled more easily. But since it is user
definable anway, that should solve the problem.
As far as ved_gn is concerned, in its current form if, while pointing at
a newsgroup, you do
ENTER gn 80
it will try to get only the latest 80 articles. This can stop it telling
you about older missing articles if your .newsrc file is very out of
date. (Choose your own number).
Also after it has started building the index for the group you can
interrupt by typing any character, after which it will look up at most
30 more index entries before stopping: it checks every 30 items to see
if you have typed a character.
Aaron
|