🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Peter J Ross Wed, 16 May 2007 13:15
[tin] How to save authentication details for use with -A option?
#199502
Author: Peter J Ross
Date: Wed, 16 May 2007 13:15
45 lines
2596 bytes
Two of the news servers I use offer different services according to
whether one supplies a username and password or not. thus

	$ tin -rg news.readfreenews.net

gives me read-only access, while

	$ tin -rAg news.readfreenews.net

also allows me to post. The problem is that -A prompts for username
and password every time, even though I have them stored in
~/.tin/.newsauth. Is there any way to make tin use the stored
information with the -A option?

Version details:

$ tin -V
Version: tin 1.9.2 release 20070201 ("Dalaruan") Feb 26 2007 12:59:46
Platform:
        OS-Name  = "linux-gnu"
Compiler:
        CC       = "gcc"
        CFLAGS   = "-g -O2"
        CPP      = "gcc -E"
        CPPFLAGS = "-D_GNU_SOURCE"
Linker and Libraries:
        LD       = "gcc"
        LDFLAGS  = ""
        LIBS     = "-lncursesw    -lidn"
        PCRE     = "6.7 04-Jul-2006"
Characteristics:
        +NNTP_ABLE -NO_POSTING -BROKEN_LISTGROUP +XHDR_XREF
        -HAVE_FASCIST_NEWSADMIN +ENABLE_IPV6 -HAVE_COREFILE
        -NO_SHELL_ESCAPE -DISABLE_PRINTING -DONT_HAVE_PIPING -NO_ETIQUETTE
        +HAVE_LONG_FILE_NAMES +APPEND_PID +HAVE_MH_MAIL_HANDLING
        +HAVE_ISPELL +HAVE_METAMAIL +HAVE_SUM
        +HAVE_COLOR -HAVE_PGP -HAVE_PGPK +HAVE_GPG
        -MIME_BREAK_LONG_LINES +MIME_STRICT_CHARSET +CHARSET_CONVERSION
        +MULTIBYTE_ABLE -NO_LOCALE
        +USE_CANLOCK -EVIL_INSIDE -FORGERY -TINC_DNS -ENFORCE_RFC1034
        -REQUIRE_BRACKETS_IN_DOMAIN_LITERAL -FOLLOW_USEFOR_DRAFT


-- 
PJR :-)
Re: [tin] How to save authentication details for use with -A option?
#199506
Author: Frank Slootweg
Date: Wed, 16 May 2007 14:44
37 lines
2291 bytes
Peter J Ross <pjr@example.invalid> wrote:
> Two of the news servers I use offer different services according to
> whether one supplies a username and password or not. thus
> 
>         $ tin -rg news.readfreenews.net
> 
> gives me read-only access, while
> 
>         $ tin -rAg news.readfreenews.net
> 
> also allows me to post. The problem is that -A prompts for username
> and password every time, even though I have them stored in
> ~/.tin/.newsauth. Is there any way to make tin use the stored
> information with the -A option?

  I don't kown if this is a configure/build/make/compile/<whatever>
thingie, but isn't it ~/.newsauth, i.e. in your (tin) home directory,
not in your .tin subdirectory? At least there is where *my* .newsauth is
and the tin(1) manualpage seem to say the same thing:

> FILES
...
>        ${TIN_HOMEDIR-"$HOME"}/.newsauth
...
>        ${TIN_HOMEDIR-"$HOME"}/.newsrc
...
>        ${TIN_HOMEDIR-"$HOME"}/.tin/tinrc

  I.e. .newsauth lives where (f.e.) .newsrc lives, not where (f.e.)
tinrc lives.

  FWIW, my .newsauth works fine, but I don't use -g, nor -A, so YMMV.

  HTH.

> Version details:
[deleted]
Re: [tin] How to save authentication details for use with -A option?
#199505
Author: Peter J Ross
Date: Wed, 16 May 2007 15:03
26 lines
2080 bytes
In news.software.readers on 16 May 2007 14:44:23 GMT, Frank Slootweg
<this@ddress.is.invalid> wrote:

> Peter J Ross <pjr@example.invalid> wrote:
>> Two of the news servers I use offer different services according to
>> whether one supplies a username and password or not. thus
>> 
>>         $ tin -rg news.readfreenews.net
>> 
>> gives me read-only access, while
>> 
>>         $ tin -rAg news.readfreenews.net
>> 
>> also allows me to post. The problem is that -A prompts for username
>> and password every time, even though I have them stored in
>> ~/.tin/.newsauth. Is there any way to make tin use the stored
>> information with the -A option?
>
>   I don't kown if this is a configure/build/make/compile/<whatever>
> thingie, but isn't it ~/.newsauth, i.e. in your (tin) home directory,
> not in your .tin subdirectory?

Yes it is. I am an idiot. Thanks.

-- 
PJR :-)
Re: [tin] How to save authentication details for use with -A option?
#199509
Author: Frank Slootweg
Date: Wed, 16 May 2007 17:18
6 lines
1317 bytes
Peter J Ross <pjr@example.invalid> wrote:
[deleted]

> I am an idiot.

  Oh deary! Now you've got to plonk *yourself*. *That*'s going to hurt! :-)
Re: [tin] How to save authentication details for use with -A option?
#199510
Author: Whiskers
Date: Wed, 16 May 2007 17:34
14 lines
1639 bytes
On 2007-05-16, Frank Slootweg <this@ddress.is.invalid> wrote:
> Peter J Ross <pjr@example.invalid> wrote:
> [deleted]
>
>> I am an idiot.
>
>   Oh deary! Now you've got to plonk *yourself*. *That*'s going to hurt! :-)

Do it with slrn; that's relatively painless  ;))

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads