From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: emacs/org-mode on Droid? Date: Thu, 15 Apr 2010 16:35:45 -0400 Message-ID: <11720.1271363745@alphaville.usa.hp.com> References: <9BABF376-FD91-4CA4-AD91-E445D84E3BFF@therogoffs.com> <4BC4AFBF.3060803@comcast.net> <87ljcpemx8.fsf@gmx.ch> <4BC68656.1050507@comcast.net> <13568.1271304504@gamaville.dokosmarshall.org> <4BC7623E.3030808@comcast.net> <9840.1271359870@alphaville.usa.hp.com> <4BC76ABD.9080003@comcast.net> <10545.1271361459@alphaville.usa.hp.com> <4BC776C0.9080300@comcast.net> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2Vn0-0001OY-8I for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 16:35:54 -0400 Received: from [140.186.70.92] (port=47716 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2Vmy-0001Me-4H for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 16:35:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2Vmw-0000Y3-45 for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 16:35:52 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:33361) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2Vmv-0000Xm-SD for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 16:35:50 -0400 In-Reply-To: Message from Mark Elston of "Thu, 15 Apr 2010 13:27:44 PDT." <4BC776C0.9080300@comcast.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Mark Elston Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Mark Elston 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 wrote: > > > >> Nick, > >> > >> Thanks. I'm already trying the script approach. I have the > >> following in a script: > >> > >> open https://webdav.mydrive.ch > >> y > >> > >> > >> 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 >