update watch file
[cl-readline.git] / packages.lisp
index 8b497e4e56cd963228e4dcd517802a33c2fe47e2..cd3ecf1070120e53caa56a783139eca18e18d713 100644 (file)
@@ -1,5 +1,5 @@
 ;; Copyright (c) 2003 Nikodemus Siivola
-;; 
+;;
 ;; Permission is hereby granted, free of charge, to any person obtaining
 ;; a copy of this software and associated documentation files (the
 ;; "Software"), to deal in the Software without restriction, including
@@ -7,10 +7,10 @@
 ;; distribute, sublicense, and/or sell copies of the Software, and to
 ;; permit persons to whom the Software is furnished to do so, subject to
 ;; the following conditions:
-;; 
+;;
 ;; The above copyright notice and this permission notice shall be included
 ;; in all copies or substantial portions of the Software.
-;; 
+;;
 ;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 ;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 ;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-(defpackage libreadline
-  (:use cl uffi))
-
 (defpackage readline
   (:nicknames rl)
-  (:use cl uffi)  
+  (:use cl uffi)
   (:export
    add-completion
    add-history
    clear-completions
    readline
-   use-cl-complete
+   readexpr
+   use-package-complete
    use-custom-complete
    use-filename-complete
+   without-echo
    ))
 
-(uffi:load-foreign-library "/usr/lib/cl-readline/libreadline-cl.so"
-                          :module "readline-cl")
+(uffi:load-foreign-library "/lib/libreadline.so.4"
+                           :module "readline")
+
+(uffi:load-foreign-library "cl-readline.o"
+                           :module "cl-readline")
+
+(uffi:load-foreign-library "cl-termios.o"
+                           :module "cl-termios")