Bug#1058560: libncursesw6: getch(3ncurses) returns -1 with errno unchanged, only documented to return -1 with errno=EINTR

2023-12-15 Thread наб
I didn't seem to get your mail On Wed, Dec 13, 2023 at 07:36:32PM -0500, Thomas Dickey wrote: > On Wed, Dec 13, 2023 at 11:09:41PM +0100, наб wrote: > > On Wed, Dec 13, 2023 at 03:49:48PM +0100, наб wrote: > > > On Wed, Dec 13, 2023 at 02:09:35PM +0100, наб wrote: > > > > On Tue, Dec 12, 2023 at

Bug#1058560: libncursesw6: getch(3ncurses) returns -1 with errno unchanged, only documented to return -1 with errno=EINTR

2023-12-14 Thread Thomas Dickey
On Wed, Dec 13, 2023 at 11:09:41PM +0100, наб wrote: > On Wed, Dec 13, 2023 at 03:49:48PM +0100, наб wrote: > > On Wed, Dec 13, 2023 at 02:09:35PM +0100, наб wrote: > > > On Tue, Dec 12, 2023 at 08:30:02PM -0500, Thomas Dickey wrote: > > > > mouseinterval(0) tells it to not wait for mouse events,

Bug#1058560: libncursesw6: getch(3ncurses) returns -1 with errno unchanged, only documented to return -1 with errno=EINTR

2023-12-13 Thread наб
On Wed, Dec 13, 2023 at 03:49:48PM +0100, наб wrote: > On Wed, Dec 13, 2023 at 02:09:35PM +0100, наб wrote: > > On Tue, Dec 12, 2023 at 08:30:02PM -0500, Thomas Dickey wrote: > > > mouseinterval(0) tells it to not wait for mouse events, > > Well, mouseinterval(3curses) says > > Use

Bug#1058560: libncursesw6: getch(3ncurses) returns -1 with errno unchanged, only documented to return -1 with errno=EINTR

2023-12-13 Thread наб
On Wed, Dec 13, 2023 at 02:09:35PM +0100, наб wrote: > On Tue, Dec 12, 2023 at 08:30:02PM -0500, Thomas Dickey wrote: > > On Wed, Dec 13, 2023 at 01:33:59AM +0100, наб wrote: > > > On Tue, Dec 12, 2023 at 05:55:38PM -0500, Thomas Dickey wrote: > > > > On Tue, Dec 12, 2023 at 11:09:13PM +0100, наб

Bug#1058560: libncursesw6: getch(3ncurses) returns -1 with errno unchanged, only documented to return -1 with errno=EINTR

2023-12-13 Thread наб
On Tue, Dec 12, 2023 at 08:30:02PM -0500, Thomas Dickey wrote: > On Wed, Dec 13, 2023 at 01:33:59AM +0100, наб wrote: > > On Tue, Dec 12, 2023 at 05:55:38PM -0500, Thomas Dickey wrote: > > > On Tue, Dec 12, 2023 at 11:09:13PM +0100, наб wrote: > > > > urlview 1c-1 whose xterm was killed but which

Bug#1058560: libncursesw6: getch(3ncurses) returns -1 with errno unchanged, only documented to return -1 with errno=EINTR

2023-12-12 Thread Thomas Dickey
On Wed, Dec 13, 2023 at 01:33:59AM +0100, наб wrote: > On Tue, Dec 12, 2023 at 05:55:38PM -0500, Thomas Dickey wrote: > > On Tue, Dec 12, 2023 at 11:09:13PM +0100, наб wrote: > > > urlview 1c-1 whose xterm was killed but which didn't die consumes 100% > > > CPU. > > > The event loop is for(;;)

Bug#1058560: libncursesw6: getch(3ncurses) returns -1 with errno unchanged, only documented to return -1 with errno=EINTR

2023-12-12 Thread Thomas Dickey
On Tue, Dec 12, 2023 at 11:09:13PM +0100, наб wrote: > Package: libncursesw6 > Version: 6.4+20231121-1 > Severity: normal > > Dear Maintainer, > > urlview 1c-1 whose xterm was killed but which didn't die consumes 100% CPU. > The event loop is for(;;) switch(getch()) ... and ignores -1 If it's

Bug#1058560: libncursesw6: getch(3ncurses) returns -1 with errno unchanged, only documented to return -1 with errno=EINTR

2023-12-12 Thread наб
Package: libncursesw6 Version: 6.4+20231121-1 Severity: normal Dear Maintainer, urlview 1c-1 whose xterm was killed but which didn't die consumes 100% CPU. The event loop is for(;;) switch(getch()) ... and ignores -1 (https://git.sr.ht/~nabijaczleweli/urlview-ng/tree/1c/item/urlview.c#L576).