unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Setting the readline prompt ...
@ 2003-01-07 18:42 rm
  2003-01-08 18:04 ` Paul Jarc
  0 siblings, 1 reply; 6+ messages in thread
From: rm @ 2003-01-07 18:42 UTC (permalink / raw)
  Cc: guile-devel

Hello and a happy new year,

just a quick question: how can i change the readline
prompt (after readline is activated).
I found (set-readline-prompt! prompt . prompt2) in 
'ice-9 readline' but that does nothing more than

(define-public (set-readline-prompt! p . rest)
  (set! prompt p)
    (if (not (null? rest))
          (set! prompt2 (car rest))))

which of course doesn't really work since it doesn't affect
the prompts of the current repl.

BTW, i found '(set-repl-prompt! prompt)' which seems to be 
undocumented in the otherwise fine manual. How does this function
relate to the one from 'ice-9 readline' ?


tia Ralf Mattes
	  


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-01-08 23:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-07 18:42 Setting the readline prompt rm
2003-01-08 18:04 ` Paul Jarc
2003-01-08 21:11   ` Neil Jerram
2003-01-08 21:35     ` Neil Jerram
2003-01-08 21:47       ` Marius Vollmer
2003-01-08 23:52         ` Neil Jerram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).