Re: [BUG][SHELL] Could Others Please Test This OS X/Linux

2014-10-01 Thread Peter Haworth
Maybe shell has a different home directory than lc? Pete lcSQL Software On Sep 30, 2014 11:54 PM, "Kay C Lan" wrote: > Thanks gentlemen, that's enough to start the ball rolling. > > May I assume Scott and Tim that your LC resides in the System level > Applications folder. Mine resides in the Use

Re: [BUG][SHELL] Could Others Please Test This OS X/Linux

2014-10-01 Thread Richard Gaskin
Kay C Lan wrote: But then why is this not the case with Linux? I believe it is. And even if one sets up their paths so that LC starts with $HOME as their default directory, the default directory is changeable by any script at any time, so a note reminding users to explicitly set that path wh

Re: [BUG][SHELL] Could Others Please Test This OS X/Linux

2014-10-01 Thread Warren Samples
On 10/01/2014 08:09 AM, Kay C Lan wrote: But then why is this not the case with Linux? For Linux users who have installed "single user", in their HOME directory, the defaultfolder is their HOME directory.. Those who have installed for all users, in /opt, will run into these kinds of issues,

Re: [BUG][SHELL] Could Others Please Test This OS X/Linux

2014-10-01 Thread Kay C Lan
OK, I see now the relationship with the defaultFolder and I'll update my bugzilla report to reflect this. But then why is this not the case with Linux? Richard suggested a note in the Dictionary and that seems to be sensible. Currently the Dictionary suggests that if you are have trouble with shel

Re: [BUG][SHELL] Could Others Please Test This OS X/Linux

2014-10-01 Thread HÃ¥kan Lilegren
$PWD should start at the current working directory, and that is not the same if you run the command in the terminal or if you runit from your program. You will (and should) get different answers. Even if you run in the IDE compared to a standalone. If you want the home catalog you can use $HOM

Re: [BUG][SHELL] Could Others Please Test This OS X/Linux

2014-10-01 Thread Fraser Gordon
On 1 Oct 2014, at 04:17, Kay C Lan wrote: > Terminal enter the following: > > find $PWD > > The output will be on each line the full path of either a Folder or a file. > > I just copied and pasted the output into a Text editor which then > reports the number of lines - in my case it's 527579

Re: [BUG][SHELL] Could Others Please Test This OS X/Linux

2014-09-30 Thread Kay C Lan
On Wed, Oct 1, 2014 at 1:54 PM, Kay C Lan wrote: > Thanks gentlemen, that's enough to start the ball rolling. Bug #13572 Scott, Tim, Warren and Richard I've included your findings. ___ use-livecode mailing list use-livecode@lists.runrev.com Please vis

Re: [BUG][SHELL] Could Others Please Test This OS X/Linux

2014-09-30 Thread Kay C Lan
Thanks gentlemen, that's enough to start the ball rolling. May I assume Scott and Tim that your LC resides in the System level Applications folder. Mine resides in the User level Applications folder and may be an extra clue as to why, for me, Terminal > LC, whilst for you both it's Terminal < LC.

Re: [BUG][SHELL] Could Others Please Test This OS X/Linux

2014-09-30 Thread Warren Samples
On 09/30/2014 10:17 PM, Kay C Lan wrote: Before I go ahead and submit a bug report I'd like others to test and report their findings. openSUSE, LiveCode 6.6.2 Redirected the output to files. Results are identical, except for the extra file created by running the initial 'find $PWD > pwdtest.

Re: [BUG][SHELL] Could Others Please Test This OS X/Linux

2014-09-30 Thread Tim Selander
Interesting. OSX 10.7.5 Terminal: 100,168 lines LC Community 6.1: 294,140 LC Community 7.0 dp5: 294,140 However a quick check of the LC results shows files from /Applications/ , not /Users/. The Terminal results 'correctly' (I assumed) list files from /Users/. Hope this helps Tim Selander

[BUG][SHELL] Could Others Please Test This OS X/Linux

2014-09-30 Thread Kay C Lan
Before I go ahead and submit a bug report I'd like others to test and report their findings. This is just a simple shell script which should list the entire contents (folders and files) of the Users account. In Terminal enter the following: find $PWD The output will be on each line the full path