Debian Bug report logs - #805618
ncurses: notimeout() does not behave as documented

version graph

Package: src:ncurses; Maintainer for src:ncurses is Ncurses Maintainers <ncurses@packages.debian.org>;

Reported by: Martin Read <zen75502@zen.co.uk>

Date: Fri, 20 Nov 2015 10:27:01 UTC

Severity: normal

Tags: fixed-upstream

Fixed in version 6.0+20160213-1

Done: Sven Joachim <svenjoac@gmx.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Craig Small <csmall@debian.org>:
Bug#805618; Package src:ncurses. (Fri, 20 Nov 2015 10:27:05 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Read <zen75502@zen.co.uk>:
New Bug report received and forwarded. Copy sent to Craig Small <csmall@debian.org>. (Fri, 20 Nov 2015 10:27:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Martin Read <zen75502@zen.co.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ncurses: notimeout() does not behave as documented
Date: Fri, 20 Nov 2015 10:24:00 +0000
Source: ncurses
Severity: normal

Dear Maintainer,

According to the inopts(3ncurses) man page, calling:

    notimeout(win, TRUE)

for an ncurses window should disable the timer for interpreting input
escape sequences in wgetch(). The expected result, therefore, is that
this would remove the one-second delay in registering the user hitting
ESC when keypad(win, TRUE) has also been called.

This is not the case; the one-second delay remains in force, despite
seeming to be ludicrously long even for a physical terminal on a 9600
baud serial line (approx. 1ms per character), let alone a terminal
emulator.

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



Information forwarded to debian-bugs-dist@lists.debian.org, Craig Small <csmall@debian.org>:
Bug#805618; Package src:ncurses. (Mon, 30 Nov 2015 01:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to dickey@his.com:
Extra info received and forwarded to list. Copy sent to Craig Small <csmall@debian.org>. (Mon, 30 Nov 2015 01:51:04 GMT) (full text, mbox, link).


Message #10 received at 805618@bugs.debian.org (full text, mbox, reply):

From: Thomas Dickey <dickey@his.com>
To: 805618@bugs.debian.org
Cc: 805618-submitter@bugs.debian.org
Subject: Re: Bug#805618: ncurses: notimeout() does not behave as documented
Date: Sun, 29 Nov 2015 20:41:51 -0500
[Message part 1 (text/plain, inline)]
On Fri, Nov 20, 2015 at 10:24:00AM +0000, Martin Read wrote:
> Source: ncurses
> Severity: normal
> 
> Dear Maintainer,
> 
> According to the inopts(3ncurses) man page, calling:
> 
>     notimeout(win, TRUE)
...apparently not (many) users of this function.  fixed last night...

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
[signature.asc (application/pgp-signature, inline)]

Added tag(s) fixed-upstream. Request was from Thomas Dickey <dickey@his.com> to control@bugs.debian.org. (Mon, 30 Nov 2015 01:51:06 GMT) (full text, mbox, link).


Message sent on to Martin Read <zen75502@zen.co.uk>:
Bug#805618. (Mon, 30 Nov 2015 01:51:09 GMT) (full text, mbox, link).


Reply sent to Sven Joachim <svenjoac@gmx.de>:
You have taken responsibility. (Sun, 27 Mar 2016 20:03:09 GMT) (full text, mbox, link).


Notification sent to Martin Read <zen75502@zen.co.uk>:
Bug acknowledged by developer. (Sun, 27 Mar 2016 20:03:09 GMT) (full text, mbox, link).


Message #20 received at 805618-done@bugs.debian.org (full text, mbox, reply):

From: Sven Joachim <svenjoac@gmx.de>
To: Martin Read <zen75502@zen.co.uk>
Cc: 805618-done@bugs.debian.org
Subject: Re: Bug#805618: ncurses: notimeout() does not behave as documented
Date: Sun, 27 Mar 2016 22:00:21 +0200
Source: ncurses
Version: 6.0+20160213-1

On 2015-11-20 10:24 +0000, Martin Read wrote:

> Source: ncurses
> Severity: normal
>
> Dear Maintainer,
>
> According to the inopts(3ncurses) man page, calling:
>
>     notimeout(win, TRUE)
>
> for an ncurses window should disable the timer for interpreting input
> escape sequences in wgetch(). The expected result, therefore, is that
> this would remove the one-second delay in registering the user hitting
> ESC when keypad(win, TRUE) has also been called.
>
> This is not the case; the one-second delay remains in force, despite
> seeming to be ludicrously long even for a physical terminal on a 9600
> baud serial line (approx. 1ms per character), let alone a terminal
> emulator.

This has been fixed in the 20151128 upstream patchlevel, according to
the NEWS file:

,----
| 20151128
|     	+ add missing assignment in lib_getch.c to make notimeout() work
|     	  (Debian #805618).
`----

I had forgotten about this bug and so missed to close it
debian/changelog.

Cheers,
       Sven



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 28 Apr 2016 07:27:06 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 19 21:58:03 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.