|
Re: [Sbcl-help] How to suppress messages when sbcl as script?
From: Stas Boukarev <stassats@gm...> - 2010-10-07 16:50
|
Manfred Lotz <manfred.lotz@...> writes:
> Hi there,
> I'm pretty new to Lisp and thus to sbcl.
>
> I wrote a small script starting like follows:
>
> <---------------------------------snip---------------->
> #! /usr/bin/sbcl --script
>
> (require 'asdf)
> (require 'local-time)
> <---------------------------------snap---------------->
>
> Implicitly local-time requires cl-fad which requires sb-grovel,
> sb-posix etc.
>
>
> The following messages show up:
> ;loading system
> definition<---------------------------------snap---------------->
> from /home/manfred/cl/cl-fad-0.6.3/cl-fad.asd into ; #<PACKAGE
> "ASDF0"> ; registering #<SYSTEM #:CL-FAD> as CL-FAD ; loading system
> definition from /usr/lib/sbcl/sb-posix/sb-posix.asd into ; #<PACKAGE
> "ASDF0"> ; loading system definition
> from /usr/lib/sbcl/sb-grovel/sb-grovel.asd into ; #<PACKAGE "ASDF1">
> ; registering #<SYSTEM SB-GROVEL> as SB-GROVEL
> ; registering #<SYSTEM SB-POSIX> as SB-POSIX
> ; registering #<SYSTEM SB-POSIX-TESTS> as SB-POSIX-TESTS
>
>
> Is there a way to suppress those messages?
Try this:
(require 'asdf)
(setf *load-verbose* nil
*load-print* nil
asdf:*asdf-verbose* nil)
(require 'local-time)
This will only prevent of messages during LOAD, not COMPILE-FILE. In the
latter case you can nullify *compile-print* and *compile-verbose*, but
you'll have to muffle all the style-warnings and notes produced by the
compiler. The better thing might be to use a saved image.
--
With Best Regards, Stas.
|
| Thread | Author | Date | |
|---|---|---|---|
| [Sbcl-help] How to suppress messages when sbcl as script? | Manfred Lotz <manfred.lotz@ar...> |
|
|
|
|
|
|
|
|