Newton Serial Terminal Using a MacBook Pro as a Keyboard ¬

2007-08-11

I frequently find myself whipping out my Newton MessagePad 2100, it’s mini-DIN-8-to-Interconnect dongle, and DB-9-to-mini-DIN-8 cable for quick administration of various routers, firewalls, and switches via their console ports using the excellent PT100 terminal emulation software. Last night I was faced with an interesting new hurdle while using this toolset to configure a new-to-me Intel Express 530T switch: how does one use keys that don’t exist on the Newton’s software keyboard—such as ctrl, esc, and the up/down arrows—without plugging in a Newton keyboard? Most of the devices I have dealt with have been strictly command line interfaces so I had not yet run into this issue.

I don’t currently own a Newton keyboard, but even if I did I would have been stuck needing to buy an internal serial port module such as the now-discontinued SER-001. That wouldn’t have been a quick solution. There might be some software that hacks the Newton OS’s software keyboard to add the additional keys, but how much time would I have spent trying to find it and probably failing?

However, the Newton’s built-in Dock1 application offers a “Keyboard” mode wherein a desktop/laptop computer’s keyboard can be used to type on the Newton’s screen. I’ve got a Mac Color Classic that I could have set up to do this, but still would have required a that second serial port.

Fortunately, my Newton is fully equipped with a TCP/IP stack, WiFi drivers, a Melco/Buffalo WLI-PCM-L11GP 802.11b WiFi card, and the Dock TCP/IP extension for use with Simon Bell’s excellent NCX. By connecting my Newton to NCX on my MacBook Pro via WiFi I was able to simply click “Use keyboard2“ and start typing into PT100 which was running the terminal session to my new Express 530T switch.

Here you can see it all up and running on my livingroom floor during said configuration process:

Newton MessagePad 2100 & MacBook Pro configuring an Intel Express 530T Switch

While this was a quick and easy solution for me it’s really because I had already put all the work into getting it wireless. The Mac OS X side is easy (just download and run NCX), but it takes quite a bit more configuration to get the Newton side of things up and running. At this point, I’ll step aside and point those who might want to do this sort of thing in the direction of WikiWikiNewt’s Ethernet & WiFi pages as well as Mark Hoekstra’s excellent article on getting your eMate wireless (after all, he knows that the is an excellent terminal).

1 Not to be mistaken with the button bar which looks like Mac OS X’s Dock.

2 Currently it’s advised to click “Use Keyboard” from within NCX on Mac OS X as opposed to “Keyboard” in the Dock application on the Newton as you’ll get a connection error if you do the latter.

  1. Hey Morgan, this is great image of a cool setup. Thanks for taking the time to document these adventures of yours. If you can, add this image to the Newton group on Flickr.

  2. Thanks Grant! I’ve added it to the flickr group for all to see.

  3. Ok, my first computer I ever purchased was a Newton MP130. And I’ve been an Apple product user ever since. I currently use Mac OS X 10.4.11 on an iMac G3 even.. and I’ve used every kind of handheld since the Newton only to find the Newton still is the best.. Now here’s my real reason for bothering to comment..

    Wouldn’t this have been easier to do using a vt100 applet or something in Mac OS X and a Ethernet cable.. directly from the MacBook Pro? We’re talking configuring an Ethernet switch/router right? I dunno maybe I just don’t see the bother with using the Newton other than the fact that it’s a Fab Newt you have setup.

  4. You are entirely correct, it would have been much easier to just connect via ethernet from Mac OS X, but the switch was new to me and had not been reset to factory defaults by the previous owner. In order to reset the administration passwords on the Intel Express 530T, one must download a Backdoor Password Generator from Intel and then use the generated password (based on the serial number & MAC address) via the serial console port to log in and modify administration settings.

    So, once I had done that using the tricks noted in this article, I was able to simply telnet in over ethernet. But, having to use the backdoor password via the serial console port was the gotcha.

  5. Just a quick note regarding the “Backdoor Password Generator” for the Intel Express 530T switch: Intel took all references to and documentation, utilities, etc., for this switch off their support site. Fortunately, I had archived a copy of most, if not all, of it and have now made it available here. See Intel Express 530T Switch Documentation, Firmware, and Utilities for the full details and download link.

  Textile help