Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: "\x1B" == Escape wanted Message-ID: <11458@jpl-devvax.JPL.NASA.GOV> Date: 15 Feb 91 20:44:37 GMT References: <121552@uunet.UU.NET> <122472@uunet.UU.NET> <11454@jpl-devvax.JPL.NASA.GOV> <122773@uunet.UU.NET> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 31 In article <122773@uunet.UU.NET> rbj@uunet.UU.NET (Root Boy Jim) writes: : In article <11454@jpl-devvax.JPL.NASA.GOV> lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) writes: : >In article <122472@uunet.UU.NET> rbj@uunet.UU.NET (Root Boy Jim) writes: : >: I want to be able to say: $ESC = "\x1b" rather than "\033". : > : >Maybe. : >\a for "audible bell" may appear simply because it's in K&R2. : : Like \a for alarm, \x## is ANSI as well. OK, it's in there. And \e for \033. : >\^x will never happen in Perl, simply because it violates the rule that : >backslashed non-alphanumerics are always themselves. Possibly \cx, though. : : Of course. How silly of me. And \c is probably a good choice, : because the current meaning (no newline) is meaningless in perl. \c it is. : >\M-C-a is not much use unless you're writing an editor. : : Well, yes, the reason I included that is to give you something to reject :-) Heh. : I also forgot to ask for \E and \O, even and odd parity :-) Well, you can just forget it again. tr/// has to be good for something... Larry