Getting MTR or Matt's traceroute running on OS X.

ColonelPanic

Registered
Has anyone had any success in getting MTR or Matt's traceroute running in OS X?
 

Attachments

  • la.gif
    la.gif
    3.6 KB · Views: 18
Yes, but only by resorting to some awful hackery. I wasn't able to get it to play nice with any of the several curses variants which I installed (which it uses to set everything up in a manner appropriate to your window size).

So I finally just gave up and yanked out the window-size-finding calls to ncurses, and just put in a hard-coded size of 80x24.

Hopelessly ugly, but it works just fine.

So you don't have to defile yourself with something so nasty, I'll put up a copy of my binary at http://web.42.net/mtr.gz

If you ever manage to get a clean version working, please let me know.
 
Hm. I just built 0.44, and it seems to be doing the same thing as the 0.42 I built a year ago: it builds, and runs, but it fails so thoroughly to detect the window size that none of the columns line up.


This is usable, but rather ugly and hard to read. The hard-coded windowsize variant is much nastier in theory, of course, but I find it much more usable.
 
Back
Top