hymie! hy...@lactose.homelinux.net writes:
Sorry to resurrect an old thread, but this isn't actually working.
hymie! hymie at lactose.homelinux.net writes:
hymie! hymie at lactose.homelinux.net writes:
So while I strongly prefer the exported version of
- ~command1~
- ~command2~
-
Sorry to resurrect an old thread, but this isn't actually working.
hymie! hymie at lactose.homelinux.net writes:
hymie! hymie at lactose.homelinux.net writes:
So while I strongly prefer the exported version of
- ~command1~
- ~command2~
- ~command3~
it's hard to copy-n-paste with
hymie! writes:
I think you are making the incorrect assumption that the machine
on which I maintain my Org files is the same machine that I wish
to execute commands on.
Yes, or that you can ssh to it.
If my commnds were all 8 characters long or less, it would be
fine. Some of my commands
darc...@gmail.com writes:
However, if if I can ssh to a server called myserver I can change the
code block to
#+begin_src sh :dir /myserver:~/
hostname
#+end_src
Now if I run the code block the code is executed in myserver and I get
#+RESULTS:
: myserver_host_name
That is a very neat
Even if you want to run commands in a different computer you can do that
with C-c C-c thanks to the :dir folder header argument and tramp.
As an example, suppose I have the code block below
#+begin_src sh
hostname
#+end_src
If I run it I get something like
#+RESULTS:
: my_computer_name
Jorge A. Alfaro-Murillo jorge.alfaro-murillo at yale.edu writes:
hymie! writes:
I think you are making the incorrect assumption that the machine
on which I maintain my Org files is the same machine that I wish
to execute commands on.
Yes, or that you can ssh to it.
Unfortunately,
hymie! hymie at lactose.homelinux.net writes:
So while I strongly prefer the exported version of
- ~command1~
- ~command2~
- ~command3~
it's hard to copy-n-paste with the tildes in the way.
org-hide-emphasis-markers is the answer. Setting this to true, the tildes
disappear.
--hymie!
hymie! writes:
I'd like to be able to have a series of commands in my raw org
file that I can copy-n-paste into my shell window. But I also
like to export my org files to HTML so that I can make ePubs and
keep them in my iPad.
And this
#+BEGIN_SRC
command1
command2
command3
In our last episode, the evil Dr. Lacto had captured our hero,
jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo), who said:
hymie! writes:
I'd like to be able to have a series of commands in my raw org
file that I can copy-n-paste into my shell window. But I also
like to export my