Archives / Search ›

Got URL launching with ICeCoffEE working in Terminal.app, but it crashes at times. I think the problem is that no more characters are stored than there are characters in a line of text, so if I try to select from character 70, but the line only goes up to character 30, it starts merrily romping through memory. Unfortunately the structure that stores the Terminal buffer (_LineChunk) is not exposed at all, and I'm not very good at using gdb to figure out how it's structured. I've been poking at this for several hours, and I've reached the point of diminishing returns, so it's time to stop.

What I may end up having to do is grabbing more text than I want, to the ends of the lines, and then postprocessing the result.

This is only going to work in the Mac OS X 10.1 Terminal, it was significantly rewritten from the Mac OS X 10.0.x Terminal: for example, the class that shows the terminal view is called “TermView” in 10.1, versus “Terminal” (a subclass of “FieldView”) in 10.0.

OK. Maybe I shouldn't find this so funny, but… here's a thread from the Boston BBS today.

Anne Griffin writes:
There is an Ant crawling around the inside of my TiBook screen! I'm serious, I can see him underneath the transluscent Apple on my cover! I have no idea how he got inside.

The ant in your screen is a she. Males have a very limited role in ant societies.

Yes, I knew that, somewhere back in my brain, but that wasn't exactly my first response.

Wow, I show up on the site report ranking for today. #20.

I was sick today (something I ate, I think), but seem to be getting better. Time to robustify that Finder selection code from Monday.

There's now a Web page for Mozilla's XML-RPC support.

Doug
actually likes the new format of Dan Gillmor's weblog. I still don't,
although my 'not a weblog' comment is probably too harsh. Regardless
of the format (within reason…), I'll be coming back because I like
the content.

‹ Newer Posts  •  Older Posts ›