[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposed change to `make-readline-port'
From: |
Neil Jerram |
Subject: |
Re: Proposed change to `make-readline-port' |
Date: |
05 Mar 2001 22:40:54 +0000 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5 |
>>>>> "Neil" == Neil Jerram <address@hidden> writes:
Neil> Unfortunately, not quite, I think. Only the body of
Neil> `make-line-buffered-input-port' knows when a character has
Neil> been read out of its internal buffer (`read-string').
That said, perhaps a better way of addressing this problem would be to
support `char-ready?' for soft ports. Then the application logic
could be:
(if (char-ready? port)
(prepare to use continuation prompt)
(prepare to use new read prompt))
(read)
Currently, char-ready? on a soft port always returns #t. But I can't
see a fundamental reason why this should always be so. Perhaps all
that is needed here is a Scheme wrapper for
scm_set_port_input_waiting?
Regards,
Neil
- Proposed change to `make-readline-port', Neil Jerram, 2001/03/03
- Re: Proposed change to `make-readline-port', Dirk Herrmann, 2001/03/03
- Re: Proposed change to `make-readline-port', Neil Jerram, 2001/03/04
- Re: Proposed change to `make-readline-port', Dirk Herrmann, 2001/03/04
- Re: Proposed change to `make-readline-port', Neil Jerram, 2001/03/05
- Re: Proposed change to `make-readline-port',
Neil Jerram <=
- Re: Proposed change to `make-readline-port', Dirk Herrmann, 2001/03/05
- Re: Proposed change to `make-readline-port', Dirk Herrmann, 2001/03/05
- Re: Proposed change to `make-readline-port', Neil Jerram, 2001/03/07
- Re: Proposed change to `make-readline-port', Neil Jerram, 2001/03/07
- Re: Proposed change to `make-readline-port', Dirk Herrmann, 2001/03/08
- Re: Proposed change to `make-readline-port', Neil Jerram, 2001/03/09
- Re: Proposed change to `make-readline-port', Dirk Herrmann, 2001/03/10
- Re: Proposed change to `make-readline-port', Neil Jerram, 2001/03/10
Re: Proposed change to `make-readline-port', Marius Vollmer, 2001/03/03