Guiserver, GTK-server, OpenGL, PostScript,
HTML 5, MIDI, IDE
-
cormullion
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
-
Contact:
Post
by cormullion »
I'm worried about the difference between these two canvases:
Code: Select all
(load "/usr/share/newlisp/guiserver.lsp")
(gs:init)
(gs:frame 'F 50 50 500 500 "Two canvases")
(gs:set-grid-layout 'F 2 2)
(gs:canvas 'C1)
(gs:set-background 'C1 '(1 1 1 1))
(gs:canvas 'C2)
(gs:set-background 'C2 '(.5 .5 .5 1))
(gs:set-visible 'F true)
(gs:add-to 'F 'C1 'C2)
(gs:set-canvas 'C1)
(gs:set-translation 100 100)
(gs:fill-rect 'rect1 0 0 50 50)
(gs:set-canvas 'C2)
(gs:set-translation 100 100)
(gs:fill-rect 'rect2 0 0 50 50)
(gs:listen)
because I think they should look identical, apart from the colours...?
-
Lutz
- Posts: 5289
- Joined: Thu Sep 26, 2002 4:45 pm
- Location: Pasadena, California
-
Contact:
Post
by Lutz »
This turns out to be in a bug in /usr/share/newlisp/guiserver.lsp
I posted a new one here:
http://www.newlisp.org/downloads/develo ... server.lsp
you can install it doing:
sudo cp guiserver.lsp /usr/share/newlisp
it will ask for your password.
ps: the fix is now available in the 9.2.4 development release
Last edited by
Lutz on Mon Jul 07, 2008 10:18 pm, edited 1 time in total.
-
cormullion
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
-
Contact:
Post
by cormullion »
That's the quickest bug fix I've seen for ages... I can't fix my own code as fast as that... :)
Thanks!
-
m i c h a e l
- Posts: 394
- Joined: Wed Apr 26, 2006 3:37 am
- Location: Oregon, USA
-
Contact:
Post
by m i c h a e l »
Lutz, this is what I'm getting after updating to 9.4.2:
Code: Select all
(s)hell> newlisp
-bash: /newlisp: cannot execute binary file
m i c h a e l
P.S. The printed manual arrived! Thank you. Where is your autograph? :-)
-
Lutz
- Posts: 5289
- Joined: Thu Sep 26, 2002 4:45 pm
- Location: Pasadena, California
-
Contact:
Post
by Lutz »
I repackaged the PPC version:
http://newlisp.org/downloads/developmen ... .2-ppc.dmg
it had an Intel executable instead of PPC.
ps: glad the manual made it from coast to coast. I didn't know I had to sign it, and my signature is illegible anyway :-)