Bug#730718: Regression: Ctrl-D must be hit twice to work

2013-12-02 Thread Mike Miller
On Thu, 28 Nov 2013 16:25:26 +0100, Marc-Jano Knopp wrote:
 In newer versions of rlwrap, Ctrl-D must be pressed twice to end the
 command. More precisely: The effects of a Ctrl-D on an empty line are
 delayed until any other character is entered.
 
 
 Example
 ---
 
 $ rlwrap cat
 Ctrl-D  # nothing happens
 Ctrl-D  # (or any other input!) -- now I get back to the prompt
 $
 
 In older versions, Ctrl-D worked as expected, i.e. it had to be hit
 only once to get instantly accepted.

Thanks for finding and reporting this bug. I can confirm the same
behavior present with the latest package build and not present in the
version in wheezy.

 Interestingly enough, which versions are affected by this bug depends
 on the method I use for installing the software, namely whether I take
 the prebuilt package from snapshot.debian.org or build it myself. I
 take it that my system and the Debian build system have/had different
 package versions that fulfilled rlwrap's build-dependencies.

Hmm, any more insight into why this is? I haven't started looking at the
different combinations of installed package vs. built source package vs.
build-dependencies yet.

-- 
mike


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#730718: Regression: Ctrl-D must be hit twice to work

2013-11-28 Thread Marc-Jano Knopp
Package: rlwrap
Version: 0.35-1
Severity: normal

In newer versions of rlwrap, Ctrl-D must be pressed twice to end the
command. More precisely: The effects of a Ctrl-D on an empty line are
delayed until any other character is entered.


Example
---

$ rlwrap cat
Ctrl-D  # nothing happens
Ctrl-D  # (or any other input!) -- now I get back to the prompt
$

In older versions, Ctrl-D worked as expected, i.e. it had to be hit
only once to get instantly accepted.


Affected versions
-

Interestingly enough, which versions are affected by this bug depends
on the method I use for installing the software, namely whether I take
the prebuilt package from snapshot.debian.org or build it myself. I
take it that my system and the Debian build system have/had different
package versions that fulfilled rlwrap's build-dependencies.


* Method A: (prebuilt)

  - Download binary package from snapshot.debian.org, then
  - dpkg -i package
 
  *** OR ***

  - Add deb lines pointing to snapshot.debian.org to
/etc/apt/sources.list (see method B)
  - aptitude install rlwrap=version

* Method B: (building myself)

  - Add deb lines pointing to snapshot.debian.org to
/etc/apt/sources.list:

--- snip -
# rlwrap

# 0.35-1
deb   http://snapshot.debian.org/archive/debian/20100109T033421Z/ 
unstable main
deb-src   http://snapshot.debian.org/archive/debian/20100109T033421Z/ 
unstable main
deb   http://snapshot.debian.org/archive/debian/20100109T033421Z/ 
testing main
deb-src   http://snapshot.debian.org/archive/debian/20100109T033421Z/ 
testing main

# 0.36-1
deb   http://snapshot.debian.org/archive/debian/20100118T162401Z/ 
unstable main
deb-src   http://snapshot.debian.org/archive/debian/20100118T162401Z/ 
unstable main
deb   http://snapshot.debian.org/archive/debian/20100118T162401Z/ 
testing main
deb-src   http://snapshot.debian.org/archive/debian/20100118T162401Z/ 
testing main

# 0.37-1
deb   http://snapshot.debian.org/archive/debian/20100506T040015Z/ 
unstable main
deb-src   http://snapshot.debian.org/archive/debian/20100506T040015Z/ 
unstable main
deb   http://snapshot.debian.org/archive/debian/20100506T040015Z/ 
testing main
deb-src   http://snapshot.debian.org/archive/debian/20100506T040015Z/ 
testing main

# 0.37-2
deb   http://snapshot.debian.org/archive/debian/20101222T084303Z/ 
unstable main
deb-src   http://snapshot.debian.org/archive/debian/20101222T084303Z/ 
unstable main
deb   http://snapshot.debian.org/archive/debian/20101222T084303Z/ 
testing main
deb-src   http://snapshot.debian.org/archive/debian/20101222T084303Z/ 
testing main

# 0.37-3 is already listed in stable, so no need for snapshot line.
# 0.37-4 is current, so no need for snapshot line.
--- snip -

  - aptitude update
  - apt-get source -b package=version
  - dpkg -i package


  Results for method A (prebuilt)
  

0.37-4  -- FAIL
0.37-3  -- OK
0.37-2  -- OK
0.37-1  -- OK
0.36-1  -- OK
0.35-1  -- OK (but with additional newline)


  Results for method B (building myself)
  

0.37-4  -- FAIL
0.37-3  -- FAIL
0.37-2  -- FAIL
0.37-1  -- FAIL
0.36-1  -- FAIL
0.35-1  -- OK (but with additional newline)


Regards

  Marc-Jano


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (501, 'testing'), (50, 'unstable'), (25, 'experimental'), (12, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages rlwrap depends on:
ii  libc6 2.17-93
ii  libncurses5   5.9+20130608-1
ii  libreadline6  6.2+dfsg-0.1
ii  libtinfo5 5.9+20130608-1

rlwrap recommends no packages.

rlwrap suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org