Re: Running Node (or any unix cmd line program) from Shell from a LC Stack
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 duplicates of the /opt paths) Also just discovered "path_helper" which looks for files in /etc/paths.d and adds paths from any files in there. (there's one for X11 (Quartz) another for git, and com.apple.server for the mac server app on my system.) Nothin like spreading things around a bit..path_helper fires off from /etc/profile On Mon, May 9, 2016 at 7:56 PM, David Bovill wrote: > 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 $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 > > building the path in the shell every time) > > > > Thanks for sharing! > > > > On Mon, May 9, 2016 at 5:36 PM, [-hh] wrote: > > > > > 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 has installed a 'default' > > > binary you wish to use at the 'default' place or elsewhere, > > > then this could fail. > > > I am for example nearly always working as root (that's the > > > only way to avoid silly errors) but never would allow others > > > to use my root shell. > > > > > > > Is there any way to get lc to process .bash_profile by default? > > > > > > Why not set $PATH or $PATH-additions in the preferences? > > > > > > > > > > > > -- > > > View this message in context: > > > > > > http://runtime-revolution.278305.n4.nabble.com/Running-Node-or-any-unix-cmd-line-program-from-Shell-from-a-LC-Stack-tp4704464p4704490.html > > > Sent from the Revolution - User mailing list archive at Nabble.com. > > > > > > ___ > > > use-livecode mailing list > > > use-livecode@lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Running Node (or any unix cmd line program) from Shell from a LC Stack
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 $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 > building the path in the shell every time) > > Thanks for sharing! > > On Mon, May 9, 2016 at 5:36 PM, [-hh] wrote: > > > 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 has installed a 'default' > > binary you wish to use at the 'default' place or elsewhere, > > then this could fail. > > I am for example nearly always working as root (that's the > > only way to avoid silly errors) but never would allow others > > to use my root shell. > > > > > Is there any way to get lc to process .bash_profile by default? > > > > Why not set $PATH or $PATH-additions in the preferences? > > > > > > > > -- > > View this message in context: > > > http://runtime-revolution.278305.n4.nabble.com/Running-Node-or-any-unix-cmd-line-program-from-Shell-from-a-LC-Stack-tp4704464p4704490.html > > Sent from the Revolution - User mailing list archive at Nabble.com. > > > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Running Node (or any unix cmd line program) from Shell from a LC Stack
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 building the path in the shell every time) Thanks for sharing! On Mon, May 9, 2016 at 5:36 PM, [-hh] wrote: > 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 has installed a 'default' > binary you wish to use at the 'default' place or elsewhere, > then this could fail. > I am for example nearly always working as root (that's the > only way to avoid silly errors) but never would allow others > to use my root shell. > > > Is there any way to get lc to process .bash_profile by default? > > Why not set $PATH or $PATH-additions in the preferences? > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Running-Node-or-any-unix-cmd-line-program-from-Shell-from-a-LC-Stack-tp4704464p4704490.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Running Node (or any unix cmd line program) from Shell from a LC Stack
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 has installed a 'default' binary you wish to use at the 'default' place or elsewhere, then this could fail. I am for example nearly always working as root (that's the only way to avoid silly errors) but never would allow others to use my root shell. > Is there any way to get lc to process .bash_profile by default? Why not set $PATH or $PATH-additions in the preferences? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Running-Node-or-any-unix-cmd-line-program-from-Shell-from-a-LC-Stack-tp4704464p4704490.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Running Node (or any unix cmd line program) from Shell from a LC Stack
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 get a teensy little path. Then do it with get shell("source ~/.bash_profile; echo $PATH") and it should match (hopefully) the path in the terminal. (don't forget to set the shellcommand, though /bin/sh and bash are similar, so maybe it will work fine without?) Is there any way to get lc to process .bash_profile by default? If not, what shell startup script is run (if any?) by lc when using the default shellcommand /bin/sh ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Running Node (or any unix cmd line program) from Shell from a LC Stack
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. That way it should sort of just work for most use cases, but you can always add things by hand. It's also a nice way to teach people where to find these things. The interface can offer the option to open folders, and / or peak at files. On 9 May 2016 at 22:01, [-hh] wrote: > 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 revPATH > > put systemPathArray & CR & revPATH into combinedPath > > sort combinedPath > > put token 1 to -1 of combinedPath into combinedPath > > split combinedPath with CR and ":" > > put keys (combinedPath) into newPathIndex > > replace CR with ":" in newPathIndex > > put newPathIndex into $PATH > > end if > > return $PATH > > end bash_AddSystemPathsToPATH > > You want to use the above script on startup to automatically > > configure your $PATH in Livecode for things like "brew" and npm. > > Clever script. > But who knows to which file Apple's launchctl writes environments vars? > And who knows which 'path-file' LC uses at startup for it's $PATH? > > So I would like to propose *moreover* to ensure that /usr/local/bin > is added to $PATH ( I have here the paths: > /usr/local/bin/brew and /usr/local/bin/npm ) > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Running-Node-or-any-unix-cmd-line-program-from-Shell-from-a-LC-Stack-tp4704464p4704487.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Running Node (or any unix cmd line program) from Shell from a LC Stack
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 revPATH > put systemPathArray & CR & revPATH into combinedPath > sort combinedPath > put token 1 to -1 of combinedPath into combinedPath > split combinedPath with CR and ":" > put keys (combinedPath) into newPathIndex > replace CR with ":" in newPathIndex > put newPathIndex into $PATH > end if > return $PATH > end bash_AddSystemPathsToPATH > You want to use the above script on startup to automatically > configure your $PATH in Livecode for things like "brew" and npm. Clever script. But who knows to which file Apple's launchctl writes environments vars? And who knows which 'path-file' LC uses at startup for it's $PATH? So I would like to propose *moreover* to ensure that /usr/local/bin is added to $PATH ( I have here the paths: /usr/local/bin/brew and /usr/local/bin/npm ) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Running-Node-or-any-unix-cmd-line-program-from-Shell-from-a-LC-Stack-tp4704464p4704487.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Webinar
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 mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Webinar
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 this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Webinar
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 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 was smooth sailing after that. (I am excited about 8.) Dar On May 9, 2016, at 10:12 AM, Mark Talluto wrote: 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 helpful, I am on 10.11 and am watching the webinar. Should work fine. Maybe some OS security options causing an issue? Best regards, Mark Talluto livecloud.io canelasoftware.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Running Node (or any unix cmd line program) from Shell from a LC Stack
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 systemPathArray & CR & revPATH into combinedPath > sort combinedPath > put token 1 to -1 of combinedPath into combinedPath > split combinedPath with CR and ":" > put keys (combinedPath) into newPathIndex > replace CR with ":" in newPathIndex > put newPathIndex into $PATH > end if > return $PATH > end bash_AddSystemPathsToPATH Essentially there is a nice easy list of paths on modern OSX systems here: - /etc/paths What is happening is that unfortunately the $PATH that Livecode sees is not the same as your users shell - due to varied ways that users systems are configured. You want to use the above script on startup to automatically configure your $PATH in Livecode for things like "brew" and npm. On 9 May 2016 at 19:09, Mark Waddingham wrote: > 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 user settings which is (in general) probably not what you want. > > For example if you set PATH temporarily to a specific folder to control > the environment of your new process, it might be overridden by user > settings causing breakage the other way. (Particularly if you need to use > your own env vars which happened to also be set - for other reasons - in a > user's shell environment). > > Sent from my iPhone > > > On 9 May 2016, at 00:11, Mark Wieder wrote: > > > >> On 05/08/2016 03:06 PM, [-hh] wrote: > >> On Mac, especially 10.11.x (with SIP enabled) , most user > >> installations MUST go into "/usr/local/bin". > >> So adjust the LC global $PATH to shell's $PATH. Minimal: > >> > >> on preopenstack > >> put "/usr/local/bin:" before $PATH > >> -- put ":/usr/local/bin" after $PATH > >> end preopenstack > >> > >> The second line prefers "system installations" before "user > installations". > >> > >> [Is it worth an enhancement request to add "/usr/local/bin" by default > >> to LC's global $PATH on Mac?] > > > > Possibly. Maybe an addendum to > http://quality.livecode.com/show_bug.cgi?id=10569, although that's four > years old now (wow - even Mark Waddingham's enhancement requests don't get > any love). > > > > I think the documentation on the shell() command needs some work to > cover things like this (hint for anyone who wants to take this task on). > The shell you get when you invoke the shell() command is a bit the same as > the shell you get in the terminal prompt and a bit not. You're running into > one of the nots. > > > > Another way around this is to specify the absolute path to node instead > of letting the OS get it from the PATH env variable. You could also change > the PATh setting in one of the config rc files... I'm not at my Mac right > now, so I can't tell you which one. > > > > -- > > Mark Wieder > > ahsoftw...@gmail.com > > > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Webinar
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 was smooth sailing after that. > > (I am excited about 8.) > > Dar > > >> On May 9, 2016, at 10:12 AM, Mark Talluto wrote: >> >> >> >>> 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 helpful, I am on 10.11 and am watching the webinar. Should >> work fine. Maybe some OS security options causing an issue? >> >> >> Best regards, >> >> Mark Talluto >> livecloud.io >> canelasoftware.com >> >> >> >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Running Node (or any unix cmd line program) from Shell from a LC Stack
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 user settings which is (in general) probably not what you want. For example if you set PATH temporarily to a specific folder to control the environment of your new process, it might be overridden by user settings causing breakage the other way. (Particularly if you need to use your own env vars which happened to also be set - for other reasons - in a user's shell environment). Sent from my iPhone > On 9 May 2016, at 00:11, Mark Wieder wrote: > >> On 05/08/2016 03:06 PM, [-hh] wrote: >> On Mac, especially 10.11.x (with SIP enabled) , most user >> installations MUST go into "/usr/local/bin". >> So adjust the LC global $PATH to shell's $PATH. Minimal: >> >> on preopenstack >> put "/usr/local/bin:" before $PATH >> -- put ":/usr/local/bin" after $PATH >> end preopenstack >> >> The second line prefers "system installations" before "user installations". >> >> [Is it worth an enhancement request to add "/usr/local/bin" by default >> to LC's global $PATH on Mac?] > > Possibly. Maybe an addendum to > http://quality.livecode.com/show_bug.cgi?id=10569, although that's four years > old now (wow - even Mark Waddingham's enhancement requests don't get any > love). > > I think the documentation on the shell() command needs some work to cover > things like this (hint for anyone who wants to take this task on). The shell > you get when you invoke the shell() command is a bit the same as the shell > you get in the terminal prompt and a bit not. You're running into one of the > nots. > > Another way around this is to specify the absolute path to node instead of > letting the OS get it from the PATH env variable. You could also change the > PATh setting in one of the config rc files... I'm not at my Mac right now, so > I can't tell you which one. > > -- > Mark Wieder > ahsoftw...@gmail.com > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Running Node (or any unix cmd line program) from Shell from a LC Stack
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 truly globally. I'm pretty sure there is a way to configure global env vars on Mac although not sure where it would be these days... Sent from my iPhone > On 9 May 2016, at 02:23, [-hh] wrote: > > It's sadly a big "not". I've never seen anything else than > > /usr/bin:/bin:/usr/sbin:/sbin > > in LC's $PATH at startup. > > But the $PATH of *any* shell on 10.11.x (SIP enabled) > contains /usr/local/bin [because SIP doesn't allow to > install in /usr/bin]. > > Everybody could use Warren's comparison from above > on his Mac for that. > > Is it possible, that LC's $PATH is simply set and not > been asked from the OS? > > The following works for me. > > function getPath p > set itemdel to colon > if "/usr/local/bin" is not among the items of $PATH > then put "/usr/local/bin:" before $PATH > set itemdel to comma > return shell("which" && p) > end getPath > > > mwieder wrote >>> Is it worth an enhancement request to add "/usr/local/bin" by default >>> to LC's global $PATH on Mac? >> >> Possibly. Maybe an addendum to >> http://quality.livecode.com/show_bug.cgi?id=10569, although that's four >> years old now (wow - even Mark Waddingham's enhancement requests don't >> get any love). >> >> I think the documentation on the shell() command needs some work to >> cover things like this (hint for anyone who wants to take this task on). >> The shell you get when you invoke the shell() command is a bit the same >> as the shell you get in the terminal prompt and a bit not. You're >> running into one of the nots. >> >> Another way around this is to specify the absolute path to node instead >> of letting the OS get it from the PATH env variable. You could also >> change the PATh setting in one of the config rc files... I'm not at my >> Mac right now, so I can't tell you which one. >> >> -- >> Mark Wieder > >> ahsoftware@ > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Running-Node-or-any-unix-cmd-line-program-from-Shell-from-a-LC-Stack-tp4704464p4704472.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Webinar
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 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 helpful, I am on 10.11 and am watching the webinar. Should > work fine. Maybe some OS security options causing an issue? > > > Best regards, > > Mark Talluto > livecloud.io > canelasoftware.com > > > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Webinar
> 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 helpful, I am on 10.11 and am watching the webinar. Should work fine. Maybe some OS security options causing an issue? Best regards, Mark Talluto livecloud.io canelasoftware.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Webinar
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 10.11. > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Webinar
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.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[ANN] This Week in LiveCode 32
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 the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: IPv6 for iOS??
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://ipv6.google.com/ URL can only be accessed over IPv6). (Please forgive the lack of exciting UI design; it’s the stack we use for basic sanity checks of the iOS engine!). You can even use IPv6 literals in the URL (e.g. http://[2a00:1450:4009:809::200e]/ - the IP of ipv6.google.com). The bad news is that (on all platforms) our raw sockets code only currently supports IPv4. This means that you won’t be able to open a socket to an IPv6 address nor will you be able to open a socket to a hostname via an IPv6-only network. If you are using revDB to connect to a database, connecting via hostname should work over IPv6 networks. However, revDB does not support connecting to an IPv6 address directly (i.e connecting to “db.example.com” would work over an IPv6 network but you couldn’t connect to “[2001:41d0:8:cc68::]”) due to the way parsing of the host strings works (the first “:” is treated as the beginning of a port number). As URL syntax also works, connecting via an intermediate web service should be fine as well. I don’t have a time-scale at the moment for adding IPv6 support for raw sockets but it is a fairly substantial job. Changing the low-level networking code to support IPv6 is relatively simple but there is a bigger challenge in terms of changing the LiveCode Script commands and functions for sockets to support IPv6 transparently and in a backwards-compatible manner. I’ll keep you posted on what’s going on. As an aside, I found a lot of the reporting on news sites of Apple’s announcement to be misleading - there were implications of support for IPv4 being dropped. Reading Apple’s announcement (https://developer.apple.com/news/?id=05042016a), what they’re doing is requiring apps to support IPv6-only networks. Because a huge number of networks are still IPv4-only, this is essentially requiring apps to support both IPv4 and IPv6 rather than just IPv4. Fraser ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
browser and line graph widgets...
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 of the values and the colour of the lines independantly of each other John Dixon ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode