[IPython-dev] Need help from Ipython guru...
Thu Dec 6 07:13:22 CST 2007
I'm playing with the shell currently, to see how it react and how it
interact with Ipytohn instance.
I'll try it after. I prefer to stabilize a little the whole thing and get
some sort of working thing before blowing it with the traeds :)
Thanks to ferando, i've solved the history bug.
unicode character seem to be solved too (when i wrote 'é' i got a problem
Here is my current bug list :
### known bug:
# - currently WxConsoleView is a wx.Panel, can we change it to wx.TextCtrl?
# - autoindent doesn't work
# - I must find a way to handle crtl+c with a os.fork() in case the ipython
do an infinite loop
# while (1):
# - 'pass' key when call make the interpreter to stop current multiline
# class a:
# def b():
# def c():
# --> syntax error '):'
# - some color glitch if userr click in a prompt color zone and start to
# - 'ls' command don't work, all the result is sent on external console...
# - '?' can lock up the system if the default pager is used:
# import smtplib
# Need to find a way to call my own pager.
Perhaps ville you know how os.environ declaration are used by IPython?
I don't understand this line:
os.environ['TERM'] = 'dumb'
Fernando says me to do a os.environ['PAGER'] but i don't understand how
that interact wiht ipython shell
What do i need to write to make Ipython instance call mypager let say :
I've tied os.environ['PAGER'] = 'self.pager'
but it seems to try to make some sort of os.popen('self.pager') :(
Too bad because under windows i prefer not to use command line shell.(it is
really bad :) )
Perhaps if I do the ugly thing IPython.genutils.dumb_pager = self.pager :) ?
hum... prefer to avoid it... but...
Any idea welcome :)
Once this bug resolved I'll send you my curent version.
Ville M. Vainio wrote:
> On Dec 5, 2007 3:51 PM, Laurent Dufrechou <Laurent.Dufrechou@free.fr>
>> Currently the design of the widget is limited by the fact that the
>> shell is not in a different process or thread, so if it locks, it locks
>> the app…
> So, have you tried launching IPython in its own thread (separate from
> apps UI thread) yet?
> Ville M. Vainio - vivainio.googlepages.com
> blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
> IPython-dev mailing list
View this message in context: http://www.nabble.com/Need-help-from-Ipython-guru...-tf4949781.html#a14191929
Sent from the IPython - Development mailing list archive at Nabble.com.
More information about the IPython-dev