NEWS(1) General Commands Manual NEWS(1)NAME
news - print news items
SYNOPSIS
news [ -a ] [ -n ] [ item ... ]
DESCRIPTION
When invoked without options, this simple local news service prints files that have appeared in /lib/news since last reading, most recent
first, with each preceded by an appropriate header. The time of reading is recorded. The options are
-a Print all items, regardless of currency. The recorded time is not changed.
-n Report the names of the current items without printing their contents, and without changing the recorded time.
Other arguments select particular news items.
To post a news item, create a file in /lib/news.
You may arrange to receive news automatically by registering your mail address in /sys/lib/subscribers. A daemon mails recent news to all
addresses on the list.
FILES
/lib/news/*
articles
$HOME/lib/newstime
modify time is time news was last read
/sys/lib/subscribers
who gets news mailed to them
SOURCE
/sys/src/cmd/news.c
NEWS(1)
Check Out this Related Man Page
news(1) User Commands news(1)NAME
news - print news items
SYNOPSIS
news [-a] [-n] [-s] [items]
DESCRIPTION
news is used to keep the user informed of current events. By convention, these events are described by files in the directory /var/news.
When invoked without arguments, news prints the contents of all current files in /var/news, most recent first, with each preceded by an
appropriate header. news stores the ``currency'' time as the modification date of a file named .news_time in the user's home directory (the
identity of this directory is determined by the environment variable $HOME ); only files more recent than this currency time are considered
``current.''
OPTIONS -a Print all items, regardless of currency. In this case, the stored time is not changed.
-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. It is useful
to include such an invocation of news in one's .profile file, or in the system's /etc/profile.
All other arguments are assumed to be specific news items that are to be printed.
If a delete is typed 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 terminate.
ENVIRONMENT VARIABLES
See environ(5) for a description of the LC_CTYPE environment variable that affects the execution of news.
FILES
/etc/profile
/var/news/*
$HOME/.news_time
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWesu |
|CSI |Enabled |
+-----------------------------+-----------------------------+
SEE ALSO profile(4), attributes(5), environ(5)SunOS 5.10 20 Dec 1996 news(1)
Hi, I've been using unix at college for a few weeks now and I have come up against a few stumbling blocks:
- Most unix commands seem to work w/ regexps - the computers I and my group are allowed to logon to are all itsunXX where XX is a number. if I can {finger @itsun88} to find out that I and... (1 Reply)
I recently installed Suse 8.0 and am in need of a dependable news group reader. I need something that will authenticate just like Outlook Express does, because I will connecting to an Exchange News Host. Does anyone have any suggestions as to what I should donwload for a Microsoft compatible news... (2 Replies)
Is there a website that lists telephone numbers for dialup connection to unix based servers? There used to be such a site but can't find it now. What I need is numbers, which my ISP supports, that I can use to access a news server, unix-based. (1 Reply)
newest mashine
http://www.sun.com/servers/highend/sunfire_e25k/index.xml
newest solaris
http://www.aceshardware.com/read_news.jsp?id=75000449
the first good news from sun for 1 year... sounds great.....
greetings Preßy (2 Replies)
Hiya,
I am trying to extract a news article from a web page. The sed I have written brings back a lot of Javascript code and sometimes advertisments too. Can anyone please help with this one ??? I need to fix this sed so it picks up the article ONLY (don't worry about the title or date .. i got... (2 Replies)
We are thinking of building a CNET style reader app for reading threads in the forums. One developer suggested we look at a CNN vBulletin app, which I am not familiar with (he said he will post the link tomorrow, Monday).
Anyway, I asked the (potential) developer for this app to work with us in... (1 Reply)
I have a server Red Hat Enterprise Linux ES release 4 (Nahant Update 4) on which I have two news accounts!!
news:x:9:13:news:/etc/news:
news:x:9:13:news:/var/spool/news:
I don't know who added this extra account but it exists; none of this directories actually exist because rpm's are not... (5 Replies)