Let's see if the uploaded patches are sufficient to make support complete or
at least more usable. What is still missing is to have a default restart
(such as replacing the character by a bogus one) associated to the file or
to its external format.
$ ecl
ECL (Embeddable Common-Lisp) 11.1.1
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level in: #<process TOP-LEVEL>.
> (with-open-file (s "~/foo.txt" :external-format :us-ascii :direction
:output :if-exists :supersede) (write-char (code-char 1231) s))
Condition of type: STREAM-ENCODING-ERROR
encoding error on stream #<output stream "~/foo.txt"> (:EXTERNAL-FORMAT
(:US-ASCII :LF)): the character with code 1231 cannot be encoded.
Available restarts:
1. (USE-VALUE) Try again with a different supplied code
2. (RESTART-TOPLEVEL) Go back to Top-Level REPL.
Broken at SI:BYTECODES. [Evaluation of: (WITH-OPEN-FILE (S "~/foo.txt"
:EXTERNAL-FORMAT :US-ASCII :DIRECTION :OUTPUT :IF-EXISTS :SUPERSEDE)
(WRITE-CHAR (CODE-CHAR 1231) S))] In: #<process TOP-LEVEL>.
>> (use-value #\a)
#\a
> (si::system "cat ~/foo.txt")
a
0
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list