You can use "leoremote.py" to talk with Leo process outside the process (e.g. shell session).
Google for "leoremote leo editor" for stuff on this. On Wed, Oct 12, 2011 at 9:07 AM, Jeff Aigner <[email protected]> wrote: > I would also be interested to see how a shell can interact with Leo node > structure. I talked about this on the group a few weeks ago -- make a set of > utilities that can scrape info from shell commands and format them into an > outline. For example you might use it to see directory structure, list users > of the system, grep for information, see system stats, etc. Bonus points for > operating on a remote system through SSH. > > On Wed, Oct 12, 2011 at 12:04 AM, Offray Vladimir Luna Cárdenas > <[email protected]> wrote: >> >> Hi, >> >> On 10/10/11 10:14, Edward K. Ream wrote: >>> >>> Omg, why doesn't Leo support ! in the minibuffer, a la IPython? This >>> would execute the rest of the minibuffer a system command. For >>> example: >>> >>> <alt-x>!cd ~<return> >>> >>> Isn't this dead easy? Well, not completely easy. Leo already has a >>> shell-command command, but it crashes :-) >>> >>> Anyway,<alt-x>! is pretty light. I'll do it today. >>> >>> Perhaps some of IPython's magic commands would also be worth >>> emulating, although @button/@command already are more capable than >>> %macro... >>> >>> Your comments, please. >>> >>> Edward >>> >> >> I would really like some kind of shell integration. I use from time to >> time geany, mostly because of the included shell. For me would be nice to >> have this shell inside Leo and use it to create directories, or open files >> in Leo or run some scritps (non python ones). That's mostly my workflow on >> geany with the shell. >> >> Cheers, >> >> Offray >> >> -- >> You received this message because you are subscribed to the Google Groups >> "leo-editor" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/leo-editor?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/leo-editor?hl=en. > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
