Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!rbj From: rbj@uunet.uu.net (Root Boy Jim) Newsgroups: comp.lang.perl Subject: Re: Perl keyboard processing Message-ID: <1991May21.190550.27956@uunet.uu.net> Date: 21 May 91 19:05:50 GMT References: <1357@unet.UUCP> <1991May18.211524.24055@convex.com> Organization: UUNET Communications Services, Falls Church, VA Lines: 23 tchrist@convex.COM (Tom Christiansen) writes: >make sure not to use the same handle >for both in and out though. this idiom is open seen: > > open (TTYIN, " open (TTYOUT, ">/dev/tty") || die "Can't open /dev/tty" ; Why should different FH be used? Does the book discuss this anywhere? >Using octal escapes is probably easiest. I stopped thinking in octal when I left the PDP-11 world. Hex is where it's at Tommy me boy! But wait! What about those new escape sequences: \e, and \c? I still want Larry to put in \m for metachars. This must be "Tom Bashing Week". Sorry dude! -- [rbj@uunet 1] stty sane unknown mode: sane