1 @title Configuring Gnus for reading news
4 @node Setting up the news server name and port number
5 @variable server :string (or (gnus-getenv-nntpserver) "your-server-here")
6 @variable port :number 119
7 @validate (or (assistant-validate-connect-to-server server port) (y-or-n-p "Do you want to use the server anyway, although you can't confirm it's valid?"))
8 @result gnus-select-method (list 'nntp server (list 'nntp-server port))
10 Usenet news is usually read from your Internet service provider's news
11 server. If you don't know the name of this server, contact your ISP.
13 As a guess, the name of the server might be news.yourisp.com.
15 Server name: @variable{server}
16 Port number: @variable{port}
19 @next t "User name and password"
21 @node User name and password
24 (if (assistant-password-required-p)
25 "Enter user name and password"
26 "Want user name and password?")
30 @node Want user name and password?
31 @variable passwordp (:radio ((item "Yes") (item "No"))) "No"
33 Some news servers require that you enter a user name and a password.
34 It doesn't look like your news server is one of them.
36 Do you want to enter user name and password anyway?
42 @next (equal passwordp "No") finish
43 @next (not (equal passwordp "No")) "Enter user name and password"
46 @node Enter user name and password
47 @variable user-name :string (user-login-name)
48 @variable password :password (or (assistant-authinfo-data server port 'password) "")
51 It looks like your news server requires you to enter a user name
54 User name: @variable{user-name}
55 Password: @variable{user-name}
63 @c arch tag is missing