Date: Fri, 13 Sep 2024 13:26:35 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280697] editors/fileobj fails to start due to a curses error Message-ID: <bug-280697-7788-eilJjNlwfi@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-280697-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-280697-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280697 Sean Farley <scf@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |scf@FreeBSD.org Severity|Affects Only Me |Affects Some People --- Comment #2 from Sean Farley <scf@FreeBSD.org> --- This looks like an issue related to the latest ncurses (v6.5) import since = this used to work with 14-STABLE and still does on 13.3-RELEASE-p6. I think this issue belongs to base, but I am hesitant to move it over as I am only an alumni. :) When Python is built, is relies upon keyname() to determine which KEY_* variables to incorporate. Previously, keyname() would return KEY_RESIZE when the terminal was resized, but now, it returns NULL. This is point where Python makes the determination. If keyname() returns a NULL, then the KEY will not be included.=20 https://github.com/python/cpython/blob/v3.11.10/Modules/_cursesmodule.c#L49= 08 I did not dive into ncurses code much, but this has mention of KEY_RESIZE:= =20 https://invisible-island.net/ncurses/NEWS.html#t20240120 Here is a simple program to show what keyname() can return: #include <ncurses.h> int main(void) { int ch; initscr(); cbreak(); noecho(); printw("KEY_RESIZE: %s\n", keyname(KEY_RESIZE)); while ((ch =3D getch()) !=3D ERR) { printw("Got: %s\n", keyname(ch)); refresh(); } return (endwin()); } --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280697-7788-eilJjNlwfi>