Re: Running Node (or any unix cmd line program) from Shell from a LC Stack

2016-05-09 Thread Mike Bonner
I've been avoiding el capitan so far, but on my system, /etc/paths contains the bare minimum paths. /etc/profile adds /opt/local/bin and /opt/local/sbin, then ~/.bash_profile tacks on a few more (like the path to mysql and inferno, plus some adjustments made by macports (which appear to be duplica

Re: Running Node (or any unix cmd line program) from Shell from a LC Stack

2016-05-09 Thread David Bovill
But on El Capitan you don't have a .bash_profile or .profile by default I think? And put shell ("echo $PATH") does not fetch the users shell? Any suggestions? On 10 May 2016 at 02:02, Mike Bonner wrote: > Ah, I see. And thank you! I now have a plugin that does a shell (source > blah blah echo $

Re: Running Node (or any unix cmd line program) from Shell from a LC Stack

2016-05-09 Thread Mike Bonner
Ah, I see. And thank you! I now have a plugin that does a shell (source blah blah echo $PATH) so that I always have my full terminal path available to lc shell. No extra/custom paths added yet, but it'll be nice to always have the full path so I don't have to mess with absolute pathing (or buildi

Re: Running Node (or any unix cmd line program) from Shell from a LC Stack

2016-05-09 Thread [-hh]
Mike B. worte: > Try this: > set the shellcommand to "/bin/bash" > get shell("source ~/.bash_profile ; ") You are right, of course. For one's own machine this is the simplest. One could even vice versa write a full (temporary) shell-profile before using shell. But if you wish to know if a user ha

Re: Running Node (or any unix cmd line program) from Shell from a LC Stack

2016-05-09 Thread Mike Bonner
Try this: set the shellcommand to "/bin/bash" get shell("source ~/.bash_profile ; ") This should do all the environment setting that is done when you open a terminal so that hopefully paths will match. To check it out, first echo $PATH without sourcing the .bash_profile and you'll most likely g

Re: Running Node (or any unix cmd line program) from Shell from a LC Stack

2016-05-09 Thread David Bovill
Yes - the way i see this is a combination of tools that help, and manual. So we have some scripts which check common places and find / suggest things to add. Then we have the ability to customise and add our own by hand. We save these to a preference file, and load them when we start Livecode. Tha

Re: Running Node (or any unix cmd line program) from Shell from a LC Stack

2016-05-09 Thread [-hh]
David B. wrote > Yes - here is the handler you need: > command bash_AddSystemPathsToPATH > if the platform = "MacOS" then -- and it is recent ??? > put url "file:/etc/paths" into systemPaths > put token 1 to -1 of systemPaths into systemPathArray > put $PATH into revPATH > replace ":" with CR in r

Re: Webinar

2016-05-09 Thread Jim Kanter
They said it would go up on the blog soon. On Mon, May 9, 2016 at 3:25 PM, stephen barncard wrote: > On Mon, May 9, 2016 at 12:22 PM, RM wrote: > >> I would be most grateful if there were a link available for later viewing. > > > 1+ ___ use-livecode m

Re: Webinar

2016-05-09 Thread stephen barncard
On Mon, May 9, 2016 at 12:22 PM, RM wrote: > I would be most grateful if there were a link available for later viewing. 1+ Stephen Barncard - Sebastopol Ca. USA - mixstream.org ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: Webinar

2016-05-09 Thread RM
Unfortunately I was at work, so couldn't watch the webinar. I would be most grateful if there were a link available for later viewing. Richmond. On 9.05.2016 21:40, Mark Talluto wrote: I am equally excited about 8. The webinar was very informative. -Mark On May 9, 2016, at 10:22 AM, Dar Sc

Re: Running Node (or any unix cmd line program) from Shell from a LC Stack

2016-05-09 Thread David Bovill
Yes - here is the handler you need: command bash_AddSystemPathsToPATH > if the platform = "MacOS" then -- and it is recent ??? > put url "file:/etc/paths" into systemPaths > put token 1 to -1 of systemPaths into systemPathArray > put $PATH into revPATH > replace ":" with CR in revPATH > put system

Re: Webinar

2016-05-09 Thread Mark Talluto
I am equally excited about 8. The webinar was very informative. -Mark > On May 9, 2016, at 10:22 AM, Dar Scott wrote: > > Thanks, Mark! That actually was helpful. > > The popup was covering up a bar at the top that essentially said, click here > if you are having trouble. I did and it w

Re: Running Node (or any unix cmd line program) from Shell from a LC Stack

2016-05-09 Thread Mark Waddingham
Yes - I think a 'login' type shell option would help here. (Which, if I recall correctly, causes the standard terminal setup scripts to run). The reason the action of shell is to not use a login shell is because otherwise env vars you might want to pass to your new process might get clobbered by

Re: Running Node (or any unix cmd line program) from Shell from a LC Stack

2016-05-09 Thread Mark Waddingham
LiveCode will inherit the path env variable given to it by the environment which launched it. If you have access to exes from Terminal in something like /usr/local/bin but not from apps launched from the desktop then this suggests the local bin path is only configured in your bashrc rather than

Re: Webinar

2016-05-09 Thread Dar Scott
Thanks, Mark! That actually was helpful. The popup was covering up a bar at the top that essentially said, click here if you are having trouble. I did and it was smooth sailing after that. (I am excited about 8.) Dar > On May 9, 2016, at 10:12 AM, Mark Talluto wrote: > > > >> On May

Re: Webinar

2016-05-09 Thread Mark Talluto
> On May 9, 2016, at 9:07 AM, Dar Scott wrote: > > I've been trying to connect to the LiveCode 8 Webinar but I'm having trouble. > > I keep getting a popup about not being able to open some document with a long > random-looking name. > > I'm on OS X 10.11. > Hi Dar, While not very helpf

Re: Webinar

2016-05-09 Thread dsc
I think I figured it out. I have sound. > On May 9, 2016, at 10:07 AM, Dar Scott wrote: > > I've been trying to connect to the LiveCode 8 Webinar but I'm having trouble. > > I keep getting a popup about not being able to open some document with a long > random-looking name. > > I'm on OS X

Webinar

2016-05-09 Thread Dar Scott
I've been trying to connect to the LiveCode 8 Webinar but I'm having trouble. I keep getting a popup about not being able to open some document with a long random-looking name. I'm on OS X 10.11. ___ use-livecode mailing list use-livecode@lists.runre

[ANN] This Week in LiveCode 32

2016-05-09 Thread Peter TB Brett
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #32 here: https://goo.gl/To3Zds This is a weekly newsletter about LiveCode, focussing on what's been going on in and around th

Re: IPv6 for iOS??

2016-05-09 Thread Fraser Gordon
Now that the weekend is over, I’ve had a chance to look at IPv6 support for iOS. The good news is that if you are using the URL syntax to access HTTP or HTTPS URLs, IPv6 support already exists. For example, see the screenshot here: http://downloads.livecode.com/fraser/ios_ipv6.png (the http://ip

browser and line graph widgets...

2016-05-09 Thread John Dixon
Well, I have to admit that the browser widget in LC8 is quick... It would be nice if there was an 'auto-fit' property for showing the web pages... The line graph too, is a little gem... Though it would be nice to alter the line thickness of the plotted lines and perhaps be able to set the colour