emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Mark Elston <m_elston@comcast.net>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Re: emacs/org-mode on Droid?
Date: Thu, 15 Apr 2010 16:35:45 -0400	[thread overview]
Message-ID: <11720.1271363745@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from Mark Elston <m_elston@comcast.net> of "Thu, 15 Apr 2010 13:27:44 PDT." <4BC776C0.9080300@comcast.net>

Mark Elston <m_elston@comcast.net> wrote:

> Nick,
> 
> What do you have in your .netrc (besides passwords and such)...
> 
> Mark
> 

The format is described in the cadaver manual page - the relevant line
looks like this

,----
| ...
| machine host.domain.com login luser passwd foobar
`----

Most programs will refuse to use it however if the permissions are too
loose: mine are set to rw------- and the file is owned by me. Insert
standard caveat about cygwin here.

Nick


> On 4/15/2010 12:57 PM, Nick Dokos wrote:
> > Mark Elston<m_elston@comcast.net>  wrote:
> >
> >> Nick,
> >>
> >> Thanks.  I'm already trying the script approach.  I have the
> >> following in a script:
> >>
> >>    open https://webdav.mydrive.ch
> >>    y
> >>    <username>
> >>    <password>
> >>    cd org
> >>    put Teaching.org
> >>    put Home.org
> >>    close
> >>    exit
> >>
> >> The 'y' is to accept the untrusted server certificate.
> >>
> >> Unfortunately, even though this all works manually, when running it as:
> >>
> >>    cadaver<  response.file
> >>
> >> it barfs on accepting the certificate.  Sigh.  Time to get the sources
> >> and try compiling a local version that doesn't ask to accept the
> >> cert and just goes on with the rest.
> >>
> >
> > On Linux, I can use the .netrc mechanism to log in to the server (simple
> > auth only), so the script does not have to worry about that. Don't know
> > whether this works with the cygwin version or how the certificate
> > complicates things.  Using this mechanism, the following script works:
> >
> > ,----
> > | #! /bin/bash
> > |
> > | cadaver http://alphaville.usa.hp.com/org<<  EOF
> > | put foo.org bar.org
> > | quit
> > | EOF
> > `----
> >
> > Nick
> 
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 

  reply	other threads:[~2010-04-15 20:35 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-16 18:18 emacs/org-mode on Droid? David Rogoff
2010-02-16 21:47 ` Tom Tobin
2010-02-17  0:50   ` David Rogoff
2010-04-13  2:08     ` Daniel Martins
2010-04-13 15:42       ` Matthew Jones
2010-04-13 17:54         ` Mark Elston
2010-04-13 18:25           ` Matthew Jones
2010-04-14 21:36             ` Sven Bretfeld
2010-04-15  3:21               ` Mark Elston
2010-04-15  4:01                 ` Matthew Jones
2010-04-15  7:47                   ` Eric S Fraga
2010-04-15 18:55                   ` Mark Elston
2010-04-15  4:08                 ` Nick Dokos
2010-04-15 19:00                   ` Mark Elston
2010-04-15 19:21                     ` Nick Dokos
2010-04-15 19:31                     ` Nick Dokos
2010-04-15 19:36                       ` Mark Elston
2010-04-15 19:57                         ` Nick Dokos
2010-04-15 20:27                           ` Mark Elston
2010-04-15 20:35                             ` Nick Dokos [this message]
2010-04-15 20:46                             ` Nick Dokos
2010-04-15 21:18                               ` Mark Elston
2010-04-15 20:16                         ` Matthew Jones
2010-04-15 20:26                           ` Mark Elston
2010-04-15 14:20                 ` Sven Bretfeld
2010-04-18 14:06         ` Daniel Martins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11720.1271363745@alphaville.usa.hp.com \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=m_elston@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).