Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
bindkey listing bugfix
- X-seq: zsh-workers 2689
- From: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Z Shell workers mailing list)
- Subject: bindkey listing bugfix
- Date: Tue, 31 Dec 1996 12:51:15 +0000 (GMT)
-----BEGIN PGP SIGNED MESSAGE-----
My keymap patch, 2648, contains a small bug: it doesn't escape a "^"
being output as part of a key sequence.
-zefram
*** Src/Zle/zle_utils.c 1996/12/26 19:13:34 1.3
--- Src/Zle/zle_utils.c 1996/12/31 02:33:58
***************
*** 354,360 ****
len++;
c ^= 64;
}
! len += c == '\\';
len++;
}
ptr = buf = zalloc(len);
--- 354,360 ----
len++;
c ^= 64;
}
! len += c == '\\' || c == '^';
len++;
}
ptr = buf = zalloc(len);
***************
*** 370,376 ****
*ptr++ = '^';
c ^= 64;
}
! if(c == '\\')
*ptr++ = '\\';
*ptr++ = c;
}
--- 370,376 ----
*ptr++ = '^';
c ^= 64;
}
! if(c == '\\' || c == '^')
*ptr++ = '\\';
*ptr++ = c;
}
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMsh9lnD/+HJTpU/hAQHesQP+K8V2mCTcr2+hV34wsJQj9dZl9WZd1Hbk
EucQfzynpQ6n5LTu8zfSY1CPtgTCQPnh++jf5675lLs4tTb2eF09zja9vReTu9wD
E/L5l1oUJFtgGTs9YiAdGNGzNA3TOpeuxd0ziYYGsFUz0chrdxb7WPJwaK/aTKoF
/kfv/WFwC2M=
=KagY
-----END PGP SIGNATURE-----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author