#!/bin/sh

#set -x
# news gateway

host=`cat /etc/nntpserver 2>/dev/null`

[ "$1" ] && host=$1

if [ "`which slrn`" ] ; then
	exec slrn -h $host 
elif [ "`which lynx`" ] ; then
	exec lynx news://$host/
else
	exec rna -news 
fi
