Re: Enhancing the volumes function (was Volume Size)

2014-10-16 Thread JB
I would like the proper info about the volume path, size in bytes, available space in bytes and amount of bytes used along with the type of drive etc and if it is mounted so I can sector read and write to the volume. I have no intention of creating a program for people to sector read and write fil

Re: Volume Size

2014-10-16 Thread JB
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 wrote: > In a word, no. Linux is the result of someone writing a unix-like OS witho

Re: Volume Size

2014-10-16 Thread Bob Sneidar
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 mailto:ambassa...@fourthworld.com>> wrote: On the contrary, the reason Linux was invented was a desire to enjoy what Unix brings to the table, but

Re: Volume Size

2014-10-16 Thread Richard Gaskin
Bob Sneidar wrote: >> On Oct 14, 2014, at 20:37 , JB wrote: >> >> The dictionary states, >> This function always returns empty on Unix systems. >> >> So, is Linux a Unix OS? > > In a word, no. Linux is the result of someone writing a unix-like > OS without (ostensibly) copying any of the actual U

Re: Volume Size

2014-10-16 Thread Bob Sneidar
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

Re: Enhancing the volumes function (was Volume Size)

2014-10-16 Thread Paul Dupuis
On 10/16/2014 10:24 AM, Richard Gaskin wrote: > The other day I wrote: > > > 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: > > <

Enhancing the volumes function (was Volume Size)

2014-10-16 Thread Richard Gaskin
The other day I wrote: > 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: > That reque

Re: Volume Size

2014-10-15 Thread Mark Wieder
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 Wied

Re: Volume Size

2014-10-15 Thread JB
That is great! thank you, Richard and the LiveCode team. John Balgenorth On Oct 15, 2014, at 7:59 AM, Richard Gaskin wrote: > Last night I wrote: > >> Warren Samples wrote: >> > I find the 'diskSize()' returns an unexpected and useless result >> > here under openSUSE, despite the dictionary'

Re: Volume Size

2014-10-15 Thread Richard Gaskin
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

Re: Volume Size

2014-10-14 Thread Richard Gaskin
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: > I find the 'diskSize()' returns an unexpec

Re: Volume Size

2014-10-14 Thread JB
Thanks, Warren! John Balgenorth On Oct 14, 2014, at 9:30 PM, Warren Samples 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

Re: Volume Size

2014-10-14 Thread Warren Samples
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 'diskS

Re: Volume Size

2014-10-14 Thread JB
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 wrote: >>> AND volumes is NBG in Linux . . . >>> >>> So? >>> >>> Richmond. >>> >>> ___

Re: Volume Size

2014-10-14 Thread JB
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, 201

Re: Volume Size

2014-10-14 Thread JB
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 wrote: > There really should be a 'the detailed volumes' (or 'the detailed > drives') variant to the volumes function in LiveCode to do this.

Re: Volume Size

2014-10-14 Thread JB
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 c

Re: Volume Size

2014-10-14 Thread JB
gt;> 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 wrote: >> >>> On 14/10/14 12:55, JB

Re: Volume Size

2014-10-14 Thread Richard Gaskin
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 th

Re: Volume Size

2014-10-14 Thread Bob Sneidar
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 mailto:p...@researchware.com>> wrote: There really should

Re: Volume Size

2014-10-14 Thread Paul Dupuis
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 > mailto:war...@warrensweb.us>> wro

Re: Volume Size

2014-10-14 Thread Bob Sneidar
Still works on Mavericks. Bob S On Oct 14, 2014, at 05:21 , Warren Samples mailto: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.

Re: Volume Size

2014-10-14 Thread Warren Samples
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 Balgenort

Re: Volume Size

2014-10-14 Thread Richmond
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. O

Re: Volume Size

2014-10-14 Thread JB
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 wrote: > On 14/10/14 12:55, JB wrote: >> I can get a file size b

Re: Volume Size

2014-10-14 Thread Richmond
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

Volume Size

2014-10-14 Thread JB
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 _