From mathew at yeates.tv Sun Nov 16 00:20:51 2003 From: mathew at yeates.tv (Mathew Yeates) Date: Sat, 15 Nov 2003 21:20:51 -0800 Subject: [IPython-dev] readline on windows (again) Message-ID: <3FB70933.4020402@yeates.tv> Are there instructions for getting PyReadline to work with IPython? I get the error saying python15.dll was not found. Looking through the archives I found some instructions for creating libreadline.a using dlltool. What the heck is that? Are there simple instructions somewhere? Mathew From coingogame1 at netscape.net Mon Nov 17 08:05:51 2003 From: coingogame1 at netscape.net (VAN DYKE) Date: Mon, 17 Nov 2003 14:05:51 +0100 Subject: [IPython-dev] WINNING NOTIFICATION/FINAL NOTICE Message-ID: <20031117130551.3892B3EB3D@www.scipy.com> FROM: COINGOGAMES PROMOTION/PRIZE AWARD DEPT. REF: CEL/2311786008/01 BATCH: 118/00R78/I03PD RE: WINNING NOTIFICATION/FINAL NOTICE We are pleased to inform you of the result of the of the COINGOGAMES Lottery International programs held on the 10th of November 2003. Your e-mail address attached to ticket number 20511465886-629 with serial number 3772-99 drew lucky numbers 7-14-17-23-31-44 which consequently won in the 2nd category,you have therefore been approved for a lump sum pay out of One Million United State Dollars (US$1,000,000) CONGRATULATIONS!!! Due to mix up of some numbers and names, we ask that you keep your winning information confidential until your claims has been processed and your money remitted to you. This is part of our security protocol to avoid double claiming and unwarranted abuse of this program by some participants. All participants were selected through a computer ballot system drawn from over 100,000 company and 50,000,000 individual email addresses and names from all over the world. This promotional program takes place every three year. We hope with part of your winning you will take part in our end of year 50 million Euro International lottery. To file for your claim,please contact our Fiduciary Agent MR. RICHARD MYERS OF QUANTUM DIPLOMATIC COMPANY TEL: 0031-620-147-528. Remember, all winning must be claimed not later than 24th of November 2003. After this date all unclaimed funds will be included in the next stake. Please note in order to avoid unnecessary delays and complications please remember to quote your reference number and batch numbers in all correspondence. Furthermore, should there be any change of address do inform our agent as soon as possible. Congratulations once more from our members of staff and thank you for being part of our promotional program. Note: Anybody under the age of 18 is automatically disqualified. Sincerely yours, Van Dyke. (Winning Coordinator) From gb at cs.unc.edu Wed Nov 19 16:09:16 2003 From: gb at cs.unc.edu (Gary Bishop) Date: Wed, 19 Nov 2003 16:09:16 EST Subject: [IPython-dev] Patch for IPython with color on Windows Message-ID: <200311192109.hAJL9GFB003225@wren.cs.unc.edu> I have attached a patch for IPython 0.5-cvs that, along with my readline package, will make IPython on Windows work like it does on more capable systems. My readline code is available via CVS from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/uncpythontools/readline/ I use it inside and outside IPython and it seems to work fine. I don't think these changes impact other platforms but I certainly could be wrong since I haven't tested anywhere else. Most of the changes are of the form: - print header,output, + print >>ColorTerm.out, header,output, These send prints that could contain color escapes explicitly to a file object instead of relying on sys.stdout. ColorTerm.out and ColorTerm.err are initialized to sys.stdout and sys.stderr, so everything should work the same. On Windows, a user may optionally include the following in his IPYTHONDIR enable_color.py -------------------------------------------------------------------------------- '''Turn on the translation of ANSI color escapes for Windows''' import IPython import readline out = readline.GetOutputFile() IPython.genutils.ColorTerm.out = out IPython.genutils.ColorTerm.err = out del out del readline del IPython -------------------------------------------------------------------------------- and this line in ipythonrc.ini execfile enable_color.py To translate ANSI color escapes into the proper colors on the Windows console. Without this it will work fine without color. The second change included in these patches makes "less" work properly as the pager on Windows. I'm using the cygwin port of less. It doesn't want to work properly with popen2 so I added a clause to "page" in genutils to make it page from a file. I'll be happy to help in any way I can to get these or some better variant into IPython. gb -------------- next part -------------- A non-text attachment was scrubbed... Name: gbpatch Type: application/octet-stream Size: 8896 bytes Desc: not available URL: From fperez at colorado.edu Wed Nov 19 16:20:55 2003 From: fperez at colorado.edu (Fernando Perez) Date: Wed, 19 Nov 2003 14:20:55 -0700 Subject: [IPython-dev] Patch for IPython with color on Windows In-Reply-To: <200311192109.hAJL9GFB003225@wren.cs.unc.edu> References: <200311192109.hAJL9GFB003225@wren.cs.unc.edu> Message-ID: <3FBBDEB7.9070208@colorado.edu> Gary Bishop wrote: > I have attached a patch for IPython 0.5-cvs that, along with my > readline package, will make IPython on Windows work like it does on > more capable systems. Great! After having ignored your work for so long, I'll try to do better this time. I also have some other patches from Jeff Collins I need to look at, so it will be a good thing to wrap all this into a release. We had some problems with our systems and are still recovering slowly, so my system access may be spotty for a few more days. But I'll fold in Jeff's and your code, plus: - the dreload patch - I'll try to fix the gettext() bug - I'll try to fix compatibility with Gnuplot.py v. 1.7, which changed a lot. If we get all this, it will make a very nice new release, I think. Please let me know of anything else anyone may think is immediately outstanding to put on this list. > > I'll be happy to help in any way I can to get these or some better > variant into IPython. I'll have a look at the code as is, and let you know if any changes are needed. Many thanks, f. From fperez at colorado.edu Wed Nov 19 18:21:56 2003 From: fperez at colorado.edu (Fernando Perez) Date: Wed, 19 Nov 2003 16:21:56 -0700 Subject: [IPython-dev] readline on windows (again) In-Reply-To: <3FB70933.4020402@yeates.tv> References: <3FB70933.4020402@yeates.tv> Message-ID: <3FBBFB14.1050306@colorado.edu> Mathew Yeates wrote: > Are there instructions for getting PyReadline to work with IPython? I > get the error saying python15.dll was not found. Looking through the > archives I found some instructions for creating libreadline.a using > dlltool. What the heck is that? > > Are there simple instructions somewhere? Sorry but I don't have any idea, not using Windows myself. I suspect you'd need to recompile against your current version of python, I imagine the error you saw means that was built against python 1.5. This is a question for a user with good Windows experience, and that's not me, sorry. Regards, f. From gb at cs.unc.edu Wed Nov 19 19:31:23 2003 From: gb at cs.unc.edu (Gary Bishop) Date: Wed, 19 Nov 2003 19:31:23 EST Subject: [IPython-dev] readline on windows (again) Message-ID: <200311200031.hAK0VNFB012398@wren.cs.unc.edu> Mathew, Try this... If you don't already have it, download and install ctypes from http://sourceforge.net/project/showfiles.php?group_id=71702 Then download and unzip my pure python readline from https://sourceforge.net/project/showfiles.php?group_id=82407 In the resulting folder at a command prompt, type python setup.py install When you restart ipython (or python) for that matter. You should have a readline that works pretty much exactly like the gnu-readline with completion, history, etc. gb From tekeremailbox1 at netscape.net Sat Nov 22 09:23:46 2003 From: tekeremailbox1 at netscape.net (Austin Tekere) Date: Sat, 22 Nov 2003 15:23:46 +0100 Subject: [IPython-dev] Investment Partnership Message-ID: <20031122141934.094363EB25@www.scipy.com> Dear Kind hearted friend, Please pardon me if I have intruded on your privacy. Though it may be surprising to you to have received this mail encompassing an investment proposal from me since you do not know me personally, however, I plead that you should give my case a hearing. I am the first son of a late rich black farmer from Zimbabwe. My late father, Mr. Marcus Tekere was murdered as a result of his opposition to the much heralded politically motivated land dispute between white farmers and the Zimbabwean government headed by the much dreaded President Robert Mugabe. As led by my instinct, I decided to contact you through the usefulness of the internet via e-mail as it is the only means I can contact somebody since I am cutting off ties with Zimbabwe for security and safety reasons. However, I apologize if this is not acceptable to you. The purpose of this letter like I did mention above is to seek your most needed assistance in a business venture as a partner in receiving the deposited consignment containing US$18.5 million made by my late father as a consignment to an exclusively managed private security company based in the Netherlands. The total funds were proceeds from our business foreign accounts in banks, landed properties and selling of our shares in major companies. These funds when retrieved was to be used to start off a new business, purchase of lands, new machines and chemicals for establishment of new farms in Botswana or anywhere of my choice. After the death of my father, I was continually threatened to abandon my inheritance and surrender everything to the government of Zimbabwe. I resisted for awhile, but when the danger became unbearable and I survived two murder attempts, I fled Zimbabwe to the Netherlands where I am seeking political asylum. In fact my decision to come here to seek asylum was based on the fact that the securities company is located here in the Netherlands. I need to transfer this money to a foreign account and invest part of it in any other good business besides farmlands since the law of the Netherlands prohibits a refugee (asylum seeker) to open any bank account or to be involved in any financial transaction. This is why I am seeking a genuine and reliable partner whose account this money can be transferred, hence this proposal to you. You have to understand that this is a genuine proposal which will mutually benefit us both. My future is based on the success of transaction between my party and the company and so, I urge you to take it very serious if you are interested. If you accept to assist me, the company will be legally informed of you representing me and all documentation procedure will commence with the assistance of my contact person in the Security Company. For your assistance, a princely percentage of 25% of the funds have been mapped out as your commission. 70% of it is going to be the share coming to me and the rest of my family while the remaining 5% shall be set aside to take care of all expenses that might be incurred along the line by our two parties. I am ready to give a little more percentage on the condition that this transaction will be concluded in no distance time. As a sign of my open mindedness, I am ready also to entrust you with the investment of our own share in your country. Please, kindly maintain absolute confidentiality in the course of the transaction for security reasons as I am still been haunted. I do not expect to hear from you if you are not interested, but if you are, kindly send your response with your phone number inclusive for further verbal communication with you. I hope the proposal is self explanatory and understandable. I look forward to your reply and co-operation, and I thank you in advance as I anticipate your cooperation. Yours sincerely, Austin Tekere From mathew at yeates.tv Sun Nov 30 14:32:16 2003 From: mathew at yeates.tv (Mathew Yeates) Date: Sun, 30 Nov 2003 11:32:16 -0800 Subject: [IPython-dev] Patch for IPython with color on Windows In-Reply-To: <3FBBDEB7.9070208@colorado.edu> References: <200311192109.hAJL9GFB003225@wren.cs.unc.edu> <3FBBDEB7.9070208@colorado.edu> Message-ID: <3FCA45C0.6090409@yeates.tv> Has this patch been added to CVS? Fernando Perez wrote: > Gary Bishop wrote: > >> I have attached a patch for IPython 0.5-cvs that, along with my >> readline package, will make IPython on Windows work like it does on >> more capable systems. > > > Great! After having ignored your work for so long, I'll try to do > better this time. I also have some other patches from Jeff Collins I > need to look at, so it will be a good thing to wrap all this into a > release. > > We had some problems with our systems and are still recovering slowly, > so my system access may be spotty for a few more days. But I'll fold > in Jeff's and your code, plus: > > - the dreload patch > - I'll try to fix the gettext() bug > - I'll try to fix compatibility with Gnuplot.py v. 1.7, which changed > a lot. > > If we get all this, it will make a very nice new release, I think. > Please let me know of anything else anyone may think is immediately > outstanding to put on this list. > >> >> I'll be happy to help in any way I can to get these or some better >> variant into IPython. > > > I'll have a look at the code as is, and let you know if any changes > are needed. > > Many thanks, > > f. > > _______________________________________________ > IPython-dev mailing list > IPython-dev at scipy.net > http://scipy.net/mailman/listinfo/ipython-dev > From fperez at colorado.edu Sun Nov 30 15:56:32 2003 From: fperez at colorado.edu (fperez at colorado.edu) Date: Sun, 30 Nov 2003 13:56:32 -0700 Subject: [IPython-dev] Patch for IPython with color on Windows In-Reply-To: <3FCA45C0.6090409@yeates.tv> References: <200311192109.hAJL9GFB003225@wren.cs.unc.edu> <3FBBDEB7.9070208@colorado.edu> <3FCA45C0.6090409@yeates.tv> Message-ID: <1070225792.3fca5980977cf@webmail.colorado.edu> Quoting Mathew Yeates : > Has this patch been added to CVS? Not yet. But after a long hiatus, today I'm actually working on ipython. So expect it soon. I'll post a report of what I put into CVS when I'm done tonight or tomorrow. Best, f