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

Re: Zle patch - termok change



Zefram <zefram@xxxxxxxxxxxxxxxxx> writes:
:gwing@xxxxxxxxxxxxxxx wrote:
:Yuck.  issetflag() evaluates Y twice, and there aren't enough parentheses.

Really, give me an non-extremely convoluted example where my macros would fail.

:But why bother with these macros anyway?  We've always been happy with
:the (much clearer) plain bit operations anyway.

Fine.  Zoltan's removed them anyway with his replacement patch.

Zoltan wrote:
:begin 600 termok-patch.gz

BTW, termok-patch.gz gunzips to a file ``f'', unless you turn original
names off.
Also, the line 

oxtabs = (SGTTYFLAG & SGTABTYPE);

needs to be changed to

oxtabs = ((SGTTYFLAG & SGTABTYPE) == SGTABTYPE);

There is absolutely no guarantee that SGTABTYPE contains unique bits.  On
my machine it's  0xc00 
-- 
Geoff Wing [mason@xxxxxxxxxxxxxxx]   Technical Manager
  Phone    : +61-3-9818 2977         PrimeNet - Internet Consultancy
  Facsimile: +61-3-9819 3788         Web : <URL:http://www.primenet.com.au/>
  Mobile   : 0412 162 441



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