man(1) Manual page archive


     APNEWS(7)                    (alice)                    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 direc-
                  tory.

          ?       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

     APNEWS(7)                    (alice)                    APNEWS(7)

               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

               `*S | mail yourself'

          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. ` x . y, z' specifies `y' and
          `z' in the same sentence and `x' somewhere in the same
          story.  The character `!'  means not, so that `!chocolate
          chip' means `chip' not preceded by `chocolate'.  Some suf-
          fixes are removed; and capitals are ignored except when
          entire words are capitalized.  Thus `ERA' and `era' are dis-
          tinguished, but `Waters' and `waters' 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 `exec term 5620' (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 example, `ndcon alice' or `nrx alice
          apnews' (after downloading an emulator, if necessary); see

     APNEWS(7)                    (alice)                    APNEWS(7)

          dcon(1).