Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a workaround for issue #1173 #1185

Merged
merged 1 commit into from
Nov 21, 2022
Merged

Conversation

dl8dtl
Copy link
Contributor

@dl8dtl dl8dtl commented Nov 20, 2022

The readline compat layer for libedit which otherwise provides native readline functionality in NetBSD and MacOS appears to have a bug that causes subsequent prompts to be delayed until another line is being processed.

Re-installing the callback over and over again works around that, and does not seem to harm with GNU libreadline.

The readline compat layer for libedit which otherwise provides native
readline functionality in NetBSD and MacOS appears to have a bug that
causes subsequent prompts to be delayed until another line is being
processed.

Re-installing the callback over and over again works around that, and
does not seem to harm with GNU libreadline.
@mcuee mcuee added the bug Something isn't working label Nov 20, 2022
@mcuee
Copy link
Collaborator

mcuee commented Nov 21, 2022

Tested to be good under macOS (Mac Mini M1) with libedit.

@MCUdude
Copy link
Collaborator

MCUdude commented Nov 21, 2022

Thanks for the PR! Works perfectly with (legacy) macOS 10.14 libedit

@dl8dtl dl8dtl merged commit 13e0bd0 into avrdudes:main Nov 21, 2022
@MCUdude
Copy link
Collaborator

MCUdude commented Nov 21, 2022

@mcuee do you think the build instructions for macOS should be updated? The user doesn't really need to install libreadline anymore

@mcuee
Copy link
Collaborator

mcuee commented Nov 21, 2022

@mcuee do you think the build instructions for macOS should be updated? The user doesn't really need to install libreadline anymore

Wiki updated.
https://github.com/avrdudes/avrdude/wiki/Building-AVRDUDE-for-macOS

mcuee added a commit to mcuee/avrdude that referenced this pull request Nov 21, 2022
 This commmit updates build.sh to remove the needs of GNU Readline under macOS, after the merge of PR avrdudes#1185.
mcuee added a commit to mcuee/avrdude that referenced this pull request Nov 21, 2022
This commmit updates github action to remove the needs of GNU Readline under macOS, after the merge of PR avrdudes#1185.
This was referenced Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants