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

2014-11-18 Thread Andreas Leha
Hi all, Brady Trainor writes: > Ista Zahn 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 $HOSTN

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

2014-11-18 Thread Brady Trainor
Ista Zahn 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 "---" > cat

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

2014-11-18 Thread Subhan Michael Tindall
s-orgmode Mailinglist > Subject: Re: [O] Executing org shell blocks on remote machine over ssh > > Ista Zahn writes: > > > On Tue, Nov 18, 2014 at 10:43 AM, Brett Viren wrote: > >> David Bjergaard writes: > >> > >>> I use org mode as a lab noteb

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

2014-11-18 Thread Brett Viren
David Bjergaard 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 fine. Really

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 wrote: > Ista Zahn writes: > >> On Tue, Nov 18, 2014 at 10:43 AM, Brett Viren wrote: >>> David Bjergaard 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 c

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

2014-11-18 Thread David Bjergaard
Ista Zahn writes: > On Tue, Nov 18, 2014 at 10:43 AM, Brett Viren wrote: >> David Bjergaard 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

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 wrote: > David Bjergaard 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 bl

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

2014-11-18 Thread Andreas Leha
Hi Myles, Myles English 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 at the

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

2014-11-18 Thread Brett Viren
David Bjergaard 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. I know th

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

[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