68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
Can anyone here help generate a serial number for the PT100 terminal emulator app?
Posted by: Huxley on 2022-06-24 19:36:36
I'm using the very slick Newton app called "PT100," which is apparently abandonware at this point. There are few references to the app that I can find online, but this archived thread indicates that someone had a working Python-based serial number generator working 6-7 years ago. Unfortunately, this is the only reference to the tool that I've been able to find, and the link itself is dead now.

If anyone has the ability to help me create a fresh serial number, I'd be very grateful! Just in case, here's the Newton serial number from PT100's info box, which I believe is required by the Python script to crank out a valid serial code:

000000000202134E

Thanks in advance!

Huxley
Posted by: Juror22 on 2022-06-24 20:25:56
This link may be able to help...
Posted by: splorp on 2022-06-24 21:22:59
Thanks for the link, @Juror22 … this has been a lost bit of information for quite a while.

Hey, @Huxley … let me know if this script works for you. I haven’t had a chance to load PT100 onto a Newton yet to try it myself.
Posted by: Huxley on 2022-06-24 23:39:56
This link may be able to help...
OMG your Google-fu is much stronger than mine! How did you find this??

I'm going to try it ASAP!

Huxley
Posted by: Huxley on 2022-06-24 23:49:45
Okay, a quick update:

Bearing in mind that I'm a total novice with Python stuff, I've just installed Python 3 on my Mac and I'm trying to run the "pt100reg.py" script I downloaded from the GitHub link above. However, when I run it, I get the following error in my Mac Terminal:

Screen Shot 2022-06-24 at 11.48.10 PM.png

Anyone here familiar enough with Python to understand what's going wrong and/or how to fix it? Just from eyeballing it (again, I'm a novice), it seems to me like there's some syntax issue with how the script is requesting the Newton serial number to be entered - as you can see in the screenshot, I never get prompted to type it in, and I'm not seeing any obvious place where I should paste it into the code of the script itself.

Thanks for any tips - I feel like I'm so close to getting this!

Huxley
Posted by: Huxley on 2022-06-24 23:58:03
Update to the above: IT WORKS!!

For anyone else who tries this: the issue with the script as it's written is that it's coded for Python2, which used the "raw_input" variable. However, the current version (Python3) has changed that to just "input"

To get it working, I just edited line script so that it reads (note that 'raw_input' has been changed to plain 'input'):
name = input("Please enter the Newton's serial number\n")

That's it! When I ran it, the script asked for my Newton device serial number, and after entering it, the script spat out a device-specific serial number. I entered it into pt100 on my Newton, and...

IMG_3646.jpeg


WOOO! Thank you @Juror22 - I'm still super curious how you found the script, and super grateful to have it!

Hooray!

Huxley

PS I should also tag @splorp here, so you see the above info 🙂
Posted by: pfuentes69 on 2022-06-25 00:03:21
(deleting... I responded about "input" before reading you made it)
Posted by: Juror22 on 2022-06-25 00:13:44
I'm still super curious how you found the script
I really can't take the credit, it goes to Google, but I did try a few different search criteria. So happy to help AND to see it running.
That is great! Enjoy!
Posted by: cheesestraws on 2022-06-25 02:50:39
Oh, this is really useful. I use PT100 on my 'emergency serial console' eMate and had been resigned to living the unregistered shareware life.
Posted by: JustG on 2022-06-25 06:19:16
Oh man! I'm going to have fun figuring this out today. Thank you Huxley for asking the question and Juror22 for the googlefu!
Posted by: splorp on 2022-06-26 13:23:39
Woo! This is great. Making a note to add this to the Newton FAQ.
1