Re: [O] Executing org shell blocks on remote machine over ssh

2014-11-18 Thread Brett Viren
David Bjergaard davi...@duke.edu writes: I use org mode as a lab notebook. I write org-src blocks to keep track of tasks I do at the command line, and then I copy paste them into the terminal. I would really like to hit C-c C-c on the source block and have it executed on the remote machine.

Re: [O] Executing org shell blocks on remote machine over ssh

2014-11-18 Thread Andreas Leha
Hi Myles, Myles English mylesengl...@gmail.com writes: Hi Dave, David Bjergaard writes: Hi All, I'm sorry if this has been covered before, I've been searching for a while and haven't found anything. I use org mode as a lab notebook. I write org-src blocks to keep track of tasks I do

Re: [O] Executing org shell blocks on remote machine over ssh

2014-11-18 Thread Ista Zahn
On Tue, Nov 18, 2014 at 10:43 AM, Brett Viren b...@bnl.gov wrote: David Bjergaard davi...@duke.edu writes: I use org mode as a lab notebook. I write org-src blocks to keep track of tasks I do at the command line, and then I copy paste them into the terminal. I would really like to hit C-c

Re: [O] Executing org shell blocks on remote machine over ssh

2014-11-18 Thread David Bjergaard
Ista Zahn istaz...@gmail.com writes: On Tue, Nov 18, 2014 at 10:43 AM, Brett Viren b...@bnl.gov wrote: David Bjergaard davi...@duke.edu writes: I use org mode as a lab notebook. I write org-src blocks to keep track of tasks I do at the command line, and then I copy paste them into the

Re: [O] Executing org shell blocks on remote machine over ssh

2014-11-18 Thread Ista Zahn
On Tue, Nov 18, 2014 at 1:23 PM, David Bjergaard davi...@duke.edu wrote: Ista Zahn istaz...@gmail.com writes: On Tue, Nov 18, 2014 at 10:43 AM, Brett Viren b...@bnl.gov wrote: David Bjergaard davi...@duke.edu writes: I use org mode as a lab notebook. I write org-src blocks to keep track of

Re: [O] Executing org shell blocks on remote machine over ssh

2014-11-18 Thread Brett Viren
David Bjergaard davi...@duke.edu writes: I know this is working against the grain of the literate programming paradigm where the document and the source code are coupled, and tangling the document produces a program that can be executed. I'm just wondering if its possible. If not that's

Re: [O] Executing org shell blocks on remote machine over ssh

2014-11-18 Thread Subhan Michael Tindall
Subject: Re: [O] Executing org shell blocks on remote machine over ssh Ista Zahn istaz...@gmail.com writes: On Tue, Nov 18, 2014 at 10:43 AM, Brett Viren b...@bnl.gov wrote: David Bjergaard davi...@duke.edu writes: I use org mode as a lab notebook. I write org-src blocks to keep track

Re: [O] Executing org shell blocks on remote machine over ssh

2014-11-18 Thread Brady Trainor
Ista Zahn istaz...@gmail.com writes: [snip] I guess I'm missing something (like why the OP want's to run a shell in a separate window), but why not just #+BEGIN_SRC sh :results output :dir /ssh:lycastus:/home/bviren :session *shell* /bin/pwd echo $HOSTNAME ls -l foo.sh echo ---

Re: [O] Executing org shell blocks on remote machine over ssh

2014-11-18 Thread Andreas Leha
Hi all, Brady Trainor algeb...@uw.edu writes: Ista Zahn istaz...@gmail.com writes: [snip] I guess I'm missing something (like why the OP want's to run a shell in a separate window), but why not just #+BEGIN_SRC sh :results output :dir /ssh:lycastus:/home/bviren :session *shell*

[O] Executing org shell blocks on remote machine over ssh

2014-11-17 Thread David Bjergaard
Hi All, I'm sorry if this has been covered before, I've been searching for a while and haven't found anything. I use org mode as a lab notebook. I write org-src blocks to keep track of tasks I do at the command line, and then I copy paste them into the terminal. I would really like to hit C-c

Re: [O] Executing org shell blocks on remote machine over ssh

2014-11-17 Thread Myles English
Hi Dave, David Bjergaard writes: Hi All, I'm sorry if this has been covered before, I've been searching for a while and haven't found anything. I use org mode as a lab notebook. I write org-src blocks to keep track of tasks I do at the command line, and then I copy paste them into the