Mantas Mikulėnas <[email protected]> wrote:
 |On Mon, Jul 14, 2014 at 4:25 PM, Steffen Nurpmeso <[email protected]> \
 |wrote:
 |> so yes and no.  It is of course intentional that you have to URL
 |> percent-encode URLs and it *is* intentional that variable lookup
 |> uses the decoded plain text version as it is supposed to be more
 |> human-friendly to look at plain text.
 |
 |Thanks, I will update the variables in my configs then.

Or wait for v14.7.3 which is currently in the other terminal
window.

On the other hand using the *v15-compat* syntax that is documented
in detail in the manual section "URL syntax and credential lookup"
should be a write-once and keep-for-years task (starting with
v14.7.2).

 |By the way, is there a debug mode or something that would show where
 |exactly s-nail is looking for the password? (variable names, agent,
 |netrc...)

There is a -d switch which is almost a dry-run switch, but there
is no "life-tracing" on what is currently done or looked up.
I have some printf(3)s during debug, and i think if i would add
this then it would be WANT_DEBUG= dependent and nothing that is in
a shipout version -- so no, there isn't.

But again, please look into the manual section i quoted above (or
point your browser to [1]), i think it's overly complicated but
shows in detail all actions that are performed for looking up
credentials.

  [1] 
<http://sdaoden.users.sourceforge.net/code-nail.html#x55524c2053594e54415820414e442043524544454e5449414c204c4f4f4b5550>

I'm sorry for the inconvenience Mantas.
Credential lookup is a bit hairy -- if you can program C you could
look into urlcrecry.c, function ccred_lookup() (for *v15-compat*),
which i think is almost easier to understand than the manual :),
but otherwise don't refrain to ask (you should also be able to
post to the list).
Ciao,

--steffen

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck&#174;
Code Sight&#153; - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users

Reply via email to