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.


Pages (2): « First [1] 2 Next > Last »
Search Results
Post Author Forum Replies Views [] Posted
  Thread: murgaLua CGI %ENV
Post: murgaLua CGI %ENV

I'm using Pupeee Beta 4 (based on Puppy Linux 3.01), the latest Monkey Web Sever, and murgaLua as a CGI language. This works well but i can't figure out how to call the system variables for the CGI. I...
dvw86 MurgaLua - General 28 1,049,944 03-23-2008, 06:42 AM
  Thread: murgaLua CGI %ENV
Post: RE: murgaLua CGI %ENV

[quote=Juergen] 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 ord...
dvw86 MurgaLua - General 28 1,049,944 03-23-2008, 09:25 AM
  Thread: murgaLua CGI %ENV
Post: RE: murgaLua CGI %ENV

Thanks Juergen. If I get serious about it I may install another version of Lua but for just playing around murgaLua should work. It doesn't appear to put much of a load on my computer and is still fas...
dvw86 MurgaLua - General 28 1,049,944 03-23-2008, 10:40 AM
  Thread: murgaLua CGI %ENV
Post: RE: murgaLua CGI %ENV

Ok tell me more about unpacking it. What will that do to the size? Since I am using it in Pupeee I am concerned about keeping it small. Also will that affect my other murgaLua scripts and applications...
dvw86 MurgaLua - General 28 1,049,944 03-24-2008, 03:39 AM
  Thread: murgaLua CGI %ENV
Post: RE: murgaLua CGI %ENV

Thanks for the info John. I don't really notice any delay so I will leave it the way it is for now. Writing a web server in murgaLua sounds like a time consuming task.
dvw86 MurgaLua - General 28 1,049,944 03-24-2008, 06:29 AM
  Thread: murgaLua CGI %ENV
Post: RE: murgaLua CGI %ENV

It's been a long time but I have still been playing with this. I have a web based application that is using murgaLua. My wife has been using it frequently for her volunteer work for about a year now, ...
dvw86 MurgaLua - General 28 1,049,944 05-20-2012, 02:45 AM
  Thread: murgaLua CGI %ENV
Post: RE: murgaLua CGI %ENV

That sounds great. It was a bit of a challenge to get all the web server details worked out, so an embedded one would be fantastic. I am looking forward to it.
dvw86 MurgaLua - General 28 1,049,944 05-29-2012, 01:55 AM
  Thread: murgaLua CGI %ENV
Post: RE: murgaLua CGI %ENV

Thanks, I just got back from vacation and saw the last post. I will download it and give it a try.
dvw86 MurgaLua - General 28 1,049,944 06-02-2012, 12:27 PM
  Thread: murgaLua CGI %ENV
Post: RE: murgaLua CGI %ENV

Okay, I have a few questions off hand. Here are the first few lines of the example. [code]#!/usr/bin/lua local ctx = mg.start{ document_root = "./bindings/lua", cgi_extensions = ...
dvw86 MurgaLua - General 28 1,049,944 06-02-2012, 12:50 PM
  Thread: murgaLua CGI %ENV
Post: RE: murgaLua CGI %ENV

Okay, that makes more sense. I would be happy to make up some examples and send them to you once it is working. I still am having issues though. Perhaps I am simply using it incorrectly. What I would ...
dvw86 MurgaLua - General 28 1,049,944 06-03-2012, 04:48 AM
  Thread: murgaLua CGI %ENV
Post: RE: murgaLua CGI %ENV

I'm not sure if this would help or not. This is a VB script I wrote but do not use. It uses QTWeb, Mongoose and murgaLua. I had the QTWeb home page set to the lua script that I wanted to run. It gave ...
dvw86 MurgaLua - General 28 1,049,944 06-03-2012, 05:13 AM
  Thread: FLTK and ffmpeg
Post: FLTK and ffmpeg

Is it possible to capture video with ffmpeg and use murgaLua to display it on the screen? Videoview does this with fltk but I assume that they used some type of "C" language. [url=http://www.linux-...
dvw86 MurgaLua - General 18 42,388 04-06-2008, 04:25 AM
  Thread: FLTK and ffmpeg
Post: RE: FLTK and ffmpeg

Juergen, You have my attention. I would be quite happy to use xine and have it display in an FLTK window. I'll play around with that. Thanks
dvw86 MurgaLua - General 18 42,388 04-07-2008, 02:31 AM
  Thread: FLTK and ffmpeg
Post: RE: FLTK and ffmpeg

This is all fun and new to me, so my first test was to try it without murgaLua and this is what I came up with to display my webcam in a xine window. The next step would be to embed the xine display i...
dvw86 MurgaLua - General 18 42,388 04-08-2008, 02:33 AM
  Thread: FLTK and ffmpeg
Post: RE: FLTK and ffmpeg

[quote=Juergen] Normally I don't use Xine, but mplayer, which should be able to do that whithout calling ffmpeg. But to start with your example, you should try the following first: [code] ffmpeg -...
dvw86 MurgaLua - General 18 42,388 04-08-2008, 09:30 AM
  Thread: FLTK and ffmpeg
Post: RE: FLTK and ffmpeg

[quote=JohnMurga] Primarily what you'll be getting is the IO stuff, memory buffers, serial port support, environment and and spawn implementations from LuaSys. [/quote] WooHoo! Thanks! With seria...
dvw86 MurgaLua - General 18 42,388 04-11-2008, 04:32 AM
  Thread: MacOS builds - Volunteer needed
Post: RE: MacOS builds - Volunteer needed

[quote=iGame3D] I get to here and I think think something is wrong. I should have a murguLua executable yes? On Intel iMac I am only getting Fluid. [code]sh-2.05b# strip bin/MacOs-Intel/fluid s...
dvw86 MurgaLua - General 12 38,654 04-24-2007, 07:46 AM
  Thread: MacOS builds - Volunteer needed
Post: RE: MacOS builds - Volunteer needed

Well I tried both of those and they both produce the same NEW error. [code] make macos cd src && make macos sh ../tools/embedLuaSocket.sh sh ../tools/embedMurgaLuaLib.sh make ../bin/murgaLua P...
dvw86 MurgaLua - General 12 38,654 04-24-2007, 08:47 AM
  Thread: Lua editor
Post: RE: Lua editor

I've been using Puppy Linux 2.17.1 with the Geany text editor. Barry has included the lua syntax in it and it does a pretty good job.
dvw86 MurgaLua - General 19 38,130 08-27-2007, 10:56 AM
  Thread: A simple calculator in murgaLua
Post: A simple calculator in murgaLua

I wrote a simple little calculator in murgaLua for fun and practice. Feel free to use it as you feel fit, just don't claim it as your own ;) There is no guarantee of accuracy. Please report any bugs (...
dvw86 MurgaLua - General 1 25,175 05-05-2007, 09:23 AM
Pages (2): « First [1] 2 Next > Last »