% Filename: fetchnews.sl % Version: 0.9.1 % Author: Troy Piggins define fetchnews () { % Uncomment following line if using slrnpull. Check paths. % () = system ("sudo /usr/local/bin/slrnpull -h newsserver"); % following line is for leafnode () = system ("sudo /usr/local/sbin/fetchnews -vvv"); call("refresh_groups"); } define post_only () { % following line is for leafnode () = system ("sudo /usr/local/sbin/fetchnews -vvv -P"); } definekey ("fetchnews", "G", "group"); definekey ("post_only", "g", "group");