From Fernando.Perez at colorado.edu  Mon Feb  2 21:58:20 2004
From: Fernando.Perez at colorado.edu (Fernando.Perez at colorado.edu)
Date: Mon,  2 Feb 2004 19:58:20 -0700
Subject: [IPython-dev] Readline question from user
In-Reply-To: <mailman.450.1075371911.18183.ipython-dev@scipy.net>
References: <mailman.450.1075371911.18183.ipython-dev@scipy.net>
Message-ID: <1075777100.401f0e4c24531@webmail.colorado.edu>

This is a message from an unsubscribed user, which I'm reposting here.  Rod, for
future reference, ipython lists are open only to subscribers because of the
inordinate amount of spam we were getting.

------------------------------------------------------------------------
I tried your adaptation of readline to windows in python.  It seems to work
pretty well but the letter display rate is very slow.  Is there anything
that can be done to speed it up?

Thanks
Rdo

------------------------------------------------------------------------

My answer: since I don't have access to windows machines, I unfortunately can't
comment directly.  But perhaps some Windows user on the list has some ideas.

Regards,

f


From gb at cs.unc.edu  Tue Feb  3 09:45:11 2004
From: gb at cs.unc.edu (Gary Bishop)
Date: Tue, 03 Feb 2004 09:45:11 EST
Subject: [IPython-dev] Readline question from user
Message-ID: <200402031445.i13EjBUH006243@wren.cs.unc.edu>

On Mon,  2 Feb 2004 19:58:20 -0700 Fernando.Perez at colorado.edu wrote:
 ------------------------------------------------------------------------
> I tried your adaptation of readline to windows in python.  It seems to work
> pretty well but the letter display rate is very slow.  Is there anything
> that can be done to speed it up?

It seems fine to me but I'm not sure what the poster means by letter 
display rate.

for i in range(100):
  print 
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

happens faster than I can see.

When I typed the string 'aaaaa... the key repeat rate appeared to be 
identical to what I get in a command prompt window.

So it seems just like working at the python prompt to me, only much 
better cause of ipython.

I'm using WindowsXP on a darn fast dual processor machine, so maybe 
that biases my results. Characters take a long strange trip from 
keyboard to display but I don't think I've got any explicit delays in 
the readline code.

Perhaps Ron can provide a more specific example of the problem he is having?

gb