On 31. Jul 2007, at 00:02, Pete Siemsen wrote:
[...] I can place the caret in an IP address, autonomous system number or VLAN number, hit the "help" key, and TextMate looks up and displays a tooltip window that tells me what I'm looking at [...] I'd like to have the same functionality when I'm logged into a device interactively.
Not as convenient as customizing TextMate, but OS X has “services” which are actions you can run on the selection in basically every application. ThisService [1] is a way to write such services in a scripting language. So in practice you might be able to write a service for this IP address look-up which can be used in Terminal.