Search found 5296 matches

by Lutz
Fri Mar 29, 2019 2:47 pm
Forum: newLISP and the O.S.
Topic: Newlisp-Apache-CGI Issues Again
Replies: 29
Views: 18073

Re: Newlisp-Apache-CGI Issues Again

Try the following: Create a subdirectory "newlisp" in "Program Files" and put the newlisp.exe executable in there. If there are any modules you are going to use, create a "modules" directory inside the "newlisp" directory. (env "PROGRAMFILES") => C:\Program Files (x86) (env "NEWLISPDIR") => C:\Progr...
by Lutz
Wed Mar 27, 2019 4:55 pm
Forum: newLISP and the O.S.
Topic: Newlisp-Apache-CGI Issues Again
Replies: 29
Views: 18073

Re: Newlisp-Apache-CGI Issues Again

Check how NEWLISPDIR and PROGRAMFILES are defined. See here for an explanation of these directories: http://www.newlisp.org/downloads/newlisp_manual.html#startup You could use the fowlowing script to check: (println (env "PROGRAMFILES")) ; only defined on Windows (println (env "NEWLISPDIR")) (exit)
by Lutz
Wed Mar 27, 2019 3:21 am
Forum: newLISP and the O.S.
Topic: Newlisp-Apache-CGI Issues Again
Replies: 29
Views: 18073

Re: Newlisp-Apache-CGI Issues Again

Try:

Code: Select all

(print "Content-Type: text/html\r\n\r\n")
by Lutz
Wed Mar 20, 2019 2:53 pm
Forum: newLISP in the real world
Topic: Unexpected result in round
Replies: 3
Views: 3947

Re: Unexpected result in round

If you are concerned about the visual representation use format:

Code: Select all

> > (round 8.300 -1)
8.300000000000001

> (format "%2.1f" 8.300)
"8.3"
> 
by Lutz
Mon Feb 18, 2019 9:13 pm
Forum: newLISP and the O.S.
Topic: Build newLISP for win10 64bit
Replies: 9
Views: 7325

Re: Build newLISP for win10 64bit

Both makefiles compile without errors and warnings on my Windows 7 and using the 5.1.0 gcc.exe (tdm64-1) compiler version. Make sure you have the file libffi.a in the C:\MinGW\lib\gcc\x86_64-w64-mingw32\5.1.0 directory. libffi.a is not part of the MinGW distribution. You can probably get it here: ht...
by Lutz
Mon Jan 07, 2019 3:18 pm
Forum: newLISP newS
Topic: Ask info about newLISP
Replies: 6
Views: 8285

Re: Ask info about newLISP

The upcoming stable release v10.7.5 will be just like 10.7.4. No new additions or changes just bug fixes. No plans have been made yet for future versions.
by Lutz
Fri Dec 07, 2018 1:27 am
Forum: newLISP in the real world
Topic: nonblocking option for net-accept?
Replies: 7
Views: 5638

Re: nonblocking option for net-accept?

Why does net-select not work for you? Maybe I don't understand the question.
by Lutz
Sat Nov 17, 2018 6:00 pm
Forum: newLISP in the real world
Topic: Apply error message
Replies: 4
Views: 4094

Re: Apply error message

Use transpose:

Code: Select all

> (transpose '((a 1) (b 2) (c 3)))
((a b c) (1 2 3))
> 
A hint will be added to the description of list in the manual.
by Lutz
Wed Oct 03, 2018 2:51 pm
Forum: newLISP newS
Topic: Recommended build tool for newlisp on win
Replies: 1
Views: 5484

Re: Recommended build tool for newlisp on win

Executing gcc --version gives me this:

Code: Select all

gcc.exe (tdm64-1) 5.1.0
Copyright (C) 2015 Free Software Foundation, Inc.
It's used for both, the 32-bit and 64-bit versions.
by Lutz
Thu Sep 13, 2018 1:57 pm
Forum: newLISP newS
Topic: Development release newLISP v.10.7.4
Replies: 19
Views: 19862

Re: Development release newLISP v.10.7.4

Thanks Johu, now updated to the right version:

http://newlisp.com/downloads/developmen ... al-jp.html
by Lutz
Wed Sep 12, 2018 10:04 pm
Forum: newLISP newS
Topic: Development release newLISP v.10.7.4
Replies: 19
Views: 19862

Re: Development release newLISP v.10.7.4

Added Win32 and Win32-UTF8 directories in http://newlisp.org/downloads/development/
by Lutz
Wed Sep 12, 2018 4:45 pm
Forum: newLISP newS
Topic: Development release newLISP v.10.7.4
Replies: 19
Views: 19862

Re: Development release newLISP v.10.7.4

If somebody needs Win32 i can be done, but looking at current download logs it is very rare. But 32-bit will always be an available flavor to compile, as needed in many embedded systems. But executables for laptops and desktops, don't you think Win64 is enough? What do others in the forum think of t...
by Lutz
Wed Sep 12, 2018 3:39 pm
Forum: newLISP newS
Topic: Development release newLISP v.10.7.4
Replies: 19
Views: 19862

Re: Development release newLISP v.10.7.4

to johu ====== Thanks for the updated Japanese translation of the manual. Its added here: http://newlisp.nfshost.com/downloads/development/newlisp_manual-jp.html and will be moved to the usual place for the stable release. to HPW ====== Without the GUI server, installation will be easy without an in...
by Lutz
Tue Sep 11, 2018 1:53 pm
Forum: newLISP newS
Topic: Development release newLISP v.10.7.4
Replies: 19
Views: 19862

Re: Development release newLISP v.10.7.4

Thanks for the suggestions. The Java Editor GUI environment is on the way out and not included anymore in the newlisp-10.7.4.tgz source distribution but packaged extra in guiserver-1.67.tgz . The following has been added in INSTALL.txt for editor support and info about the environment variable NEWLI...
by Lutz
Mon Sep 10, 2018 10:47 pm
Forum: newLISP newS
Topic: Development release newLISP v.10.7.4
Replies: 19
Views: 19862

Development release newLISP v.10.7.4

Several bug fixes and small enhancements in the new development release here:
http://www.newlisp.org/downloads/development/

For details of bug fixes and enhancements see:
http://www.newlisp.org/downloads/develo ... lease.html
by Lutz
Sun Aug 26, 2018 7:02 pm
Forum: newLISP newS
Topic: newLISP in a browser
Replies: 115
Views: 133519

Re: newLISP in a browser

The original index.html was taken from some other application dealing with compiled JavaScript. This is probably some left-over unused or only partly used code.
by Lutz
Sat Aug 11, 2018 9:09 pm
Forum: newLISP newS
Topic: rotate bug on WIN7 x64
Replies: 1
Views: 4880

Re: rotate bug on WIN7 x64

Fixed here: http://www.newlisp.org/downloads/develo ... nprogress/

Source package and executables for macOS and Windows.
by Lutz
Thu Aug 09, 2018 2:28 pm
Forum: newLISP in the real world
Topic: Any new releases, planned future
Replies: 5
Views: 5618

Re: Any new releases, planned future

There will be 10.7.4 development release this summer with a new, simpler more transparent way to organize and distribute files. A new stable release of that would be done in fall of this year. Feature-wise it will be almost identical to current 10.7.3 development release, which is mainly a bug-fix r...
by Lutz
Wed Jun 27, 2018 2:55 pm
Forum: newLISP in the real world
Topic: Why doesn't "-m" option take effect?
Replies: 2
Views: 3415

Re: Why doesn't "-m" option take effect?

Most OS (e.g. Linux and FreeBSD) only parse the first parameter given on the commandline inside a shell script, but macOS does it correctly: ~> cat test #!/usr/bin/env newlisp -s 100000 -m 10 (println (main-args)) (println (sys-info)) (exit) ; important ~> ./test ("newlisp" "-s" "100000" "-m" "10" "...
by Lutz
Fri Jun 01, 2018 5:29 pm
Forum: newLISP in the real world
Topic: unless bug?
Replies: 1
Views: 3010

Re: unless bug?

The documentation was wrong. Should say: "The statements in body are only evaluated if exp-condition evaluates to nil or the empty list (). The result of the last expression in body is returned or the return value of exp-condition if body was not executed." Now changed here: http://www.newlisp.org/d...
by Lutz
Mon Mar 26, 2018 2:43 pm
Forum: newLISP newS
Topic: Development release newLISP v.10.7.3
Replies: 7
Views: 10484

Re: Development release newLISP v.10.7.3

More changes. This works on macOS for your data and test-code and for upload.cgi without file corruption:
http://newlisp.nfshost.com/downloads/de ... nprogress/

Not tested yet on Windows and Linux.