• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

slrnpull/H03-May-2022-569398

tm/H23-Oct-2016-2,0641,668

FAQH A D23-Oct-201652.5 KiB1,259950

FIRST_STEPSH A D23-Oct-20166.4 KiB166120

INSTALL.os2H A D23-Oct-20163.6 KiB8967

INSTALL.unixH A D23-Oct-20166.3 KiB178133

INSTALL.vmsH A D23-Oct-201688 32

INSTALL.w32H A D23-Oct-20163.1 KiB8860

INSTFILESH A D23-Oct-2016156 1514

README.GroupLensH A D23-Oct-20162.5 KiB6550

README.SSLH A D23-Oct-20161.6 KiB5031

README.macrosH A D23-Oct-20164.3 KiB138102

README.multiuserH A D23-Oct-20163 KiB7150

THANKSH A D23-Oct-20161.1 KiB3831

VMS-SLRN.HLPH A D23-Oct-201633.8 KiB961729

score.slH A D23-Oct-20162.7 KiB131112

slrn.1H A D23-Oct-20168.1 KiB295263

slrn.rcH A D23-Oct-201621.2 KiB543457

slrnpull.1H A D23-Oct-20164.8 KiB176142

README.GroupLens

1
2* Note: The information in this file is outdated.  According to
3* <URL:http://www.cs.umn.edu/Research/GroupLens/>, the trial of the
4* collaborative filtering system for Usenet is finished.
5* Chris Siegler <siegler@visi.com> told me he had a working implementation
6* of a BBB server.  Although it's currently not online, I'll keep GroupLens
7* support in slrn for now.
8
9The GroupLens support should work on most Unix systems.  It may even
10work for OS/2 or VMS.
11
12For information about GroupLens, see
13
14    http://www.cs.umn.edu/Research/GroupLens/trial.html
15
16Edit src/slrnfeat.h to enable support for GroupLens,
17
18The next step is to create a file called .grplens in your home
19directory.  This file must contain lines such as:
20
21PSEUDONYM your-pseudonym
22BBBHOST grouplens.cs.umn.edu
23BBBPORT 9000
24comp.os.linux.misc
25     .
26     .
27rec.food.recipes
28rec.arts.movies.current-films
29
30The last lines in the file consist of newsgroup names.  See
31http://www.cs.umn.edu/Research/GroupLens/trial.html for information
32about which groups are supported.
33
34The PSEUDONYM line must contain a registered pseudonym.  To register a
35pseudonym, see http://www.cs.umn.edu/Research/GroupLens/trial.html for
36a registering link.
37
38Once you have created your .grplens file with a registered pseudonym,
39you need to add the line
40
41   set use_grouplens 1
42
43to your .slrnrc file.  After doing that, simply run slrn.  When you
44enter a supported newsgroup, slrn will retrieve rating for the
45newsgroup from the GroupLens server and display the ratings in the
46header summary window.  The display format is set via the DISPLAYTYPE
47line in your .grplens file.  Again, see the GroupLens web page for
48supported DISPLAYTYPE or look at the documentation in the GroupLens
49library directory.
50
51To rate articles that you have read, simply press `0' followed by an
52integer `1' through `5' where `1' is a low rating and `5' is a high
53rating. After leaving the newsgroup, slrn will send your ratings back
54to the GroupLens server.  Note: Only those newsgroups that the
55GroupLens server supports which are also listed in your .grplens file
56may be rated.
57
58The header display in a group for which GroupLens ratings have been
59requested, will include a ratings field.  The ratings field will
60either consist of one or more `*' characters, or a `?'.  The `?' means
61that there is no GroupLens information for the article for which the
62header refers.  Articles for which GroupLens information is available
63will contain one or more `*' characters on the header lines to
64indicate a rating of 1 to 5.
65

README.SSL

1SLRN may be used to access a secure server using SSL.  To do this, SSL
2support must be enabled.
3
4Compiling SLRN with SSL support
5-------------------------------
6
7To build slrn with SSL support, you must first obtain and install the
8OpenSSL library from http://www.openssl.org.  Beware that some
9countries may have import/export regulations concerning such software.
10If you get arrested, do not call me!  Just as important, do not
11contact me if you have trouble compiling OpenSSL --- I have nothing to
12do with the development of OpenSSL.
13
14After installing OpenSSL, configure slrn for SSL support, e.g.,
15
16   ./configure --with-ssl
17
18By default, OpenSSL will install itself in /usr/local/ssl.  If you
19install it elsewhere, e.g., $HOME/ssl, then use:
20
21   ./configure --with-ssl=$HOME/ssl
22
23After compiling it, `slrn --version' should indicate SSL support.
24
25
26Using SLRN with secure servers
27------------------------------
28
29As far as slrn is concerned, only those servers whose names are prefixed with
30"snews://" are secure and require SSL.  So, to access a secure server such as
31netscape's secnews.netscape.com, simply prefix the NNTP host name with
32"snews://" and, if required, specify the port number.  For instance,
33
34   slrn -h snews://secnews.netscape.com:563 --create
35
36In your .slrnrc file, you may want to add a line such as:
37
38   server "snews://secnews.netscape.com:563" ".newsrc-netscape"
39
40to indicate that the file ".newsrc-netscape" should be used for this
41server.
42
43
44If the server requires authentication, you may also want to add a line such
45as:
46
47   nnrpaccess "snews://secnews.netscape.com:563" "username" "password"
48
49That's it!
50

README.macros

1-*- mode: text; mode: fold; -*-
2The purpose of this note is to provide some instructions on extending the
3newsreader in its macro language.
4
5{{{ Introduction
6
7When slrn is started, it reads the .slrnrc user initialization file.
8That file may contain one or more `interpret' commands causing the
9newsreader to load the specified S-Lang scripts, e.g.,
10
11    interpret ".slrn.sl"
12    interpret "src/slrn/macros/search.sl"
13
14Each script must obey the syntax of the S-Lang language.  See the
15slang documentation from <http://www.jedsoft.org/slang/> more more
16information about the syntax.
17
18Several pre-written macros are included in the slrn distribution in
19the macro subdirectory and many more are available from various pages all
20over the web.
21
22}}}
23---------------------------------------------------------------------------
24Defining Key Macros {{{
25---------------------------------------------------------------------------
26
27    Although one is able to bind keys to specific functions via lines
28    of the form
29
30         setkey group "refresh_groups"  "G"
31
32    in the .slrnrc file, it is not possible to defined more
33    complicated actions in this manner.  However, macros can be
34    defined by using a S-Lang script.  For example, the
35    `refresh_groups' internal function refreshes the newsgroups but it
36    does not cause the cursor to move to the top of the newsgroup
37    list.  On the other hand, the internal function `bob' moves to the
38    top of the list but it does not refresh the groups.  One can
39    define a S-Lang function to perform both actions:
40
41         define refresh_groups_bob ()
42	 {
43	     call ("refresh_groups");
44	     call ("bob");
45	 }
46
47    and bind it to a key:
48
49         definekey ("refresh_groups_bob", "g", "group");
50
51    The `definekey' function takes 3 arguments:
52
53         function to execute
54	 keybinding
55	 keymap name   ("article" or "group")
56
57    Here is another macro that may be used in article mode.  It
58    performs a regular expression search for subjects.
59
60	variable Last_Search_Str = "";
61	define re_subject_search_forward ()
62	{
63	   variable str;
64
65	   ERROR_BLOCK
66	     {
67	       () = header_up (1);
68	     }
69
70	   !if (header_down (1)) return;
71
72	   str = read_mini ("Subject re-search fwd", Last_Search_Str, "");
73
74	   !if (strlen (str))
75	     return;
76
77	   Last_Search_Str = str;
78	   !if (re_fsearch_subject (str))
79	     error ("Not found.");
80	}
81
82    To bind it to, e.g., `s' in the article keymap, use:
83
84	definekey ("re_subject_search_forward", "s", "article");
85
86    Some slrn keyboard functions require a ``prefix argument''.
87    Many people find the use of prefix arguments somewhat strange.
88    For example, instead of typing `ESC 1 ESC p' to reconstruct a thread,
89    one can simply use the function:
90
91        define my_recreate_thread ()
92	{
93	    set_prefix_argument (1);
94	    call ("get_parent_header");
95	}
96
97   Here is a function that pipes the current article to a
98   command called `most' (a paging program similar to more/less):
99
100        define pipe_to_most ()
101	{
102	    pipe_article ("most");
103	}
104	definekey ("pipe_to_most", "&", "article");
105
106   Here it has been bound to the `&' key.  Most likely one will want
107   to pipe the article to a shell script for further processing.
108
109   Some of the built-in keyboard functions will prompt for a
110   string.  For example, in article mode, pressing the `:' key will
111   prompt for an filename.  The function `set_input_string' may be
112   used to provide a response to such a prompt, e.g.,
113
114      % The `:' command will prompt for a filename.
115      set_input_string ("/tmp/decoded");
116      call ("decode");
117
118   For functions that prompt for a single character, such as
119
120      Do you really want to quit? [Y]es No
121
122   a similar intrinsic function, set_input_chars, may be used to
123   provide the answer.
124
125}}}
126---------------------------------------------------------------------------
127Hooks and Command Reference
128---------------------------------------------------------------------------
129The above examples used ``intrinsic'' functions such as `call',
130`set_integer_variable', etc.  A description of all slrn intrinsic functions
131that are available via the interpreter is included in slrnfuns.txt.  A
132comprehensive list of all hooks into the newsreader is now also included in
133that file.
134
135The S-Lang language includes many other intrinsics, such as `strcmp' and
136`is_substr' which are described in the file slangfun.txt that comes with
137S-Lang itself.
138

README.multiuser

1This file concerns a setup of slrn that is suitable for multiple users.
2
3The installation instructions given in this file provide information about
4setting up slrn with defaults that are global to all users.  These defaults
5include such information as the name of the organization and the hostname.
6In addition, only one newsgroup description file is needed instead of one
7per user.
8
9The files that provide such "global" information are put in
10  SYSCONFDIR/slrn.rc           : global initialization file and
11  DATADIR/slrn/newsgroups.dsc  : newsgroup description file.
12The values of SYSCONFDIR and DATADIR can be set when building slrn
13(--sysconfdir and --datadir options of ./configure).
14
15On my system, the global slrn.rc file simply contains the two lines:
16
17   set hostname space.mit.edu
18   set organization "Center for Space Research"
19
20which will appear in the appropriate headers when a user posts a message. In
21addition to specifying these quantities in the slrn.rc file, suitable
22defaults may be compiled into the executable.  Simply edit the slrnfeat.h
23file for this option.
24
25Background:
26
27  When slrn runsn it looks for a file that contains the description of all
28  the news groups.  This is NOT the newsrc file.  Rather, it is a file that
29  contains a one line summary of what each group is about.  This file can be
30  quite large if there are many newsgroups.  For example, on my system, the
31  newsgroup description file is 225 Kilobytes.  It is not desirable for each
32  user to have their own private copy of this file, especially when there is
33  more than one user of slrn on a given system.  Instead, the system
34  administrator only has to keep a copy of it in a directory that slrn knows
35  about.  Part of the installation process described in this file involves
36  the creation of such a directory.
37
38  slrn assumes that newsgroup description file will be called
39  `newsgroups.dsc'.  The directory where this file is located get hardcoded
40  into the binary. By default, it is /usr/local/share/slrn, but you can
41  change this with the --datadir option when running ./configure.
42
43  Now, you have to obtain the newsgroup description file. You can do that in
44  at least two ways.  The easiest is to simply get the file `newsgroups.dsc'
45  from space.mit.edu:/pub/davis/slrn.  The other method is just as easy but
46  involves slrn to create such a file for you.  This is described below.
47
48With this background, the steps presented below should be clear.
49
50  0. Execute the steps outlines in README before continuing.
51
52  1. Create the directory `/usr/local/share/slrn' (or equivalent; after a
53     successful installation of slrn, it should already exist).
54
55  2. Run slrn as follows:
56
57         slrn -f SHAREDIR/slrn/newsgroups -d
58
59     (Of course, make the proper substution of SHAREDIR).  This will create
60     a file newsgroups.dsc in SHAREDIR/slrn.
61
62     This step may take some time to complete for slow NNTP connections.
63
64  3. If more that one person will be reading this file, make sure it is
65     world readable, e.g.,
66
67         chmod go+r SHAREDIR/newsgroups.dsc
68
69
70That's it!!
71