Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!pyrnj!mirror!ima!haddock!karl From: karl@haddock.UUCP (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: CTRL(x) Message-ID: <170@haddock.UUCP> Date: Thu, 13-Nov-86 10:28:31 EST Article-I.D.: haddock.170 Posted: Thu Nov 13 10:28:31 1986 Date-Received: Thu, 13-Nov-86 21:48:09 EST References: <4880@brl-smoke.ARPA> <1319@sunybcs.UUCP> <614@hadron.UUCP> Reply-To: karl@haddock.UUCP (Karl Heuer) Organization: Interactive Systems, Boston Lines: 10 Summary: XOR is indeed preferable to AND, because DEL is "^?" In article <614@hadron.UUCP> jsdy@hadron.UUCP (Joseph S. D. Yao) writes: >The XOR, (x^0100), will not generally work. Use (x&037). True if you want the domain of the function to include lowercase. I never do; e.g. I claim that the proper name for EOT is "^D" rather than "^d". If you're willing to make this restriction, then the XOR has the advantage of allowing the use of CTRL('?') for DEL, which is a widely (though by no means universally) accepted notation. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint