From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: [Babel] Executing sh code within sessions
Date: Wed, 17 Nov 2010 13:57:29 +0100 [thread overview]
Message-ID: <80y68sf6py.fsf@mundaneum.com> (raw)
In-Reply-To: 80eiayyilf.fsf@mundaneum.com
Hi Eric,
> "Eric Schulte" wrote:
>> Yes, I've noticed the shell session evaluation problems as well. I think
>> one possible solution is for us to move from the current schema of echoing
>> a babel-specific marker to indicate that evaluation has completed (which
>> isn't working very well and is fairly ugly to boot) and move towards
>> something more like what Dan has done with R, where the output is written
>> to a file, and we check for that file to be created to signal the end of
>> session based evaluation.
>
> Will that handle ssh remote execution? I still have no clue to do that via
> the sh code blocks, but that's what I'm targetting to. Therefore, the need
> for a session.:
>
> 1. code block to open the ssh connection
> 2. code block with some code
> 3. code block with other code
> 4. code block with logout
>
>
>> This is certainly something that needs to be addressed, however I for one
>> won't have any time over the next week (I'm attending a conference).
>>
>> Rest assured this issue is in our inbox. :)
>
> Thanks a lot for your continuous support.
Just for your information...
After having chased a problem for making Tramp work -- that was caused by an
overriden PS1 setting --, here is how Tramp does:
Tramp needs a special prompt, in order to distinguish command output and,
hmm, the prompt. It does set PS1 to '$ ' (and $TERM to 'dumb').
Don't know if this could be a solution here: set the prompt (instead of
letting it customizable)?
Best regards,
Seb
--
Sébastien Vauban
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2010-11-17 12:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-04 11:24 Executing sh code within sessions Sébastien Vauban
2010-11-05 10:15 ` [Babel] " Sébastien Vauban
2010-11-05 21:38 ` Eric Schulte
2010-11-06 8:14 ` Sébastien Vauban
2010-11-17 12:57 ` Sébastien Vauban [this message]
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=80y68sf6py.fsf@mundaneum.com \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/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).