From: Dan Davison <davison@stats.ox.ac.uk>
To: Benjamin Andresen <benny@in-ulm.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-babel: interactive terminal support
Date: Fri, 25 Sep 2009 19:02:54 -0400 [thread overview]
Message-ID: <87hbuq631d.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <87vdjabh2w.fsf@in-ulm.de> (Benjamin Andresen's message of "Wed, 23 Sep 2009 03:11:35 +0200")
Benjamin Andresen <benny@in-ulm.de> writes:
> Hello,
>
> after seeing org-babel I immediately thought of the eev project by
> Eduardo Ochs (http://angg.twu.net/)
>
> Basically I wanted to do what he does in this video:
> http://angg.twu.net/eev-current/anim/channels.anim.html
>
> So I wrote a small org-babel gnu screen interface.
> Eev does the same with "expect" but is very line-centric. And GNU Screen
> can slurp in whole files. (I guess one could support several backends if
> this proves useful)
Hi Benny,
This looks very interesting and I think it's extremely likely that we'll
want to include your code -- thanks very much. Having said that, I'm
being a bit dense: would you mind expanding a bit on what this currently
does, and what it has the potential to do?
Dan
>
> The translated org-babel syntax looks like this:
>
> * Listen on port 1234
> #+begin_src screen :session receiver :results silent
> netcat -l -p 1234
> #+end_src
>
> * Send things to port 1234
> #+begin_src screen :session sender :results silent
> {
> echo hi
> sleep 1
> echo bye
> sleep 1
> } | netcat -c localhost 1234
> #+end_src
>
> I've put the code on github if anyone is interested in this:
> http://github.com/bandresen/org-babel-screen
>
> A few things are still hardcoded, like the use of /bin/zsh. If you guys
> think this is a worthwhile addition to org-babel, let me know what the
> right parameter would be.
>
> HTH,
> benny
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2009-09-25 23:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-23 1:11 org-babel: interactive terminal support Benjamin Andresen
2009-09-23 23:02 ` Eric Schulte
2009-09-23 23:46 ` Benjamin Andresen
2009-09-25 23:02 ` Dan Davison [this message]
2009-09-25 23:29 ` Benjamin Andresen
2009-09-28 19:55 ` Dan Davison
2009-09-28 20:36 ` Benjamin Andresen
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=87hbuq631d.fsf@stats.ox.ac.uk \
--to=davison@stats.ox.ac.uk \
--cc=benny@in-ulm.de \
--cc=emacs-orgmode@gnu.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).