BTS

Issue229

Title zshrc: bindkey sequence uses literal string "^[" instead of escape.
Priority wish Status resolved
Superseder Nosy List ft, mika
Assigned To mika Topics zsh

Created on 2007-06-07.08:59:48 by ft, last changed 2007-06-07.13:10:49 by formorer2.

Files
File name Uploaded Type Edit Remove
grml_zshrc_escape.diff ft, 2007-06-07.09:01:27 text/x-diff
Messages
msg583 (view) Author: formorer2 Date: 2007-06-07.13:10:49
We believe that your issue has been closed by the upload of
Version  of  from Alexander Wirt <formorer@grml.org> .
The explanation is attached below

0.3.10 of grml-etc-core successfully installed in grml-testing.
Changed-By: Alexander Wirt <formorer@grml.org> 
Changes:
 grml-etc-core (0.3.10) unstable; urgency=low
 . 
   * /etc/zsh/zshrc: use \e instead of the escape-sequence.
     Thanks for the patches, ft! [Closes: issue229, issue230]
Files:
 5c873438dcb5fe83367df7e058fdccd5 507 grml optional grml-etc-core_0.3.10.dsc
 34404e910b662160121c97b25d0b0848 82112 grml optional grml-etc-core_0.3.10.tar.gz
 3d0ae6e9126f1d9ffbf93e5447d64829 84742 grml optional grml-etc-core_0.3.10_all.deb
msg580 (view) Author: mika Date: 2007-06-07.12:55:31
We believe that your issue has been closed by the upload of
Version 0.3.10 of grml-etc-core from Michael Prokop <mika@grml.org>.
The explanation is attached below

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 07 Jun 2007 14:51:38 +0200
Source: grml-etc-core
Binary: grml-etc-core
Architecture: source all
Version: 0.3.10
Distribution: unstable
Urgency: low
Maintainer: Michael Prokop <mika@grml.org>
Changed-By: Michael Prokop <mika@grml.org>
Description: 
 grml-etc-core - core ecetera files for the grml system
Changes: 
 grml-etc-core (0.3.10) unstable; urgency=low
 .
   * /etc/zsh/zshrc: use \e instead of the escape-sequence.
     Thanks for the patches, ft! [Closes: issue229, issue230]
Files: 
 5c873438dcb5fe83367df7e058fdccd5 507 grml optional grml-etc-core_0.3.10.dsc
 34404e910b662160121c97b25d0b0848 82112 grml optional grml-etc-core_0.3.10.tar.gz
 3d0ae6e9126f1d9ffbf93e5447d64829 84742 grml optional grml-etc-core_0.3.10_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGaAAk2N9T+zficugRAl5yAJ9QOONHPG/y/yuZLgOaUfQrsdfdcgCdE6jO
GLkbyQ6Rq7iUnfLw9Io7SEg=
=zGZX
-----END PGP SIGNATURE-----
msg579 (view) Author: mika Date: 2007-06-07.12:52:45
Thanks ft, applied with http://hg.grml.org/grml-etc-core/rev/140d63187e98
msg577 (view) Author: ft Date: 2007-06-07.08:59:48
It really surprised me that this has worked for so long. Seems like
zsh's 'bindkey' is smart enough to translate a literal "^[" into an
escape sequence.

Anyway, I think it's better to use a real escape to avoid confusion.
Patch attached. Assigning bug to mika, hope that's okay.
History
Date User Action Args
2007-06-07 13:10:49formorer2setnosy: mika, ft
messages: + msg583
2007-06-07 12:55:31mikasetnosy: mika, ft
messages: + msg580
2007-06-07 12:52:45mikasetstatus: unread -> resolved
nosy: mika, ft
messages: + msg579
2007-06-07 09:01:27ftsetfiles: + grml_zshrc_escape.diff
nosy: mika, ft
2007-06-07 08:59:48ftcreate