From: Elena Garrulo
Subject: Win32 CLisp configuration problem
Date: 
Message-ID: <36fjvnF50sbpuU1@individual.net>
Hi,
	before installing CLisp on Win32, you should edit the src\config.lisp file.Anyway, I've left the 
configuration file untouched, and CLisp runs fine. Missing something?



	I cannot figure out the purpose of the functions "short-site-name" and "long-site-name":

(defun short-site-name ()
   (let ((s (or
             (system::registry "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion"
                               "RegisteredOrganization")
             (system::registry "SOFTWARE\\Microsoft\\Windows\\CurrentVersion"
                               "RegisteredOrganization"))))
     (check-type s string)
     s))
(defun long-site-name ()
   (let ((s (or
             (system::registry "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion"
                               "RegisteredOwner")
             (system::registry "SOFTWARE\\Microsoft\\Windows\\CurrentVersion"
                               "RegisteredOwner"))))
     (check-type s string)
     s))



	I cannot understand the meaning of the three dots on the third line of the *load-paths* definition:

(defparameter *load-paths*
   '(#"D:"                ; erst im Current-Directory von Laufwerk C:
     #"D:\\Programmi\\clisp-2.29\\...\\") ; dann in allen Directories unterhalb C:\CLISP
   "The list of directories where programs are searched on LOAD etc.
if device and directory are unspecified:")



Thanks.

From: Sam Steingold
Subject: Re: Win32 CLisp configuration problem
Date: 
Message-ID: <upszhns9f.fsf@gnu.org>
> * Elena Garrulo <········@zhpubznvy.pbz> [2005-02-03 22:39:02 +0100]:
>
> before installing CLisp on Win32, you should edit the
> src\config.lisp file.Anyway, I've left the configuration file
> untouched, and CLisp runs fine. Missing something?

not much.

> I cannot figure out the purpose of the functions "short-site-name" and
> "long-site-name":

<http://www.lisp.org/HyperSpec/Body/fun_short-sit_ng-site-name.html>

> I cannot understand the meaning of the three dots on the third line of
> the *load-paths* definition:
>
> (defparameter *load-paths*
>    '(#"D:"
>      #"D:\\Programmi\\clisp-2.29\\...\\")
>    "The list of directories where programs are searched on LOAD etc.
> if device and directory are unspecified:")

it's the same as

(defparameter *load-paths* '(#"D:" #"D:\\Programmi\\clisp-2.29\\**\\"))


(note that 2.29 is very old.)

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Live Lisp and prosper.
From: lin8080
Subject: Re: Win32 CLisp configuration problem
Date: 
Message-ID: <42053AEF.1E2ED050@freenet.de>
Sam Steingold schrieb:
> > * Elena Garrulo <········@zhpubznvy.pbz> [2005-02-03 22:39:02 +0100]:

[...]
> > I cannot understand the meaning of the three dots on the third line of
> > the *load-paths* definition:

> > (defparameter *load-paths*
> >    '(#"D:"
> >      #"D:\\Programmi\\clisp-2.29\\...\\")
> >    "The list of directories where programs are searched on LOAD etc.
> > if device and directory are unspecified:")

> it's the same as

> (defparameter *load-paths* '(#"D:" #"D:\\Programmi\\clisp-2.29\\**\\"))

> (note that 2.29 is very old.)
..........................................


Hallo

Now I download clisp-2.33.1-win32.zip from sourceforge.net.

Unzipped and read the readme.de 
In line 69 there is: "...edit ... src/config.lisp"

In config.lisp line 39 there is:

(defparameter *load-paths*  
 '(#"C:"          ; erst im Current-Directory von Laufwerk C:    
   #"C:\\CLISP\\...\\") ; dann in allen Directories unterhalb C:\CLISP  
   "The list of directories where programs are searched on LOAD etc.
    if device and directory are unspecified:")


Well. 

Now the *.zip extracts to 
   c:\clisp-2.33.1\

Is it possible to update the path in config.lisp to the actual version.
(ie. "C:\\clisp-2.33.1\\...\\ instead of: "C:\\CLISP\\...\\").
This way the zip-path is the same as in config.lisp for Win32-users.

(I still run clisp-2.27 on the same box here.)

By the way:

At the end of config.lisp there is a link to the HyperSpec-online. 

It would be nice to set there a link to the important impnotes too. 
(same path c:/clisp-2.33.1/doc/impnotes.html; 1,4 MB) 
Maybe it is possible to link some "-help" text to this file?
(inside the impnotes are many links to CLHS)

stefan

(help 'defun)
From: Sam Steingold
Subject: Re: Win32 CLisp configuration problem
Date: 
Message-ID: <u6516cy14.fsf@gnu.org>
> * lin8080 <·······@serrarg.qr> [2005-02-05 22:30:23 +0100]:
>
> Now the *.zip extracts to 
>    c:\clisp-2.33.1\

it extracts to whatever directory you want.
I usually put it in "d:/gnu/clisp/clisp-.../".

> Is it possible to update the path in config.lisp to the actual version.
> (ie. "C:\\clisp-2.33.1\\...\\ instead of: "C:\\CLISP\\...\\").
> This way the zip-path is the same as in config.lisp for Win32-users.

just edit config.lisp and dump the image.

> It would be nice to set there a link to the important impnotes too. 
> (same path c:/clisp-2.33.1/doc/impnotes.html; 1,4 MB) 
> Maybe it is possible to link some "-help" text to this file?
> (inside the impnotes are many links to CLHS)

<http://clisp.cons.org/impnotes/customize.html>

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Bill Gates is great, as long as `bill' is a verb.
From: lin8080
Subject: Re: Win32 CLisp configuration problem
Date: 
Message-ID: <42069E79.E2C16E10@freenet.de>
Sam Steingold schrieb:
> > * lin8080 <·······@serrarg.qr> [2005-02-05 22:30:23 +0100]:

Hallo

> > Now the *.zip extracts to
> >    c:\clisp-2.33.1\

> it extracts to whatever directory you want.
> I usually put it in "d:/gnu/clisp/clisp-.../".

On WIN98: 
--> Start --> Ausf�hren
Zip.exe c:\lisp\cl2331.zip  (my rename to 8.3 format) 
Menu: --> File --> Properities:

File-size 3.571.239
Files 79
Compression 71%
Date/time 24.01.05 18:54

The zip-file contained in --> Details: (only parts)

Current Location part 1 offset 3563826
    filename:clisp-2.33.1\
Current Location part 1 offset 3563839
    extra field 0x5455 (universal time), 4 header and 5 data bytes:
    03 fa e5 b4 40                                  ····@
    extra field 0x7855 (Unix UID/GID), 4 header and 0 data bytes:
...
Current Location part 1 offset 3563898
    filename:clisp-2.33.1\ANNOUNCE
...
Current Location part 1 offset 3563978
    filename:clisp-2.33.1\base\
...
Current Location part 1 offset 3564055
    filename:clisp-2.33.1\base\lisp.exe
... 
...
Current Location part 1 offset 3564310
    filename:clisp-2.33.1\data\
... 
...
Current Location part 1 offset 3564568
    filename:clisp-2.33.1\doc\
... 
...
Current Location part 1 offset 3565515
    filename:clisp-2.33.1\emacs\
... 
...
Current Location part 1 offset 3565874
    filename:clisp-2.33.1\full\

... 
untill to:
...
Current Location part 1 offset 3563013
    filename:clisp-2.33.1\SUMMARY

It seems it was ziped with the option "Save full path info". 
Sure one can set another path to extract, ie. D:\clisp\... 
but then the clisp-2.33.1 folder was created there and a copy&paste or a
rename is necessary to have it where I want.

Please check.


> <http://clisp.cons.org/impnotes/customize.html>

Thank you. The impnotes.html is included in the folder \doc (and I read
parts there)

 29.11.�Extensions-1.11. Customizing CLISP behavior. 
        ...

(PS:
    (apropos "" "custom")  ; did not work
    (apropos "" "CUSTOM")  ; works fine
    (APROPOS "" "CUSTOM")  ; works fine too
                           ; when dos-window is hacked to use
scrollbars)


stefan