Skip to content

Conversation

@massej
Copy link
Contributor

@massej massej commented Feb 1, 2024

I would also add to try the "Manual login" in Trumpet as for me I don't know why but the automatic mode never worked but in manual mode by typing ATDT1 and ESC it worked

http://www.steptail.com/guides:connecting_windows_3.1_to_the_internet

massej referenced this pull request Feb 1, 2024
@molivil
Copy link
Owner

molivil commented Feb 1, 2024 via email

@henk717
Copy link

henk717 commented Dec 27, 2025

Been basing my own version off of this PR and while testing I noticed Win3.11 doesn't always add the spaces which can then trip up your logic for removing the ringing.

This is the check I used instead : if [[ $cmd == ATX4D* ]]; then

@massej
Copy link
Contributor Author

massej commented Dec 27, 2025

@henk717

I’m curious, which lines did you changes?

can you provide an example of your script?

@henk717
Copy link

henk717 commented Dec 27, 2025

This particular one is a small change on line 189.
You check if the number resulted in 0, my check instead checks if it begins with ATX4D which also covers numbers where the spaces are missing.

@massej
Copy link
Contributor Author

massej commented Dec 27, 2025

I think i found the issue

ATX4D*

You are dialing * ?

I think line 183 need to be replaced ( to add # and * )

like

number=$(echo "$hparm" | tr -dc '0-9*#')

@henk717
Copy link

henk717 commented Dec 27, 2025

No the * there should represent a wildcard so anythiny I dial with ATX4D then activates your Windows 3.11 workaround. For example ATX4D11 which is the number I dial does not put spaces in front. With my ATX4D* the check passes and the no ringing workaround gets applied.

Your version according to the comment looks for an invalid number which the spaces cause which works for "ATX4D 1" but fails on "ATX4D11" as it resolves to 11 correctly. That causes the fixes for w3.11 to fail and then we hang on dialup.

So instead of checking for an invalid number mine checks if ATX4D is present.

@massej
Copy link
Contributor Author

massej commented Dec 27, 2025

Thanks for the finding

The script should be better now.

Best,

@molivil molivil merged commit 73abc52 into molivil:master Dec 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants