NEWT(1)                                                   NEWT(1)

          newt - network news transport protocol (NNTP) client

          newt [ -f newsgroup ] [ -m mountpoint ] [ -p maxposts ]

          Newt provides an interactive, text-based interface to NNTP
          articles served by nntpfs(4).

          There are a number of options:

          -f   Load the specified newsgroup. Default is alt.test.

          -m   Directory where nntpfs is mounted. Default is

          -p   Number of posts to display, up to and including the
               most recent post.  Default is 30.

          Newt starts by reading the list of messages in the
          newsgroup, printing out the number of messages, and then
          prompting for commands.  The prompt itself represents the
          name of the group followed by the message number in the form
          of a file system path, relative to the mountpoint.

          Commands, as in ed(1), are of the form `[range] command
          [arguments]'.  The command is applied to each message in the
          (optional) range.

          The address range can be:

          address       to indicate a single message header.

                        to indicate a range of contiguous message

          The addresses can be:

          number        to indicate a particular message.

          The commands are:

               Print message number.

          b    Print the headers for the next ten messages.

          e    Enter a new message, honoring the environment variable

     Page 1                       Plan 9             (printed 4/18/24)

     NEWT(1)                                                   NEWT(1)

               editor. Default is hold(1).

          g newsgroup
               Change to the specified newsgroup. The name of a group
               may be provided in dotted (alt.test) or path (alt/test)

          h    Print the disposition, date, sender and subject line of
               the message. These lines are suitable for selecting and
               sending to the prompt, in order to print messages
               either singly or in aggregate.

          help Print a summary of the available commands.

          k [newsgroup]
               Without an argument, k walks the directories under the
               current group and prints commands suitable for changing
               to each available sub-group. When provided with an
               argument, it instead walks the directories under the
               group specified by the argument.

          kf regexp
               Greps $home/lib/newsgroups for regexp and prints com-
               mands suitable for changing to each match.

          p    Print the current message with minimal headers.

          P    Print the raw message with full headers.

          q    Quit.

          r    Reply to the current message.

          y    Synchronize message list with the server.

               Run the command with the message body as standard

               Run the command with the whole message as standard

               Escape to the shell to do command.

          "    Print the current message in quoted form, suitable for

          The environment variables $editor and $pager are honored.


     Page 2                       Plan 9             (printed 4/18/24)

     NEWT(1)                                                   NEWT(1)

          $home/lib/newsgroups list of newsgroups, one per line



          The list of available newsgroups offered by a given server
          may be quite large. This complicates walking the list over a
          slow Internet connection, and renders searching in real-time
          all but infeasible. Grepping a pre-generated newsgroups file
          is a compromise.

          Newt first appeared in 9front (April, 2014).

     Page 3                       Plan 9             (printed 4/18/24)