Re: Volume Size
I was making a vague reference to the lawsuit that ensued when Linux was first becoming popular. Bob S On Oct 16, 2014, at 09:19 , Richard Gaskin ambassa...@fourthworld.commailto:ambassa...@fourthworld.com wrote: On the contrary, the reason Linux was invented was a desire to enjoy what Unix brings to the table, but without spending several thousand dollars on the proprietary hardware and software to get that enjoyment, and to have the freedom to enhance it if you choose. ___ 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: Volume Size
Thanks, Bob! So it walks like a duck and quacks likea duck but if you say unix to linux people it is time to duck. NBG! sorry Richmond I did not know. John Balgenorth On Oct 16, 2014, at 8:23 AM, Bob Sneidar bobsnei...@iotecdigital.com wrote: In a word, no. Linux is the result of someone writing a unix-like OS without (ostensibly) copying any of the actual UNIX code. It walks like UNIX, it quacks like UNIX, but it is decidedly *NOT* UNIX! Never say those words again!!! (It makes LINUX people queasy). ;-) Bob S On Oct 14, 2014, at 20:37 , JB sund...@pacifier.commailto:sund...@pacifier.com wrote: The dictionary states, This function always returns empty on Unix systems. So, is Linux a Unix OS? John Balgenorth On Oct 14, 2014, at 4:39 AM, Richmond richmondmathew...@gmail.commailto:richmondmathew...@gmail.com wrote: AND volumes is NBG in Linux . . . So? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.commailto: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.commailto: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.commailto: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.commailto: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: Volume Size
Last night I wrote: Warren Samples wrote: I find the 'diskSize()' returns an unexpected and useless result here under openSUSE, despite the dictionary's indication that it is supported under Linux. That would be a bug - confirmed here, so I just submitted a report against it; feel free to any additional info you feel may be useful: http://quality.runrev.com/show_bug.cgi?id=13674 Well, that was fast: jut hours later that issue is now marked as Fixed- Awaiting Build. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.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: Volume Size
That is great! thank you, Richard and the LiveCode team. John Balgenorth On Oct 15, 2014, at 7:59 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Last night I wrote: Warren Samples wrote: I find the 'diskSize()' returns an unexpected and useless result here under openSUSE, despite the dictionary's indication that it is supported under Linux. That would be a bug - confirmed here, so I just submitted a report against it; feel free to any additional info you feel may be useful: http://quality.runrev.com/show_bug.cgi?id=13674 Well, that was fast: jut hours later that issue is now marked as Fixed- Awaiting Build. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.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: Volume Size
Richard- Wednesday, October 15, 2014, 7:59:44 AM, you wrote: Well, that was fast: jut hours later that issue is now marked as Fixed- Awaiting Build. Not only that, the discussion on the bugfix code is very informative. Two options here, and I think the right one was taken. -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. ___ 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: Volume Size
On 14/10/14 12:55, JB wrote: I can get a file size by listing the detailed files and I can get a list of all drives and volumes that are mounted by using the volumes function. Is there a way to get the size of a drive or volume that is returned by using the volumes function? John Balgenorth AND volumes is NBG in Linux . . . So? Richmond. ___ 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: Volume Size
Well the question is how do I use a script to get the size of a mounted volume? I should have mentioned I am on a Mac. Will using NBG somehow get the volume size? John Balgenorth On Oct 14, 2014, at 3:27 AM, Richmond richmondmathew...@gmail.com wrote: On 14/10/14 12:55, JB wrote: I can get a file size by listing the detailed files and I can get a list of all drives and volumes that are mounted by using the volumes function. Is there a way to get the size of a drive or volume that is returned by using the volumes function? John Balgenorth AND volumes is NBG in Linux . . . So? Richmond. ___ 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: Volume Size
On 14/10/14 13:51, JB wrote: Well the question is how do I use a script to get the size of a mounted volume? I should have mentioned I am on a Mac. Will using NBG somehow get the volume size? John Balgenorth Ha, Ha, Ha! NBG stands for 'No Bloody Good'. Richmond. On Oct 14, 2014, at 3:27 AM, Richmond richmondmathew...@gmail.com wrote: On 14/10/14 12:55, JB wrote: I can get a file size by listing the detailed files and I can get a list of all drives and volumes that are mounted by using the volumes function. Is there a way to get the size of a drive or volume that is returned by using the volumes function? John Balgenorth AND volumes is NBG in Linux . . . So? Richmond. ___ 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: Volume Size
On 10/14/2014 04:55 AM, JB wrote: I can get a file size by listing the detailed files and I can get a list of all drives and volumes that are mounted by using the volumes function. Is there a way to get the size of a drive or volume that is returned by using the volumes function? John Balgenorth If 'volumes' doesn't work, maybe you can try get shell(df -h) You can try 'put shell(df -h)' in the message box to see if it gives you a result. If the command is still installed in OS X, you'll get information on disc size and usage. Warren ___ 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: Volume Size
Still works on Mavericks. Bob S On Oct 14, 2014, at 05:21 , Warren Samples war...@warrensweb.usmailto:war...@warrensweb.us wrote: On 10/14/2014 04:55 AM, JB wrote: I can get a file size by listing the detailed files and I can get a list of all drives and volumes that are mounted by using the volumes function. Is there a way to get the size of a drive or volume that is returned by using the volumes function? John Balgenorth If 'volumes' doesn't work, maybe you can try get shell(df -h) You can try 'put shell(df -h)' in the message box to see if it gives you a result. If the command is still installed in OS X, you'll get information on disc size and usage. Warren ___ 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: Volume Size
There really should be a 'the detailed volumes' (or 'the detailed drives') variant to the volumes function in LiveCode to do this. On 10/14/2014 11:55 AM, Bob Sneidar wrote: Still works on Mavericks. Bob S On Oct 14, 2014, at 05:21 , Warren Samples war...@warrensweb.usmailto:war...@warrensweb.us wrote: On 10/14/2014 04:55 AM, JB wrote: I can get a file size by listing the detailed files and I can get a list of all drives and volumes that are mounted by using the volumes function. Is there a way to get the size of a drive or volume that is returned by using the volumes function? John Balgenorth If 'volumes' doesn't work, maybe you can try get shell(df -h) You can try 'put shell(df -h)' in the message box to see if it gives you a result. If the command is still installed in OS X, you'll get information on disc size and usage. Warren ___ 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: Volume Size
Probably, but since there are any number of things you can do and get with the shell() command, creating a live talk command to do them would be a lot of work for the sake of convenience. Bob S On Oct 14, 2014, at 09:17 , Paul Dupuis p...@researchware.commailto:p...@researchware.com wrote: There really should be a 'the detailed volumes' (or 'the detailed drives') variant to the volumes function in LiveCode to do this. ___ 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: Volume Size
JB wrote: I can get a file size by listing the detailed files and I can get a list of all drives and volumes that are mounted by using the volumes function. Is there a way to get the size of a drive or volume that is returned by using the volumes function? The diskspace function will return the number of bytes available on the volume used by the current directory. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.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: Volume Size
That sounds like a synonym for NSA. John Balgenorth On Oct 14, 2014, at 4:39 AM, Richmond richmondmathew...@gmail.com wrote: On 14/10/14 13:51, JB wrote: Well the question is how do I use a script to get the size of a mounted volume? I should have mentioned I am on a Mac. Will using NBG somehow get the volume size? John Balgenorth Ha, Ha, Ha! NBG stands for 'No Bloody Good'. Richmond. On Oct 14, 2014, at 3:27 AM, Richmond richmondmathew...@gmail.com wrote: On 14/10/14 12:55, JB wrote: I can get a file size by listing the detailed files and I can get a list of all drives and volumes that are mounted by using the volumes function. Is there a way to get the size of a drive or volume that is returned by using the volumes function? John Balgenorth AND volumes is NBG in Linux . . . So? Richmond. ___ 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: Volume Size
Thanks for the info, Warren. The problem with me using that solution is in your answer. You wrote, If the command is still installed in OS X And that is the issue with using shell commands in software you intend to market. For your own personal use if it works then that is great but the shell command might not always be there and then a program that was using it will fail. But I do appreciate the info for my personal use as well. thanks again! John Balgenorth On Oct 14, 2014, at 5:21 AM, Warren Samples war...@warrensweb.us wrote: If the command is still installed in OS X ___ 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: Volume Size
I agree and that is why I even mentioned detailed files. Isn.t everything just a file anyway? John Balgenorth On Oct 14, 2014, at 9:17 AM, Paul Dupuis p...@researchware.com wrote: There really should be a 'the detailed volumes' (or 'the detailed drives') variant to the volumes function in LiveCode to do this. On 10/14/2014 11:55 AM, Bob Sneidar wrote: Still works on Mavericks. Bob S On Oct 14, 2014, at 05:21 , Warren Samples war...@warrensweb.usmailto:war...@warrensweb.us wrote: On 10/14/2014 04:55 AM, JB wrote: I can get a file size by listing the detailed files and I can get a list of all drives and volumes that are mounted by using the volumes function. Is there a way to get the size of a drive or volume that is returned by using the volumes function? John Balgenorth If 'volumes' doesn't work, maybe you can try get shell(df -h) You can try 'put shell(df -h)' in the message box to see if it gives you a result. If the command is still installed in OS X, you'll get information on disc size and usage. Warren ___ 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: Volume Size
Thanks, Richard. I didn’t know about the diskspace function and it is something that I will need to be using. But I need to know the total size of the volume and then I can use the diskspace function and find out the total bytes that have been used on the volume. John Balgenorth On Oct 14, 2014, at 11:39 AM, Richard Gaskin ambassa...@fourthworld.com wrote: JB wrote: I can get a file size by listing the detailed files and I can get a list of all drives and volumes that are mounted by using the volumes function. Is there a way to get the size of a drive or volume that is returned by using the volumes function? The diskspace function will return the number of bytes available on the volume used by the current directory. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.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: Volume Size
The dictionary states, This function always returns empty on Unix systems. So, is Linux a Unix OS? John Balgenorth On Oct 14, 2014, at 4:39 AM, Richmond richmondmathew...@gmail.com wrote: AND volumes is NBG in Linux . . . So? Richmond. ___ 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: Volume Size
On 10/14/2014 10:37 PM, JB wrote: The dictionary states, This function always returns empty on Unix systems. So, is Linux a Unix OS? For LiveCode purposes, yes. The dictionary does indicated, by omission of the penguin icon, that 'volumes()' is not supported under Linux. I find the 'diskSize()' returns an unexpected and useless result here under openSUSE, despite the dictionary's indication that it is supported under Linux. In Linux you should be able to use shell(df). Warren ___ 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: Volume Size
Thanks, Warren! John Balgenorth On Oct 14, 2014, at 9:30 PM, Warren Samples war...@warrensweb.us wrote: On 10/14/2014 10:37 PM, JB wrote: The dictionary states, This function always returns empty on Unix systems. So, is Linux a Unix OS? For LiveCode purposes, yes. The dictionary does indicated, by omission of the penguin icon, that 'volumes()' is not supported under Linux. I find the 'diskSize()' returns an unexpected and useless result here under openSUSE, despite the dictionary's indication that it is supported under Linux. In Linux you should be able to use shell(df). Warren ___ 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: Volume Size
Warren Samples wrote: The dictionary does indicated, by omission of the penguin icon, that 'volumes()' is not supported under Linux. Seems a silly omission, so I just submitted a request for that: http://quality.runrev.com/show_bug.cgi?id=13673 I find the 'diskSize()' returns an unexpected and useless result here under openSUSE, despite the dictionary's indication that it is supported under Linux. That would be a bug - confirmed here, so I just submitted a report against it; feel free to any additional info you feel may be useful: http://quality.runrev.com/show_bug.cgi?id=13674 In Linux you should be able to use shell(df). We can, but we shouldn't have to for things that are well supported on other platforms. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ambassa...@fourthworld.comhttp://www.FourthWorld.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