Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Jesse Bell

#1
newLISP and the O.S. /
August 25, 2004, 05:27:44 PM
Thank you.



Time to start having fun.





Jesse
#2
newLISP and the O.S. /
August 25, 2004, 02:29:26 PM
Thanks for that reminder.

Lutz mentioned that c:tmp.

But I had a c:temp and did not catch it.

That did the trick
#3
newLISP and the O.S. / path error
August 25, 2004, 12:30:49 PM
Seems that there is a path problem.

in *.cgi path #!/newlisp/ide

Where else would this error be looking from or to?





c:newlisp>c:newlispnewlisp.exe httpd.lsp 80 ide
Server started listening on port: 80
Root directory: ide
Wed Aug 25 15:27:13 2004 127.0.0.1 GET /index.html HTTP/1.1
Wed Aug 25 15:27:13 2004 127.0.0.1 GET /file-frame.cgi HTTP/1.1
The system cannot find the path specified.

list or string expected in function replace : HTTPD:buffer
called from user defined function execute-file
called from user defined function process-GET-request
called from user defined function process-http-request
called from user defined function net-server-accept
called from user defined function startServer

-----

(define (HTTPD:html-error HTTPD:error-no HTTPD:error-txt)
  #(set 'HTTPD:header "HTTP/1.0 200 OKrnContent-type: text/htmlrnrn")#
  (set 'HTTPD:message (append "<HTML><H1>newLISP v." (string (nth
      -2
      (sys-info))) " HTTPD 3.7<BR>" "Error: "
    (string HTTPD:error-no) " " HTTPD:error-txt "<BR></H1></HTML>"))
  (set 'HTTPD:buffer (append HTTPD:header HTTPD:message))
  (net-send HTTPD:connection HTTPD:buffer))
#4
newLISP and the O.S. /
August 25, 2004, 11:18:19 AM
Thanks,

I should have done it that way at first.

The problem was that i was running all from ide.

Thus the 'ide was not setting.

It is serving pages now, however if there is a cgi error httpd exits.

Now I am trying to resolve the path error from cgi.



Are there any other lisp files needed besides the sqlite.cgi?



Once again many thanks for the help.



Jesse
#5
newLISP and the O.S. /
August 25, 2004, 06:03:56 AM
Thanks for the welcome.



c:newlispidenewlisp.exe httpd.lsp 80 ide

or

(load "c:/newlisp/ide/httpd.lsp" 80 ide)



The console will not stay open.



It was my understanding that the console was to stay open in the listening mode.  Allowing a browser to connect and load a page.

Primary objective is to create applications that will use the browser for the GUI.  I hired a programmer a couple of years back to write a small app for me.  He used VB.  Changes are needed now and VB does not interest me.

The sorting takes almost 3 minutes on my amd 1.2ghz.  Lisp seems to me to be the best tool for the job.  The interface is the most time consuming part of the application, and the sort routine is the most complex.  So I am looking at sqlite and lisp to accomplish the task.

I would like to use a browser interface due to the ease in design, and lisp for the sort routine which is what lisp was designed for.  Working on lists.

The Tcl/Tk app is nice, but a browser interface would be supported with fewer files and more compatibility.  It's not like I think this is going to happen tomorrow, but who knows maybe the next day:)



Jesse
#6
newLISP and the O.S. / httpd fails on win2k
August 24, 2004, 03:51:17 PM
Newbee ?,

I've installed newlisp recently with the intent of web programming.

Newlisp and Newlisptk work just fine.

However when httpd -p 80 is used,

newlisp.exe just flashes on and off.



Jesse

[/code]