Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

A print escape fix



-----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-----



Messages sorted by: Reverse Date, Date, Thread, Author