From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id PAA12399 for ; Sun, 16 Jul 1995 15:08:02 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA15493 (5.65c/Gatech-10.0-IDA for ); Sun, 16 Jul 1995 01:08:19 -0400 Received: by math (5.x/SMI-SVR4) id AA02868; Sun, 16 Jul 1995 01:04:42 -0400 Resent-Date: Sun, 16 Jul 1995 06:05:46 +0100 (BST) Old-Return-Path: From: Zefram Message-Id: <2662.199507160505@stone.dcs.warwick.ac.uk> Subject: A print escape fix To: zsh-workers@math.gatech.edu (Z Shell workers mailing list) Date: Sun, 16 Jul 1995 06:05:46 +0100 (BST) X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]5986.06 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-Id: <"jMjC22.0.ki.ft92m"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/216 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu -----BEGIN PGP SIGNED MESSAGE----- Zsh turns the print escape sequence "\b" into a '\010', rather than a '\b'. This behaviour is inconsistent with the other escapes. The patch below fixes this. -zefram *** Src/zle_main.c.old Sun Jul 16 05:59:41 1995 --- Src/zle_main.c Sun Jul 16 05:59:55 1995 *************** *** 691,697 **** *t++ = '\n'; break; case 'b': ! *t++ = '\010'; break; case 't': *t++ = '\t'; --- 691,697 ---- *t++ = '\n'; break; case 'b': ! *t++ = '\b'; break; case 't': *t++ = '\t'; -----BEGIN PGP SIGNATURE----- Version: 2.6.i iQBVAgUBMAieDmWJ8JfKi+e9AQHwbgH9E7uqjSHCRFRuH4sBkzu36pCTcWM1PbAq I1j9YPMufr3CtWoGGxu9dE+PAqlI1wo2YLWoszxdR9T/8KuMBLsF9Q== =cCWw -----END PGP SIGNATURE-----