Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!sdd.hp.com!spool.mu.edu!uunet!rbj From: rbj@uunet.UU.NET (Root Boy Jim) Newsgroups: comp.lang.perl Subject: Re: "\x1B" == Escape wanted Message-ID: <122773@uunet.UU.NET> Date: 15 Feb 91 20:33:48 GMT References: <121552@uunet.UU.NET> <122472@uunet.UU.NET> <11454@jpl-devvax.JPL.NASA.GOV> Organization: UUNET Communications Services, Falls Church, VA Lines: 24 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. >\^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. >\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 :-) I also forgot to ask for \E and \O, even and odd parity :-) >Larry -- [rbj@uunet 1] stty sane unknown mode: sane