[Ecls-list] Question about top level prompt.

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Wed May 21 08:06:37 UTC 2008


On Wed, May 21, 2008 at 6:48 AM, Jason Aquilina <jfa7600 at yahoo.com.au> wrote:
> Would it be possible to have tpl-prompt changed to [...]

I have done a bit more than that. ext:*tpl-prompt-hook* can now be a
format string, a function or any other object, in which case the
original prompt is used. Note that you also have to produce a fresh
line, either with (fresh-line) or with the format directive ~&.

ECL (Embeddable Common-Lisp) 0.9j (CVS 2008-05-18 22:07)
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.
> (setf si::*tpl-prompt-hook* "~&Type: ")
"~&Type: "
Type: (print 1)

1
1
T


-- 
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list