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

Fix compatibility with netbsd curses #108

Closed
wants to merge 1 commit into from
Closed

Fix compatibility with netbsd curses #108

wants to merge 1 commit into from

Conversation

rofl0r
Copy link
Contributor

@rofl0r rofl0r commented Jul 18, 2016

The code that manipulates the ncurses backend into changing
the key combination to generate SIGINT from CTRL-c to CTRL-g does
so by accessing undocumented internal ncurses data structures.
This breaks compilation with netbsd-curses[0], and could also break
when the ncurses author decides to change internal structures in a
future release.

Fix it by using a portable approach that works everywhere using libc
primitives instead.

[0] https://github.com/sabotage-linux/netbsd-curses

The code that manipulates the ncurses backend into changing
the key combination to generate SIGINT from CTRL-c to CTRL-g does
so by accessing undocumented internal ncurses data structures.
This breaks compilation with netbsd-curses[0], and could also break
when the ncurses author decides to change internal structures in a
future release.

Fix it by using a portable approach that works everywhere using libc
primitives instead.

[0] https://github.com/sabotage-linux/netbsd-curses
@aborodin
Copy link
Member

Please create ticket: https://www.midnight-commander.org/wiki/NewTicket

@rofl0r
Copy link
Contributor Author

rofl0r commented Jul 19, 2016

@aborodin
Copy link
Member

3265531

@aborodin aborodin closed this Jul 29, 2016
@rofl0r
Copy link
Contributor Author

rofl0r commented Jul 29, 2016

sweet, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants