Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

news(1) [plan9 man page]

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)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

finger and newsgroups

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)
Discussion started by: the_man_who
1 Replies

2. UNIX Desktop Questions & Answers

NewsGroup Reader . . . Need Advice

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)
Discussion started by: pc9456
2 Replies

3. UNIX for Dummies Questions & Answers

Latest News on Unix

Pls suggest some web sites where I can get the latest news/releases on unix. (4 Replies)
Discussion started by: Deepa
4 Replies

4. Shell Programming and Scripting

PHP: News publishing

can someone tell me of a good php / mysql news publishing script?? it needs to have catagories (1 Reply)
Discussion started by: perleo
1 Replies

5. UNIX for Dummies Questions & Answers

Unix based news servers +dialup numbers

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)
Discussion started by: robfo
1 Replies

6. News, Links, Events and Announcements

newst sun mashine

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)
Discussion started by: pressy
2 Replies

7. UNIX for Advanced & Expert Users

newsyslog.conf

How can I setup the log rotation every 6 hour? $D0<= in this place. I try many variants but without success. (1 Reply)
Discussion started by: mirusnet
1 Replies

8. UNIX for Dummies Questions & Answers

Can I delete the file var/spool/mail/news?

The file var/spool/mail/news has grown very large and takes up too much space. Can I delete this without any problem? (3 Replies)
Discussion started by: dennisheazle
3 Replies

9. UNIX for Advanced & Expert Users

sed to extract HTML content

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)
Discussion started by: stargazerr
2 Replies

10. Solaris

good news for Oracle x86_x64 users

Hi all, This is a good news for Oracle on Solaris users Oracle Database 11g Release 2 now available for both SPARC and x86_64 users here (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

11. What is on Your Mind?

CNET News Reader App for the Forums

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)
Discussion started by: Neo
1 Replies

12. Red Hat

Two news user accounts in RHEL!

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)
Discussion started by: parth_buch
5 Replies