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) General Commands Manual news(1)NAME
news - Writes system news items to standard output
SYNOPSIS
news [-a|-n|-s] | [item...]
The news command keeps you informed of news concerning the system.
OPTIONS
Displays all news items, regardless of the currency time. The currency time does not change. Reports the names of current news items
without displaying their contents. The currency time does not change. Reports the number of current news items without displaying their
names or contents. The currency time does not change.
DESCRIPTION
Each news item is contained in a separate file in the /usr/news directory. Anyone having read/write permission to this directory can cre-
ate a news file.
If you run the news command without any options, it displays the current files in /usr/news, beginning with the most recent. You can also
specify the items you want displayed.
Each file is preceded by an appropriate header. To avoid reporting old news, news stores a currency time. The news command considers your
currency time to be the modification time of the file named $HOME/.news_time. Each time you read the news, the modification time of this
file changes to that of the reading. Only news item files posted after this time are considered current.
Pressing the Interrupt key sequence during the display of a news item stops the display of that item and starts the next. Pressing the
Interrupt key sequence again ends news.
Most users run news each time they log in by including the following line in their $HOME/.profile file or in the system's /etc/profile:
news -n
EXAMPLES
To display the items that were posted since you last read the news, enter: news To display all the news items, enter: news -a | pg
This displays all the news items a page at a time, regardless of whether you have read them yet. To list the names of the news
items that you have not read yet, enter: news -n
Each name is a file in the /usr/news directory. To display specific news items, enter: news newusers services
This displays news about newusers and services, which are names listed by news -n. To display the number of news items that you
have not read yet, enter: news -s To post news for everyone to read, enter: cp schedule /usr/news
This copies the file schedule into the system news directory ( /usr/news) to create the file /usr/news/schedule. To do this, you
must have write permission for /usr/news.
FILES
System profile. News files. Indicates the last time news was read.
SEE ALSO
Commands: pg(1)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)