Jörgen, I installed your patch on a cygwin version of IPython and it works fine. As Fernando says before it is a lot more useful than I'd initially thought. Thanks again for your patch. Vivian.