X-Git-Url: https://git.distorted.org.uk/~mdw/with-authinfo-kludge/blobdiff_plain/6ea5567209d10a4e4f0a2a9837e374f53d01c4b0..e0b2f3277cbedeca090d16552c730eb8d40b638b:/with-authinfo-kludge.1 diff --git a/with-authinfo-kludge.1 b/with-authinfo-kludge.1 index 9a6f940..d5c6532 100644 --- a/with-authinfo-kludge.1 +++ b/with-authinfo-kludge.1 @@ -210,7 +210,7 @@ If any are present, they take the place of any configuration file: an error is reported if a .B \-f option was passed. -A server configuration starts with +A server configuration starts with an argument consisting of a server name prefixed by a .RB ` + ' character: @@ -328,6 +328,14 @@ name from the section heading and may be equal to the .I remote address (below) without causing difficulty. +Note that +.B with-authinfo-kludge +will not do anything to encourage the client +to connect to the right address; +its caller must arrange to configure the client correctly, +e.g., by setting the +.B NNTPSERVER +environment variable appropriately. .TP .BI nntpauth= "parameter arguments\fR..." Set the AUTHINFO GENERIC authentication parameter and arguments @@ -352,6 +360,7 @@ set up by the .B via parameter. The default is to use +.\" FIXME Fuck you openssh 127.1.0.1:119. It is .I not @@ -444,6 +453,7 @@ if no home directory was determined. Let .I config-home denote the configuration home directory so determined. +.\" FIXME XDG_CONFIG_DIRS too now .hP 5. A `tag' is chosen, as follows. If the @@ -472,7 +482,7 @@ No configuration file could be found, so a default configuration is constructed, as follows. Let .I nntp-server -be the value of the +be the value of the .B NNTPSERVER environment variable; if it is not set, then a fatal error is reported. @@ -493,6 +503,10 @@ The runtime directory is chosen as follows. If the .B \-d option is present, then its value is used. +Otherwise, if the configuration file specifies +a value for the global +.B rundir +parameter then that it used. .hP 2. If the environment variable .B XDG_RUNTIME_DIR @@ -556,17 +570,20 @@ Let be the local machine's hostname, as reported by .BR gethostname (2). -If +Then .IB cache-home /with-authinfo-kludge. hostname -does not exist, +is used as the runtime directory. +.PP +If the directory chosen by the above procedure does not exist, then it is created as a directory, with mode 0700 (and modified by the umask). -This directory is then used as the runtime directory. (If it exists, but is not in fact a directory, then later operations will fail.) .PP The runtime directory contains a number of other directories, named +.\" FIXME junk, new, naming +.\" session dirs now entirely different .IR tag . pid \fR. Each such directory corresponds to a running (or failed)