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 15:57:39 -0400	[thread overview]
Message-ID: <10545.1271361459@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from Mark Elston <m_elston@comcast.net> of "Thu, 15 Apr 2010 12:36:29 PDT." <4BC76ABD.9080003@comcast.net>

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

> 
> On 4/15/2010 12:31 PM, Nick Dokos wrote:
> > Mark Elston<m_elston@comcast.net>  wrote:
> >
> >> Nick,
> >>
> >> I have gotten cadaver running and can use it to connect to mydrive.ch.
> >> How do I integrate this in with MobileOrg?
> >>
> >> Mark
> >>
> >
> > [adding to my previous mail...]
> >
> > There are some examples (using scp) of setting up the
> > org-mobile-post-push-hook in Appendix B.1 of the Org manual.  You might
> > have to write a script to get cadaver to do what you want and then have
> > the hook call the script: afaics, you can't just use the "scp src dest"
> > command line paradigm.
> >
> > Nick
> 

  reply	other threads:[~2010-04-15 19:57 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 [this message]
2010-04-15 20:27                           ` Mark Elston
2010-04-15 20:35                             ` Nick Dokos
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=10545.1271361459@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).