[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting the readline prompt ...

From: rm
Subject: Setting the readline prompt ...
Date: Tue, 7 Jan 2003 19:42:39 +0100
User-agent: Mutt/1.3.28i

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]