back to article Dialup-era developer writes ChatGPT client for Windows 3.1

An anonymous developer has created a ChatGPT client for Windows 3.1, because some people like to keep one foot firmly in the past even as they explore the future. WinGPT was written in C, using the standard Windows API and compiled with Open Watcom v2. It runs on any 16-bit or 32-bit version of Windows from Windows 3.1 onward …

  1. Anonymous Coward
    Anonymous Coward

    So this was part written by ChatGPT ?

    Nice.

    With reference to another Reg story today, I wonder if ChatGPT could help write a browser that doesn't track you ?

    1. Someone Else Silver badge

      Re: So this was part written by ChatGPT ?

      Doubt it. Where would it find the training for that?

    2. Blackjack Silver badge

      Re: So this was part written by ChatGPT ?

      Nope!

      https://arstechnica.com/gadgets/2023/06/wingpt-is-a-windows-3-1-ai-chatbot-for-your-old-ibm-compatible-desktop/

      "True to form, ChatGPT gave two confident-but-incorrect answers, first telling the developer to use a kind of status bar control from a later version of Windows and then inventing the name of a "very enticing" but "very non-existent" Windows 3.1 UI library that could accomplish the same task."

  2. bertkaye

    Clipinator 1000 and the Mouseball of Death

    Oh great. Next we'll have Skynet running on Win 3.1 and the entire world will be destroyed by the Blue Screen of Death. I am waving my clenched fist at Bill Gates in senile fury. Damn you sir, damn you for the Clipinator 1000.

    1. MyffyW Silver badge

      Re: Clipinator 1000 and the Mouseball of Death

      I, for one, welcome the opportunity to bring Skynet crashing down with one slightly awkward three-key combination.

  3. wolfetone Silver badge
    Mushroom

    Next on the agenda: ClippyGPT, because why not?

    You know f**king well why not!!!!!!!

    1. herman Silver badge

      Re: Next on the agenda: ClippyGPT, because why not?

      It looks like you have an anger management problem. Would you like help with that?

      1. Ace2 Silver badge

        Re: Next on the agenda: ClippyGPT, because why not?

        We all laugh at Clippy, right, but has anyone noticed how many goddamn websites have gone and reimplemented it?

        “I see you’re on the prescription refill page. Can I help you with that?”

        “I see you’re tracking your package status. Can I help you with that?”

        I’ve tried asking a few of them to turn themselves off, but they pretend to not know what I’m talking about.

        1. Michael Wojcik Silver badge

          Re: Next on the agenda: ClippyGPT, because why not?

          I think most of us curse the memory of Clippy, and curse again at all those fucking websites and their chatbots. (Most particularly, for me, how they obscure part of the viewport. Get your goddamned useless crap off my screen, web developers.)

    2. david 12 Silver badge

      Re: Next on the agenda: ClippyGPT, because why not?

      Clippy was the most annoying avatar for a published API.

      Both sides of the API were published: you could design your own avatar, and publish your own content. (That annoying wiggle was apparently quite eye-catching when paired with an attractive photo-realistic character.) ChatGPT does seem like a natural/native match.

      It's actually an interesting question if an anthropomorphic UI would be more or less irritating when paired with deeper, more helpful content. Cortana is being retired: perhaps people really don't want their computers to be "helpful" at all: does anybody really like "helpful" people? Or do we all just find helpful people as annoying as Clippy?

      I have an opinion: really top-level professional waiters and servants are noted for their invisibility. I think perhaps what we are waiting for is not ChatGPT, but ReticentGPT,

  4. katrinab Silver badge
    Windows

    One question

    It is suggesting you share photos by mailing them on a CD.

    Was that actually possible back in the Windows 3.11 era? A computer that could read CDs was certainly possible then, but writable drives cost silly money and were only really viable for things like recording studios, and most of them were still using tape. Also you needed 650MB of free disk space on your hard drive, and that was very much a challenge well into the Windows 95-98 era.

    1. terry 1

      Re: One question

      I'm sure I had a SCSI based CD burner on W 3.11. Mostly it was session based so very wasteful on CD space (to keep writing a new TOC) or I could do a cd - cd copy. I think I used Adaptec at the time

      1. jdiebdhidbsusbvwbsidnsoskebid

        Re: One question

        I was definitely burning CDROMs at work back on Win3.11. rarely worked first time as I recall as most CD writers had little or no buffer, so data had to come off the hard disk at just the right rate, for about an hour or so. You certainly didn't use the PC for anything else in that time in case it interrupted the data. Even the screensaver coming on would sometime knacker the process.

        Ah, those were the days.

        1. Ace2 Silver badge

          Re: One question

          We used to disconnect the network cable when burning. I believe that was under W95.

    2. that one in the corner Silver badge

      Re: One question

      Kodak PhotoCD, launched just before Win 3.1 IIRC

      Take your photos/prints down to the local copyshop/film developer - or be really sure that you wanted to share all the shots on a new roll of film and tick the box on the yellow envelope that came with the film. Postal orders or cheques enclosed for payment or write your account number in the space provided.

    3. Roj Blake Silver badge

      Re: One question

      According to ChatGPT, "The first CD writer for PCs was introduced by several companies around 1994-1995."

      So they just about fitted into the 3.11 era. Internal ones cost $200 to $500, so they weren't cheap.

      1. FIA Silver badge

        Re: One question

        There was a 6x CDR by Philips, the CDD2600, which I seem to remember was the first of the 'cheaper' CD-R drives. I had one of those around 96-97.

        It may have been one of the first to not require a caddy. All I know is you didn't use the 6x mode if you wanted the discs to be readable.

      2. katrinab Silver badge

        Re: One question

        According to Wikipedia, which isn't the most reliable source, but way better than ChatGPT, the first CD-R drive to cost less than $1000 was the HP 4020i at a cost of $995, released in September 1995. Windows 95 launched in November of that year.

    4. Bill Gray

      Re: One question

      I can date this with some exactness.

      In July 1992, I quit my day job and started work on astronomical software (a star charting and desktop planetarium program). In spring 1993, I took the ~200 MByte hard drive out of my computer and visited a friend at his workplace; we burned the software and data onto CDs. I think the burner was well in the thousands of dollars range (readers were much cheaper). I sent the recorded CD off to be stamped onto CD-ROMs. I repeated the process a few months later for version 2.0.

      In summer 1994, I had my own CD burner (a pizza-box sized peripheral) and used it to burn the master copy for version 3.0. It was a slow device and not something most people had, but they were out there, with Win95 a year away.

    5. Anonymous Coward
      Anonymous Coward

      Re: One question

      Kodak Photo cd was 1992, so it would have been in the latter days of 3.1

      You could have the negatives scanned straight to CD, wouldn't have had to do it yourself.

      I found a receipt for my first cd rewriter recently. £210.00 - Plextor 8x4x32

  5. milliemoo83

    Office 97

    Well... Office 97 runs quite happily on NT 3.51 SP5.

  6. Kane
    Boffin

    Your scientists were so preoccupied with whether they could...

    ...they didn’t stop to think if they should.

    1. that one in the corner Silver badge

      Re: Your scientists were so preoccupied with whether they could...

      In just seven lines, I can make you a chat.

      Turn up the optimiser. Two. More. Notches.

      Oh Clippy! Janet? Clippy? Brad! Clippy!

      1. herman Silver badge

        Re: Your scientists were so preoccupied with whether they could...

        Science fiction indeed.

      2. JimboSmith Silver badge

        Re: Your scientists were so preoccupied with whether they could...

        A chat bot... it was a chat bot they were going to remember for a very long time.

  7. Anonymous Anti-ANC South African Coward

    It looks like you are planning global thermonuclear warfare.

    Would you like some help with that?

    ***BLUESCREEN***

    cue nukes launching with no way to reset, and a Whopper knuckling silently past, letting out the occasional tsk.

  8. mhoulden
    Terminator

    There's an "evil" version of Eliza called Azile: https://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/areas/classics/eliza/azile/0.html. You ask it questions and it finds creative ways to insult you. Needs a classic Mac (or an emulator) to run.

    1. Neil 44

      Remembering a long time ago - pre-PC era - to the TRS-80, there was DrossDos which tended to be insulting: https://willus.com/trs80/?-a+1+-p+2330+-f+4

  9. FIA Silver badge

    The medium is the message with this one: the dev wrote that he or she "was surprised that the set of standard controls available to use by any program with Windows 3.1 is incredibly limited" and didn't allow the inclusion of a status bar.

    I think this is the most interesting comment in the whole article.

    As someone who wrote UI software around that time, it's a sunken icon at the bottom of the screen that you write some text into. Not sure it needs a UI library really.

    But then back then that's how it was done, we didn't have access to the internet and it's vast easily downloadable library of components so the default tended to be 'write something that looks correct'.

  10. Anonymous Coward
    Anonymous Coward

    The return of ClippyGPT

    Clippy: It looks like you’re writing a letter.

    Ef-Off Clippy!

    Clippy: It looks like you’re writing a letter.

    Ef-Off Clippy!

    Clippy: It looks like you’re writing a letter.

    I want to die Clippy!

    Clippy: It looks like you’re writing a suicide note.

  11. Someone Else Silver badge

    Gak!

    Next on the agenda: ClippyGPT, because why not?

    You'd think we would have learned by now that just because you can do a thing, it doesn't mean you should do a thing.

  12. Jou (Mxyzptlk) Silver badge

    It is NOT running on Windows 3.1! Stop telling such nonsense!

    Anything that requires an internet connection or a network connection to a standalone ChatGPT machine is not "running on", it is just an input-output terminal to ChatGPT. In that way a 50+ years old serial terminal can be "is running ChatGPT".

    Please stop saying "runs on", when it is simply not true!

    1. David 132 Silver badge

      Re: It is NOT running on Windows 3.1! Stop telling such nonsense!

      You’re being unnecessarily pedantic, which I’ll grant you is usually a strength around these parts.

      The article doesn’t say “developer writes ChatGPT for Windows 3.1”. It says “writes ChatGPT client”. Which is exactly what he’s done. If he’d written a browser for Windows 3.1, would you be objecting to the achievement on the grounds that all the websites it visits are clearly not running on the local OS?

      Pedantry is a fine thing, but please, where appropriate.

      I’m not the one who downvoted you, btw.

      1. Michael Strorm Silver badge

        Article wasn't misleading, but is this really just a Big Deal By Association?

        The article *was* clear that it was discussing a client rather than ChatGPT itself.

        But even so, focusing on OP's misguided pedantry distracts from the more relevant point.

        Namely how big a deal the client software itself is if- as I got the impression while reading the article- it's little more than a dedicated telnet/ssh-style terminal?

        I mean, maybe I'm missing something, and certainly the article doesn't suggest that ChatGPT itself is running under Windows 3.1. But if not, I don't see that a text-based terminal application should be that big a deal in itself, whether or not the server itself it's connecting to is running the Important Software du jour.

  13. jeffdyer

    How does it know to provide answers to 1995 era questions?

    1. Sandtitz Silver badge
      Happy

      "How does it know to provide answers to 1995 era questions?"

      That's the easy part:

      Me: "Let's pretend it is 1993."

      ChatGPT: "Sure! Let's pretend it's the year 1993. How can I assist you in this imaginary scenario?"

    2. David 132 Silver badge
      Happy

      The backend is a copy of Microsoft Encarta on CD.

      1. FIA Silver badge

        My school had a copy of that, it once glitched and showed us a photograph of a very majestic moose, whilst playing Martin Luther Kings 'I have a dream' speech.

        1. David 132 Silver badge
          Coat

          Moose are allowed dreams and ambitions too - have you never read the Good Gnus Bible?

    3. Dan 55 Silver badge
      Headmaster

      The source code is available from the website, line 272 in connection.c prefixes each string with "You are a friendly but concise chat bot. Answer all questions in the present tense as if it is 1992, and make no reference to the current year".

  14. MachDiamond Silver badge

    going way back

    I like to see publishers writing their software to work with an OS no later than really necessary. I've been looking at some updates for software I have and it will require me to buy a brand new machine, peripherals, learn the new OS and hopefully all of my mail/bookmarks/settings will transfer over even though I haven't been faithfully updating every time something new is on offer. Buying a new computer every year isn't something I'd like since many of my computers are several years old and work just fine so there's no point.

  15. Sceptic Tank Silver badge
    Coat

    Definitely not the work of a Dialup-era developer

    <quotr>didn't allow the inclusion of a status bar. A little time using ChatGPT* yielded pointers to a UI library that included a workaround.</quote>

    This must have been written by some young middle-aged punk who only knows WinForms or WPF. You don't need a UI LIBRARY to have status bar!!! You register a window class with hbrBackground = COLOR_BTNFACE + 1, then a few CreatePen() and SelectObject() when WM_PAINT is received by WndProc(), select fonts, use DrawText(). Why do you need a library???? Go fix your shit and resubmit when you know what you are doing.

    ==========> Looking for Charles Petzold, Programming Windows 3.1 in the pocket.

    *Why am I not surprised that ChatGPT yielded shit for brains?

    1. TheMaskedMan Silver badge

      Re: Definitely not the work of a Dialup-era developer

      "This must have been written by..."

      This! That was how it was done, alright. As I recall, child windows in the main window's client area for toolbars and status bar etc., handling wm_paint to draw the content. Hmm, or were they outside the client area? I vaguely recall you could adjust the size of the main window's client area, but I can't remember if that was only for MDI windows. That's going to bug me now, might have to find my copy of petzold.

      Mind you, I mostly used Object Windows Library rather than calling the API directly. I recently looked around to see if there was a modern variant of OWL for free Pascal - there isn't :( I have this slightly masochistic urge to go back to coding the old fashioned way.

    2. FIA Silver badge

      Re: Definitely not the work of a Dialup-era developer

      Go fix your shit and resubmit when you know what you are doing.

      Youth of today..... DO NOT LISTEN TO THIS PERSON.

      The Windows API can change you in many ways.

      Unpleasant ways.

      Even if you can forget it, they say you can never truly erase the madness from your soul.

      Take the comment above: "You register a window class with hbrBackground = COLOR_BTNFACE + 1, then a few CreatePen() "

      See the +1? To a Win16 coder that probably makes some kind of sense, it's probably even been typed instinctively, from muscle memory. You can't undo that kind of damage.

      That 'look' in Ballmer's eyes, his odd stage persona, or the way Bill Gates is slowly deflating. These men have stared directly at the Windows API for too long, they've seen one too many HWNDs. There's no going back from that shit....

      You have been warned.

    3. doublelayer Silver badge

      Re: Definitely not the work of a Dialup-era developer

      Why use those windowing functions. Simply draw your own lines and write your own font renderer to put text in there. Hard-code the pixel counts, but make it easy to recompile it for higher resolutions by having flags to the makefile. After all, it's not like anyone might benefit from standardization, including you or other developers of the code. Ignore libraries, standards, and practices; they will only make things more organized and maintainable and you wouldn't want that.

      1. FIA Silver badge

        Re: Definitely not the work of a Dialup-era developer

        In an ideal world the windows API would've been so shite.

        It's kind of the OS or UIs job to provide a good set of standard controls, along with a decent style guide that defines the conventions for common things.

        Otherwise you end up with lots of third party ones and a mish-mash of competing UI styles... see X for a good example of this.

        Also, the balance between what to write and what to import is a delicate one. Every 3rd party library you import brings in more third party code that has to be kept up to date. But then again, re-inventing the wheel is a waste of your time. Standards and 'best practices' aside, that meme about modern developers importing the internet didn't come from nowhere.

        I had experience of this at work, some working code was replaced, as someone didn't like the code and there was a 'standard library' that 'everyone uses' that did the same thing. The problem was, the replacement code that used this library worked in almost, but not exactly the same way. 3 months later we had a really obscure bug in live that turned out to be related to this change.

        So we expended not only a developer or 2s effort to change and implement the library, we also added an extra dependency which we now have to track and keep up to date and then another developer lost half a day having to rapidly fix the live issue it caused. All to replace some working code that didn't have this issue because we 'weren't using the standard library'.

    4. Throatwarbler Mangrove Silver badge
      Stop

      Re: Definitely not the work of a Dialup-era developer

      Something something dried frog pills ...

  16. Tron Silver badge

    Will someone be doing a Brexit compatible version of ChatGPT?

    One that is fixed in 1893. The sun never setting on the Empire, Britain top nation, watch out for those fiendish Europeans etc.

    1. Ken Hagan Gold badge

      Re: Will someone be doing a Brexit compatible version of ChatGPT?

      Sounds like an easy hack. In connection.c (see earlier comment) prefix everything with "Pretend you are Jacob Rees Mogg.". No need for the other stuff like mentioning a year or avoiding references to the present day.

  17. Anonymous Coward
    Anonymous Coward

    Obviously someone who has too much time …

    And as we know, the devil finds work for idle hands …..

    And did in this case

  18. jonfr

    PCem VM

    If people are interested, this can be tested by using PCem VM. Current version is 17. You'll have to find the roms for the BIOS for the computers your self, but they are out there on a development website free to download. This allows you to run Windows 3.11. I don't know about network access though. Because dial-up is quite dead today.

  19. david 12 Silver badge

    ""WinGPT connects to the OpenAI API server natively with TLS 1.3, "

    "WinGPT connects to the OpenAI API server natively with TLS 1.3,

    How does it do that? Is there a version of cygwin for Win3.11, or something similar?

  20. fromxyzzy

    There's a ChatGPT client for classic MacOS as well: https://manticore.nz/legacyai

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like