Manual Page Result
0
Command: apnews | Section: 7 | Source: UNIX v10 | File: apnews.7
APNEWS(7) Miscellaneous Information Manual APNEWS(7)
NAME
apnews, ap.keys - present AP wire stories
SYNOPSIS
apnews [ -f dir ] [ -r ]
DESCRIPTION
Apnews presents news from the AP wire on a cursor-addressed screen.
The top half of the screen contains 20 story slugs (two-word labels).
Apnews responds to these commands:
n Print story for slug n; page through it by typing newlines.
m Present more slugs.
. Return to current slug list.
t Top. Return to first list of slugs
s keywords
Present slugs for stories containing these keywords.
y Present slugs for stories containing words from the last story
read.
c file Copy. Add story being read to named file or directory.
? Print some help.
To suggest interest, slugs may be followed by a bracketed number that
shows the average number of pages (up to 5) that readers have perused.
Option -r turns this feature off.
Option -f directs the attention of apnews to a specified directory of
AP stories, as may be collected by
To monitor news automatically, put a file in your home directory. This
file contains instructions marked by each followed by one or more
search lines. Instructions specify what to capture:
S whole story
P first paragraph
H heading
then what to do with it:
| command
specifying a command (often mail) to be executed with the story
as standard input
> file specifying a file or directory to add the story to; pathnames
are relative to your home directory
If no instruction is present, the default is
Search lines may contain:
(1) a sequence of blank-separated words; these words must occur in
this order
(2) a sequence of words separated by commas; these words must appear
in the same sentence
(3) a sequence of words separated by periods; these words may occur
anywhere in the story, but all must appear
Combinations are allowed, e.g. specifies and in the same sentence and
somewhere in the same story. The character means not, so that means
not preceded by Some suffixes are removed; and capitals are ignored ex-
cept when entire words are capitalized. Thus and are distinguished,
but and are not. Special `words' specify story types:
#f flash
#b bulletin
#u urgent news
#r regular news
#d deferred news
EXAMPLES
*S > stuff
bell laboratories
FCC . telephone, regulation
*P | mail joe
#b
AM-NewsDigest
FILES
BUGS
Apnews can fail to work well in a mux(9.1) window, for two reasons.
(1) The window needs a terminal emulator. Before invoking apnews, do
(or 2621); see term(9.1).
(2) Remote execution needs a transparent connection. If logged in
elsewhere make the connection to the serving machine by doing, for ex-
ample, or (after downloading an emulator, if necessary); see dcon(1).
alice APNEWS(7)