r8186: convert oos to operate
[clsql.git] / doc / intro.xml
index f227f2f0724e4d23008d21f24d3cbfb5cf7f01b4..c6a16ac201f4b4b62e345da518298f0a01a63e81 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version='1.0' ?>   <!-- -*- DocBook -*- -->
+<?xml version='1.0' ?>
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
                "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
 <!ENTITY % myents SYSTEM "entities.xml">
       <title>Ensure &asdf; is loaded</title>
       <para>
        Simply load the file <filename>asdf.lisp</filename>.
-       <programlisting>
+       <screen>
 (load "asdf.lisp")
-       </programlisting>
+       </screen>
       </para>
     </sect2>
     
        linking on Linux. If you are using FreeBSD or Solaris, you will need
        to change the linker setting as instructed in the Makefile. 
        Then, you can give the command
-       <programlisting>
+       <screen>
 make libs
-       </programlisting>
+       </screen>
        in the root directory of &clsql; to build the libraries 
        <filename>interfaces/mysql/clsql-mysql.so</filename>
        and <filename>interfaces/clsql-uffi/clsql-uffi.so</filename>.
@@ -173,10 +173,10 @@ make libs
        The following example code assumes the &uffi; files reside in the
        <filename>/usr/share/lisp/uffi/</filename> 
        directory.
-       <programlisting>
+       <screen>
 (push #P"/usr/share/lisp/uffi/" asdf:*central-registry*)
-(asdf:oos 'asdf:load-op :uffi)
-       </programlisting>
+(asdf:operate 'asdf:load-op :uffi)
+       </screen>
       </para>
     </sect2>
    <sect2>
@@ -189,10 +189,10 @@ make libs
         The following example code assumes the cl-md5 files reside in the
        <filename>/usr/share/lisp/cl-md5/</filename> 
        directory.
-       <programlisting>
+       <screen>
 (push #P"/usr/share/lisp/cl-md5/" asdf:*central-registry*)
-(asdf:oos 'asdf:load-op :md5)
-       </programlisting>
+(asdf:operate 'asdf:load-op :md5)
+       </screen>
      </para>
    </sect2>
    
@@ -206,7 +206,7 @@ make libs
        <filename>/usr/share/lisp/clsql/</filename> 
        directory. You need to load, at a minimum,
        the main <symbol>:clsql</symbol> system and at least one interface system.
-       <programlisting>
+       <screen>
 (push #P"/usr/share/lisp/clsql/" asdf:*central-repository*)
 (asdf:operate 'asdf:load-op 'clsql-base)        ; base clsql package
 (asdf:operate 'asdf:load-op 'clsql-mysql)       ; MySQL interface
@@ -214,7 +214,7 @@ make libs
 (asdf:operate 'asdf:load-op 'clsql-postgresql-socket) ; Socket PGSQL interface
 (asdf:operate 'asdf:load-op 'clsql-aodbc)       ; Allegro ODBC interface
 (asdf:operate 'asdf:load-op 'clsql)             ; main clsql package
-       </programlisting>
+       </screen>
       </para>
     </sect2>
     
@@ -227,9 +227,9 @@ make libs
        in the <filename>tests/tests.lisp</filename> file in the &clsql;
        source directory. After creating that file, you can run the test suite
        with &asdf;:
-       <programlisting>
-(asdf:operate 'asdf:test-op 'clsql)
-        </programlisting>.     .
+       <screen>
+         (asdf:operate 'asdf:test-op 'clsql)
+        </screen>
       </para>
     </sect2>