From: ·················@my-deja.com
Subject: Lispworks on NT
Date: 
Message-ID: <8d1m70$70r$1@nnrp1.deja.com>
I�m using Lispworks on NT to play around with
portions of Garnet. Of course it has problems
loading some of the files, but I cannot find out
a way to make it tell me at which file-position
it had a problem. Is there a way to do this?

I also could not find out how to run windows
programs neither information about how require
works.

Can anyone help me with this or give me an RTFM
with the appropriate chapter and verse?
Thanks in advance
Immanuel


Sent via Deja.com http://www.deja.com/
Before you buy.

From: David Hanley
Subject: Re: Lispworks on NT
Date: 
Message-ID: <38F48CA7.E8D87468@ncgr.org>
·················@my-deja.com wrote:

> I�m using Lispworks on NT to play around with
> portions of Garnet. Of course it has problems
> loading some of the files, but I cannot find out
> a way to make it tell me at which file-position
> it had a problem. Is there a way to do this?

You have to be compiling, in general, to get better feedback.
You can watch the list of forms which load correctly,  and
figure which one loaded incorrectly.

Additionally, there is a tool ( on the "tools" menu ) named
"compilation conditions browser" which will show
all the compilation messages.  You can click these and hop
to the correct place in the source code.  But, again, you need
to be compiling.

If you must use load you can do: (load "foo.lisp" :print t)
for more context info.

dave
From: ·················@my-deja.com
Subject: Re: Lispworks on NT
Date: 
Message-ID: <8d484v$in$1@nnrp1.deja.com>
In article <·················@ncgr.org>,
  David Hanley <···@ncgr.org> wrote:
>
>
> ·················@my-deja.com wrote:
>
> > I�m using Lispworks on NT to play around with
> > portions of Garnet. Of course it has problems
> > loading some of the files, but I cannot find out
> > a way to make it tell me at which file-position
> > it had a problem. Is there a way to do this?
>
> You have to be compiling, in general, to get better feedback.
> You can watch the list of forms which load correctly,  and
> figure which one loaded incorrectly.
>
> Additionally, there is a tool ( on the "tools" menu ) named
> "compilation conditions browser" which will show
> all the compilation messages.  You can click these and hop
> to the correct place in the source code.  But, again, you need
> to be compiling.
>
> If you must use load you can do: (load "foo.lisp" :print t)
> for more context info.
>
> dave

Actually I have gotten something to work by defining this function in
my .lispworks but I cannot get it to go to the correct place

(setq *debug-load-filename* nil)
(setq *debug-load-position* nil)
(defun debug-load (filename)
  (declare (special *debug-load-filename* *debug-load-position*))
  (trace (read :eval-before ((setf *debug-load-filename* (truename (car
*traced-arglist*)))
			      (setf *debug-load-position* (file-
position (car *traced-arglist*))))))
  (multiple-value-bind
      (okp cond-or-result)
      (ignore-errors
	(values t (load filename)))
    (if okp
	(progn
	  (untrace read)
	  cond-or-result)
      (progn
	(untrace read)
	(editor:goto-buffer (editor:find-file-buffer *debug-load-
filename*) nil)
	(editor:beginning-of-buffer-command nil)
	(editor:forward-character-command *debug-load-position*)

	(inspect cond-or-result)))))

 Any ideas?

Also I would love to get this buffer in my emacs but I cannot figure
out how to start up the gnuclient program from Lispworks? Do i have to
use the fli to get to CreateProcess to do this?
Immanuel




Sent via Deja.com http://www.deja.com/
Before you buy.
From: Georges KO
Subject: Re: Lispworks on NT
Date: 
Message-ID: <m366tmhygc.fsf@symbiose.gko.net>
·················@my-deja.com writes: 

> Also I would love to get this buffer in my emacs but I cannot figure
> out how to start up the gnuclient program from Lispworks? Do i have to
> use the fli to get to CreateProcess to do this?

    Use sys::call-system-showing-output. I don't remember how I got
    this one :-).
-- 
 Georges KO, Taipei                                              ···@gko.net
            D�cade III, Quintidi de Germinal de l'Ann�e 208 de la R�volution
From: ·················@my-deja.com
Subject: Re: Lispworks on NT
Date: 
Message-ID: <8d9l8b$uac$1@nnrp1.deja.com>
In article <··············@symbiose.gko.net>,
  Georges KO <···@gko.net> wrote:
> ·················@my-deja.com writes:
>
> > Also I would love to get this buffer in my emacs but I cannot figure
> > out how to start up the gnuclient program from Lispworks? Do i have
to
> > use the fli to get to CreateProcess to do this?
>
>     Use sys::call-system-showing-output. I don't remember how I got
>     this one :-).
> --
>  Georges KO, Taipei
···@gko.net
>             D�cade III, Quintidi de Germinal de l'Ann�e 208 de
laR�volution

I found it in the Unix lispworks documentation :-). There�s also a call-
sytem in the win32 package and also a CreateProcess. All of them
utterly undocumented *sigh*. What I really want to do is call an
asynchronous process.
Immanuel.


Sent via Deja.com http://www.deja.com/
Before you buy.
From: Paolo Amoroso
Subject: Re: Lispworks on NT
Date: 
Message-ID: <6qH0OJq+QDm3oCJmGtwWUnMO3fzl@4ax.com>
On Wed, 12 Apr 2000 11:21:13 GMT, ·················@my-deja.com wrote:

> I�m using Lispworks on NT to play around with
> portions of Garnet. Of course it has problems

Which portions of Garnet are you playing with? The ones dealing with
graphics? If so, I guess they don't run under WinNT because they are based
on CLX, the Common Lisp bindings to X Window.

The Mac port of Garnet does not need CLX because it uses a custom interface
to the Mac user interface. WinNT would probably need a similar subsystem.


Paolo
-- 
EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation
http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/
From: ·················@my-deja.com
Subject: Re: Lispworks on NT
Date: 
Message-ID: <8d48e9$s3$1@nnrp1.deja.com>
In article <····························@4ax.com>,
  Paolo Amoroso <·······@mclink.it> wrote:
> On Wed, 12 Apr 2000 11:21:13 GMT, ·················@my-deja.com wrote:
>
> > I�m using Lispworks on NT to play around with
> > portions of Garnet. Of course it has problems
>
> Which portions of Garnet are you playing with? The ones dealing with
> graphics? If so, I guess they don't run under WinNT because they are
based
> on CLX, the Common Lisp bindings to X Window.
>
> The Mac port of Garnet does not need CLX because it uses a custom
interface
> to the Mac user interface. WinNT would probably need a similar
subsystem.
>
> Paolo
> --
Actually I know Garnet, and I plan to port CLX to NT and use an NT X-
server to play around with it. I have already gotten CLX to compile and
only need to look at the lowlevel code to open a socket but that seems
pretty manageable. If you�d be interested (or anyone else) I can send
you the code.
Thanks for the input though
Immanuel


Sent via Deja.com http://www.deja.com/
Before you buy.
From: Paolo Amoroso
Subject: Re: Lispworks on NT
Date: 
Message-ID: <0Sb2OJGR3XRZcd03bfwEiU+jzIBi@4ax.com>
On Thu, 13 Apr 2000 10:44:27 GMT, ·················@my-deja.com wrote:

> Actually I know Garnet, and I plan to port CLX to NT and use an NT X-
[...]
> pretty manageable. If you�d be interested (or anyone else) I can send
> you the code.

Fred Gilham (gilham AT csl DOT sri DOT com) collects Garnet patches and he
may be interested in your work. His unofficial source distribution is
available at:

  ftp://ftp.csl.sri.com/pub/users/gilham/garnet/

Good luck,


Paolo
-- 
EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation
http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/
From: Fred Gilham
Subject: Re: Lispworks on NT
Date: 
Message-ID: <u7bt3ck289.fsf@snapdragon.csl.sri.com>
Paolo Amoroso <·······@mclink.it> writes:
> 
> Fred Gilham (gilham AT csl DOT sri DOT com) collects Garnet patches and he
> may be interested in your work. His unofficial source distribution is
> available at:
> 
>   ftp://ftp.csl.sri.com/pub/users/gilham/garnet/

Yes I do. (Thanks for the plug.)

I've gotten a couple bug reports and have been working on them so I
will probably put out a new unofficial version soon.  If you send me
stuff before that I may be able to put it in my version.

-- 
Fred Gilham                                      ······@csl.sri.com
I have over the years been viewed as a man of the left and a man of
the right, and the truth is that I've never put much stake in such
labels. But this I have learned: the left patrols its borders and
checks membership credentials ever so much more scrupulously, even
ruthlessly, than does the right.            -- Richard John Neuhaus