Log in

No account? Create an account

IronPython on OS X with Mono

« previous entry | next entry »
Oct. 23rd, 2006 | 01:33 am

I had no idea how bleeding edge I was being with my efforts to run IronPython on OS X.

One of the problems I discovered was that the backspace key didn't work in the interpreter, it looks like OS X's Terminal.app sends the "DEL" code, where everyone else sends BS. I think things like CPython and bash just pretend both ascii codes mean the same thing.

So basically in order to get backspace to work I had to add a line of code.

Though just to make sure there's possibly a point to this exercise, I wrote a small java class, compiled it into a mono assembly and then subclassed it in IronPython with a function that overrode the base class, and called the base class function as well.

Link | Leave a comment |

Comments {2}

no, YOUR mom

(no subject)

from: theinfamousmom
date: Oct. 23rd, 2006 05:42 pm (UTC)

That's not bleeding edge. I had the same problem with Commodore term programs 20 years ago. :)

Reply | Thread

Diane Trout

(no subject)

from: alienghic
date: Oct. 23rd, 2006 05:48 pm (UTC)

Well that I'm still having this problem isn't really bleading edge, because you're right, there's been this confusion over BS and DEL since the dawn of computer time.

However the fact that no one's bothered to fix it in IronPython is one big hint that its pretty likely that no one's tried running IronPython on a Mac before.

Reply | Parent | Thread