* Extra echo when using libguilereadline
@ 2014-08-16 11:46 Eli Zaretskii
2014-08-16 12:23 ` Taylan Ulrich Bayirli/Kammer
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2014-08-16 11:46 UTC (permalink / raw)
To: guile-devel
I tried today the recipe from the manual that says how to load the
readline support:
scheme@(guile-user)> ,m (ice-9 readline)
scheme@(ice-9 readline)> (activate-readline)
This works, but has the side effect that everything I type is echoed
one more time, as shown below for 2 lines I typed:
scheme@(ice-9 readline)> %load-path
%load-path
$1 = ("d:/usr/share/guile/2.0" "d:/usr/share/guile/site/2.0" "d:/usr/share/guile/site" "d:/usr/share/guile")
scheme@(ice-9 readline)> ,q
,q
Is this expected, or is this a bug? If the former, how can I disable
this double echo?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Extra echo when using libguilereadline
2014-08-16 11:46 Extra echo when using libguilereadline Eli Zaretskii
@ 2014-08-16 12:23 ` Taylan Ulrich Bayirli/Kammer
2014-08-16 12:31 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Taylan Ulrich Bayirli/Kammer @ 2014-08-16 12:23 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: guile-devel
Eli Zaretskii <eliz@gnu.org> writes:
> I tried today the recipe from the manual that says how to load the
> readline support:
>
> scheme@(guile-user)> ,m (ice-9 readline)
> scheme@(ice-9 readline)> (activate-readline)
>
> This works, but has the side effect that everything I type is echoed
> one more time, as shown below for 2 lines I typed:
>
> scheme@(ice-9 readline)> %load-path
> %load-path
> $1 = ("d:/usr/share/guile/2.0" "d:/usr/share/guile/site/2.0" "d:/usr/share/guile/site" "d:/usr/share/guile")
> scheme@(ice-9 readline)> ,q
> ,q
>
> Is this expected, or is this a bug? If the former, how can I disable
> this double echo?
On 2.0.11, I cannot reproduce this in any of xterm, M-x term, or M-x
shell. It feels like a familiar issue though, probably under a peculiar
setup; is there anything noteworthy about how you use the REPL, or your
terminal emulator, or such?
Taylan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Extra echo when using libguilereadline
2014-08-16 12:23 ` Taylan Ulrich Bayirli/Kammer
@ 2014-08-16 12:31 ` Eli Zaretskii
2014-08-16 14:09 ` Taylan Ulrich Bayirli/Kammer
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2014-08-16 12:31 UTC (permalink / raw)
To: Taylan Ulrich Bayirli/Kammer; +Cc: guile-devel
> From: Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
> Cc: guile-devel@gnu.org
> Date: Sat, 16 Aug 2014 14:23:24 +0200
>
> > scheme@(ice-9 readline)> %load-path
> > %load-path
> > $1 = ("d:/usr/share/guile/2.0" "d:/usr/share/guile/site/2.0" "d:/usr/share/guile/site" "d:/usr/share/guile")
> > scheme@(ice-9 readline)> ,q
> > ,q
> >
> > Is this expected, or is this a bug? If the former, how can I disable
> > this double echo?
>
> On 2.0.11, I cannot reproduce this in any of xterm, M-x term, or M-x
> shell. It feels like a familiar issue though, probably under a peculiar
> setup; is there anything noteworthy about how you use the REPL, or your
> terminal emulator, or such?
It's a normal Windows terminal. I just invoke the guile executable
and type at the prompt.
Could this be due to failure to recognize that stdin/stdout are
connected to a console?
More generally, where's the code that could cause these echoes?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Extra echo when using libguilereadline
2014-08-16 12:31 ` Eli Zaretskii
@ 2014-08-16 14:09 ` Taylan Ulrich Bayirli/Kammer
0 siblings, 0 replies; 4+ messages in thread
From: Taylan Ulrich Bayirli/Kammer @ 2014-08-16 14:09 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: guile-devel
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
>> Cc: guile-devel@gnu.org
>> Date: Sat, 16 Aug 2014 14:23:24 +0200
>>
>> > scheme@(ice-9 readline)> %load-path
>> > %load-path
>> > $1 = ("d:/usr/share/guile/2.0" "d:/usr/share/guile/site/2.0" "d:/usr/share/guile/site" "d:/usr/share/guile")
>> > scheme@(ice-9 readline)> ,q
>> > ,q
>> >
>> > Is this expected, or is this a bug? If the former, how can I disable
>> > this double echo?
>>
>> On 2.0.11, I cannot reproduce this in any of xterm, M-x term, or M-x
>> shell. It feels like a familiar issue though, probably under a peculiar
>> setup; is there anything noteworthy about how you use the REPL, or your
>> terminal emulator, or such?
>
> It's a normal Windows terminal. I just invoke the guile executable
> and type at the prompt.
>
> Could this be due to failure to recognize that stdin/stdout are
> connected to a console?
>
> More generally, where's the code that could cause these echoes?
For what it's worth, "cat | guile | cat" works fine for me, except for
C-a, C-e, etc. inserting ^A, ^E, etc., but no echoing.
Taylan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-16 14:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-16 11:46 Extra echo when using libguilereadline Eli Zaretskii
2014-08-16 12:23 ` Taylan Ulrich Bayirli/Kammer
2014-08-16 12:31 ` Eli Zaretskii
2014-08-16 14:09 ` Taylan Ulrich Bayirli/Kammer
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).