News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Search Results
Post Author [] Forum Replies Views Posted
  Thread: "murgaLua -e string" in Windows and Mac
Post: RE: "murgaLua -e string" in Windows and ...

[quote=mikshaw] In Linux I can pass a variable to a script using the following: [code]murgaLua -e 'variable=\"this is a string\"' scriptname.lua[/code] This apparently doesn't work in Windows, and ...
Juergen MurgaLua - General 13 27,184 02-22-2008, 08:05 AM
  Thread: License
Post: RE: License

[quote=JohnMurga] Juergen - Feel free to propose the wording you consider necessary ... Note the compiler notice that was bundled with the last release. [/quote] I haven't had time to write some...
Juergen MurgaLua - General 7 9,757 02-22-2008, 10:25 AM
  Thread: "murgaLua -e string" in Windows and Mac
Post: RE: "murgaLua -e string" in Windows and ...

[quote]On Windows you can only use double quotes[/quote]I'm guessing it was probably the backspace that was causing the error then? Or do I need to always use only double quotes if I want it to work i...
Juergen MurgaLua - General 13 27,184 02-22-2008, 08:12 PM
  Thread: "murgaLua -e string" in Windows and Mac
Post: RE: "murgaLua -e string" in Windows and ...

Hi Mike, first you don't need the outer quotes. lua -e var=\"string\" works. The outer quotes are only necessary if there is a space in the "-e" argument, because then it would be treated as two se...
Juergen MurgaLua - General 13 27,184 02-22-2008, 09:55 PM
  Thread: "murgaLua -e string" in Windows and Mac
Post: RE: "murgaLua -e string" in Windows and ...

If you wan't to set a filename in the script you wan't to call, it might be a little bit harder. Although there might be a few solutions. I think the easiest solution would be to replace the "\" with ...
Juergen MurgaLua - General 13 27,184 02-23-2008, 03:58 AM
  Thread: slicing images
Post: RE: slicing images

[quote=mikshaw] I'm assuming that's from the extra channel, but I don't want to say for sure. All I know is that is a result of forcing a color depth of 3 on images that would normally be 4. (i guess...
Juergen MurgaLua - General 43 72,986 02-27-2008, 04:42 AM
  Thread: slicing images
Post: RE: slicing images

[quote=JohnMurga] We have a saying where I come from about people who make assumptions :-) Juergen, in a fraction of the time that took to compose your response you could have checked the source ....
Juergen MurgaLua - General 43 72,986 02-27-2008, 09:41 AM
  Thread: slicing images
Post: RE: slicing images

I have now tested it a little bit and I can't get any segmentation faults (is there a png somewhere available that faults?) I have tested mikes sliding puzzle and I haven't found any problems with RG...
Juergen MurgaLua - General 43 72,986 02-28-2008, 03:50 AM
  Thread: slicing images
Post: RE: slicing images

[quote=iGame3D] See above for seg faulting images. All my tests have been Mac based. [/quote] If you mean the murgaLua.png image, this isn't in the murgaLua distribution. But I went extra (befor...
Juergen MurgaLua - General 43 72,986 02-28-2008, 04:30 AM
  Thread: slicing images
Post: RE: slicing images

[quote=mikshaw] [quote]How do you create a buffer ?[/quote]I know less about that than you. I tried modifying the offScreen example to use an image rather than shape, but got nowhere. It looks like i...
Juergen MurgaLua - General 43 72,986 03-01-2008, 04:27 AM
  Thread: Praise for murgalua
Post: RE: Praise for murgalua

[quote=asafp] I should rephrase that. I have authority to install things into my own directory. I don't have authority to execute a compiled module that is not in the standard /usr/bin or /usr/lib/...
Juergen MurgaLua - General 13 19,971 03-08-2008, 04:37 AM
  Thread: Praise for murgalua
Post: RE: Praise for murgalua

[quote=asafp] [quote] Have you tried to put the binary in your homedir, set the permissions and use "env ~/murgaLua" for example? [/quote] I tried that and get "permission denied". I also tried...
Juergen MurgaLua - General 13 19,971 03-11-2008, 09:08 PM
  Thread: Praise for murgalua
Post: RE: Praise for murgalua

[quote=asafp] When executing with env command, the error message is a little different. It refers to the directory. env ~ ./murgaLua env: /mnt/b02add6f/www: Permission denied [/quote] That ...
Juergen MurgaLua - General 13 19,971 03-14-2008, 01:17 AM
  Thread: Praise for murgalua
Post: RE: Praise for murgalua

[quote=asafp] env ~/murgaLua env: /mnt/b02add6f/www/murgaLua: Permission denied [/quote] Most likely mounted with noexec. [quote] env /bin/mount env: /bin/mount: No such file or directory [/...
Juergen MurgaLua - General 13 19,971 03-14-2008, 03:52 AM
  Thread: Maintenance release - 0.6.6
Post: RE: Maintenance release - 0.6.6

[quote=iGame3D] Hows that 0.6.6 coming along? Do I have a chance to sneak in a little function request? Problem: Tobi has created a "collect" feature that will gather assorted files and copy the...
Juergen MurgaLua - General 15 21,450 03-15-2008, 10:13 PM
  Thread: Maintenance release - 0.6.6
Post: RE: Maintenance release - 0.6.6

Hi John, if it is still possible could you also add at least fl_xid ? (shouldn't be too much work) and make sure that readline works this time on Linux. While it doesn't make a difference when murg...
Juergen MurgaLua - General 15 21,450 03-17-2008, 04:55 AM
  Thread: murgaLua CGI %ENV
Post: RE: murgaLua CGI %ENV

That would be [code] print("Caller = "..os.getenv("HTTP_REFERER")) [/code] But you shouldn't use murgaLua for CGI scripts. murgaLua is packed and has therefore more than an order of magnitude s...
Juergen MurgaLua - General 28 1,049,788 03-23-2008, 08:30 AM
  Thread: murgaLua CGI %ENV
Post: RE: murgaLua CGI %ENV

[quote=dvw86] Thank you. The reason I was going to use murgaLua was two-fold. It is already in Pupeee and it can access/modify SQLite databases. Lua is so small that I don't mind installing another c...
Juergen MurgaLua - General 28 1,049,788 03-23-2008, 09:48 AM
  Thread: murgaLua CGI %ENV
Post: RE: murgaLua CGI %ENV

[quote=JohnMurga] Not really a fair comparison as once you incorporate the relevant bindings to stock lua the startup time will increase too... Although if you are going to use murgaLua for CGI you p...
Juergen MurgaLua - General 28 1,049,788 03-24-2008, 06:57 AM
  Thread: Future plans ...
Post: RE: Future plans ...

[quote=JohnMurga] As always I am open to suggestions :-) [/quote] including CInvoke or alien (alien supports now all murgaLua supported platforms) including bitlib or something similar. Have yo...
Juergen MurgaLua - General 15 29,465 03-24-2008, 08:39 AM