Page 1 of 1

development release newLISP v.9.2.1

Posted: Thu Sep 13, 2007 1:56 am
by Lutz
* the monitor area in newLISP-GS now doubles as a shell, where expressions can be entered directly. See CHANGES-GS-103.txt notes for details. Alt-R/Meta-R still works for running editor contents.

* speed-up for 'count' (on UNIX) new 'dostring' iterator, new 'bind' for use in conjunction with 'unify', and 'pack' can take lists.

All files: http://newlisp.org/downloads/development/

Lutz

Posted: Thu Sep 13, 2007 2:03 am
by Jeff
Thanks Lutz! It's great to know our needs get addressed directly.

Posted: Thu Sep 13, 2007 7:16 am
by newdep
There is no tgz package in /development... :-)

Posted: Thu Sep 13, 2007 1:03 pm
by Lutz
The v.9.2.1 .tgz package is there now:

http://newlisp.org/downloads/development/

Lutz

Re: development release newLISP v.9.2.1

Posted: Thu Sep 13, 2007 4:29 pm
by newBert
Lutz wrote:* the monitor area in newLISP-GS now doubles as a shell, where expressions can be entered directly. See CHANGES-GS-103.txt notes for details. Alt-R/Meta-R still works for running editor contents.

Lutz
Quite simply fantastic !
I can now abandon my favorite editor.
Thanks Lutz

Posted: Thu Sep 13, 2007 4:33 pm
by newdep
very tiny warning I got...

make -f makefile_linux_readline
make[1]: Entering directory `/home/nodep/prog/nl/newlisp-9.2.1'
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX newlisp.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-symbol.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-math.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-list.c
nl-list.c: In function `p_count':
nl-list.c:682: warning: pointer of type `void *' used in arithmetic



In the new newlisp-edit ->
The monitor area prompt gives me an extra LF after any command.



(btw: still need to check for OS2)

Posted: Thu Sep 13, 2007 8:10 pm
by newdep
Nice nice lutz, thanks for the gs:shell option!! like it..

Also the reorder-tags is very welcome ;-)


Im starting to like the newlisp-edit more and more...
(But the Icons are under Linux are not very nice, not transparent! )

PS: Here an Addon for the FIREFOX users under linux,
would be nice to have it default.or as a configuration option? -->
(inside newlisp-edit add "/usr/bin/firefox")


; all other UNIX
(true
(set 'files '(
"/usr/bin/sensible-browser"
"/usr/bin/x-www-browser"
"/usr/bin/firefox"
"/usr/bin/mozilla"
"/usr/bin/konqueror"))
(set 'prog (find true (map file? files)))



Another request, (I already did it manualy)...
Can the 'currentmonitor foreground and background be as 'currentBackground, or perhpas configurable too...)


Bug? in 9.2.1 the GS manual is empty?
(file:///usr/share/doc/newlisp/guiserver/index.html)

Posted: Thu Sep 13, 2007 8:46 pm
by Lutz
Bug? in 9.2.1 the GS manual is empty?
oops, use this meanwhile: http://newlisp.org/guiserver/

Lutz

Posted: Thu Sep 13, 2007 8:55 pm
by newdep
aaa now im in a mood for requests ;-)

Line numbers would be a nice to have in newlisp-edit..

as a counter row,column or on the left as a static counter in front of every line..

;-)

(i think the frst it the easier way..)


PS: Have you ever noticed that there is a 100% OS/2 ANSI editor?
fully written in newlisp!! ;-)
Its hidden in one of the screenshots on my OS2 page ;-)

Posted: Sun Sep 16, 2007 6:53 am
by kinghajj
I got a segmentation dump when trying dostring.

Code: Select all

> (dostring (c "hello") c)
Segmentation fault (core dumped)

Posted: Sun Sep 16, 2007 7:45 am
by newBert
kinghajj wrote:I got a segmentation dump when trying dostring.

Code: Select all

> (dostring (c "hello") c)
Segmentation fault (core dumped)
Maybe :

Code: Select all

> (dostring (c "hello") (println c))
works better !
;)

Posted: Sun Sep 16, 2007 8:01 am
by cormullion
Same here:

Code: Select all

newLISP v.9.2.1 on OSX UTF-8, execute 'newlisp -h' for more info.

> (dostring (c "hello")
 c) 
Bus error
And also:

Code: Select all

(dolist (c (explode "hello")) 
 c)
Bus error
And finally:

Code: Select all

(dotree (s MAIN) s)
Segmentation fault

Posted: Sun Sep 16, 2007 8:01 am
by kinghajj
newBert wrote:
kinghajj wrote:I got a segmentation dump when trying dostring.

Code: Select all

> (dostring (c "hello") c)
Segmentation fault (core dumped)
Maybe :

Code: Select all

> (dostring (c "hello") (println c))
works better !
;)
But the point is that the code I wrote, while useless, should not crash the program.

Posted: Sun Sep 16, 2007 1:24 pm
by Lutz
thanks to all for catching this

Lutz