File: news.man

package info (click to toggle)
sysnews 0.9-8
  • links: PTS
  • area: main
  • in suites: woody
  • size: 116 kB
  • ctags: 86
  • sloc: ansic: 971; makefile: 70; sh: 23
file content (86 lines) | stat: -rw-r--r-- 2,156 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
.\" Copyright (C) 1993,1994,1995  Charles (int@link.xs4all.nl)
.\"
.\" GPL
.\"
.\" $Id: news.man,v 1.4 1997/01/08 10:09:37 root Exp $
.\"
.TH NEWS 1 "18 January 1995" "Linux" "USER COMMANDS"
.SH NAME
news \- display system news
.SH SYNOPSIS
.B news [\-adDeflnpvxs] [[article1] [article2] ..]
.SH DESCRIPTION
The
.B news
command keeps you informed of news concerning the system.
Each news item is contained in a separate file in the
.I /var/lib/sysnews
directory. Anyone having write permission
to this directory can create a news file.
.LP
If you run the news command without any flags, it displays every
unread file in the
.I /var/lib/sysnews
directory.
.LP
Each file is preceded by an appropriate header. To avoid reporting
old news, the news command stores a currency time. The news
command considers your currency time to be the date the
.I $HOME/.news_time
file was last modified. 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
unread.
.LP
.SH OPTIONS
.TP
.I "\-a, \-\-all"
Display all news, also the already read news.
.TP
.I \-d, \-\-datestamp
Add a date stamp to each article name printed. this can only be used with
the \-nl flags.
.TP
.I "\-D, \-\-datefmt <fmt>"
Specify a date format, see the
.BR strftime (3)
man page for more details.
the default format is
.BR "(%b %d %Y)"
.TP
.I "\-f, \-\-newsdir <dir>"
Read news from an alternate newsdir.
.TP
.I "\-l, \-\-oneperline"
One article name per line.
.TP
.I "\-n, \-\-names"
Only show the names of news articles.
.TP
.I "\-p, \-\-page"
Pipe articles through
.B $PAGER
or
.BR more (1)
if the
.B $PAGER
environment variable is not set.
.TP
.I "\-s, \-\-articles"
Reports the number of news articles.
.LP
.SH MAINTAINER OPTIONS
.TP
.I "\-e, \-\-expire #"
Expire news older than # days.
.TP
.I "\-x, \-\-exclude a,b,c"
A comma separated list of articles which may not be expired.
if a file named
.I .noexpire
exists in the
.I /var/lib/sysnews
direcory, filenames are read from it also. names in this file may be comma
separated, and/or one per line.
.SH AUTHOR
Charles, <int@link.xs4all.nl>