NEWS(1) DOMAIN/IX Reference Manual (SYS5) NEWS(1)
NAME
news - print news items
USAGE
news [ -a ] [ -n ] [ -s ] [ items ]
DESCRIPTION
News keeps you informed of current events. By convention,
these events are described by files in the directory
/usr/news.
By using the items argument, you may indicate specific news
items to be printed. If you do not specify any arguments,
news prints the contents of all current files in /usr/news,
the most recent one first, with each preceded by an
appropriate header. News stores the ``currency'' time as
the modification date of a file named .news_time in your
home directory. The identity of this directory is deter-
mined by the environment variable $HOME. Only files more
recent than this currency time are considered ``current.''
If you type a delete during the printing of a news item,
printing stops and the next item is started. Another delete
within one second of the first causes the program to ter-
minate.
OPTIONS
-a Print all items, regardless of currency. Do not
change the stored time.
-n Report the names of the current items without
printing their contents, and without changing the
stored time.
-s Report how many current items exist, without
printing their names or contents, and without
changing the stored time. Useful to include in
your .profile file, or in the system's
/etc/profile.
FILES
/etc/profile
/usr/news/*
$HOME/.news_time
RELATED INFORMATION
environ (5).
Printed 6/10/85 NEWS-1