Debian Bug report logs - #1019053
bash: setting tab as a control character (like stty kill ^I) then back breaks completion

version graph

Package: bash; Maintainer for bash is Matthias Klose <[email protected]>; Source for bash is src:bash (PTS, buildd, popcon).

Reported by: наб <[email protected]>

Date: Sat, 3 Sep 2022 12:24:01 UTC

Severity: normal

Found in version bash/5.1-2+deb11u1

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#1019053: bash: setting tab as a control character (like stty kill ^I) then back breaks completion
Reply-To: наб <[email protected]>, [email protected]
Resent-From: наб <[email protected]>
Resent-To: [email protected]
Resent-CC: Matthias Klose <[email protected]>
X-Loop: [email protected]
Resent-Date: Sat, 03 Sep 2022 12:24:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: report 1019053
X-Debian-PR-Package: bash
X-Debian-PR-Keywords: 
X-Debian-PR-Source: bash
Received: via spool by [email protected] id=B.16622077043688
          (code B); Sat, 03 Sep 2022 12:24:01 +0000
Received: (at submit) by bugs.debian.org; 3 Sep 2022 12:21:44 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-18.3 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROM_SUSPICIOUS_NTLD,
	FROM_SUSPICIOUS_NTLD_FP,HAS_PACKAGE,PDS_OTHER_BAD_TLD,PGPSIGNATURE,
	RDNS_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE
	autolearn=ham autolearn_force=no
	version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 150; neutral, 75; spammy,
	0. spammytokens: hammytokens:0.000-+--bookworm, 0.000-+--sk:taint_o,
	0.000-+--sk:TAINT_O, 0.000-+--sk:taint_u, 0.000-+--sk:TAINT_U
Received: from [139.28.40.42] (port=57068 helo=tarta.nabijaczleweli.xyz)
	by buxtehude.debian.org with esmtp (Exim 4.92)
	(envelope-from <[email protected]>)
	id 1oUS9f-0000wh-SS
	for [email protected]; Sat, 03 Sep 2022 12:21:44 +0000
Received: by tarta.nabijaczleweli.xyz (Postfix, from userid 1000)
	id E9315248; Sat,  3 Sep 2022 14:21:38 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nabijaczleweli.xyz;
	s=202205; t=1662207698;
	bh=UEw3p9/oNCmm2CuL1uK5Lxy+7zzWk0G9NEsGELJ0sfU=;
	h=Date:From:To:Subject:From;
	b=EkApxPWj9VFVEmH7lGFu/grxLCET62KlMqUM8TvmpYFDCsKG1+OnLo+9P7He4FSbt
	 gvGEOxIEXo2NEHTupEHk5WgXLZBPi4gD093yGuli/XODfRvM7bGpHPMoPMwLUKk5aH
	 3PRCX/TXm31zVYbOAnKG+uiXPTZW5ZSNzljUFvUMtJ7WlPbeV7JGJFSItvzEyejjMF
	 1OUiDCAIVXfhd2T1Up2JZeVSYMcnyArBtKt6brIX8HgJef8y1zHDTy6ylIBF75Xb0c
	 G9t0JriaLOkI7U/l9gfTN+XClkiI6War2nUXCVof0IQF2WTPu0GgQz8P0HOdHDssVz
	 kN1aK0LKzqqRfX6fYLK6IRlH69xtXwUZEHD4ngFVtf4XlCet3lfghKyN+ghUTgaOtd
	 me8mnW8jPc311wgdmn9O1smXdVcA8+6a0KeNNZiM2MSZWWinob9YFHIrTPCK4aUh2w
	 IzhNNoD5Hac1fj/XqjugrvGJtB9RIo0YMz+8nt2FnvGirhAdqtxAm2ndPyNE6QPu6w
	 icUZ+xvOijEXF81PF6MRAZilGLJB5ojlsUnwyzHFp0IQHJ1ZukDwOm3ZOOkBjiL50v
	 rsI3D6/fP5hamWIcwNCIlEhzPIjsB8k4iYAdt+B1xY4Hzgcpb7kFpc9aoxc5KGeiQd
	 kuUTJ/luzTxRbYDl+9/4rmNM=
Date: Sat, 3 Sep 2022 14:21:38 +0200
From: наб <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Message-ID: <[email protected]>
X-Reportbug-Version: 7.10.3+deb11u1
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="csyg4276uynb5oqo"
Content-Disposition: inline
User-Agent: NeoMutt/20220429
Delivered-To: [email protected]
[Message part 1 (text/plain, inline)]
Package: bash
Version: 5.1-2+deb11u1
Severity: normal

Dear Maintainer,

Not sure if this is a readline bug, but:
-- >8 --
$ l<TAB>
last lastb lastlog ...
$ l^C
$ stty kill ^I
$ stty sane
-- >8 --
now "l<TAB>" produces l followed by a literal 8-column tab.

Can repro this on sid and bullseye.

Best,
наб

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: amd64, i386

Kernel: Linux 5.18.0-4-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bash depends on:
ii  base-files   12.2
ii  debianutils  5.7-0.3
ii  libc6        2.34-4
ii  libtinfo6    6.3+20220423-2

Versions of packages bash recommends:
ii  bash-completion  1:2.11-6

Versions of packages bash suggests:
pn  bash-doc  <none>

-- no debconf information
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:23:42 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.