Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!mips!ling.Berkeley.EDU!peebles From: peebles@ling.Berkeley.EDU (Andrew Peebles) Newsgroups: comp.lang.perl Subject: Re: perl and pttys Keywords: ptty Message-ID: <37118@mips.mips.COM> Date: 16 Mar 90 21:08:43 GMT References: <8069@ogicse.ogi.edu> <37098@mips.mips.COM> Sender: news@mips.COM Lines: 26 > > It's not exactly what you described, but should get you started. This > must be the third or fourth time I've posted this fragment. PTY's are > tricky, even if you aren't using Perl. If you want the middle of the > "pipeline" to be a Perl routine, just replace the "exec 'tr'..." with > your code. > > -- > Marion Hakanson Domain: hakanson@cse.ogi.edu > UUCP : {hp-pcd,tektronix}!ogicse!hakanson Nice code, I'll use it elsewhere, but this does not really address my particular problem. I don't have access to the parent's code (I do but I don't want to have to) to play w/ its ptys. Since emacs uses a pty when you have an emacs shell, you can't (or at least I can't) run a perl script from w/in an emacs shell. This behavior is what I'm asking about, i.e. can YOU run a perl script from w/in an emacs shell? Can you run `perl -d' on this same script from w/in an emacs shell? Andrew Peebles {ames,prls,pyramid,decwrl}!mips!peebles or peebles@mips.com MIPS Computer Systems, 930 Arques, Sunnyvale, CA 94086, (408) 991-0443 "quote"