Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!fluke!inc From: inc@tc.fluke.COM (Gary Benson) Newsgroups: comp.lang.perl Subject: Re: But mine doesn't fail? (was Re: perl and pttys) Keywords: ptty Message-ID: <1990Mar21.015440.4995@tc.fluke.COM> Date: 21 Mar 90 01:54:40 GMT References: <8069@ogicse.ogi.edu> <37098@mips.mips.COM> <37118@mips.mips.COM> <1990Mar19.235021.19961@tc.fluke.COM> <1990Mar20.012137.4194@iwarp.intel.com> Organization: John Fluke Mfg. Co., Inc., Everett, WA Lines: 30 In article <1990Mar20.012137.4194@iwarp.intel.com> merlyn@iwarp.intel.com (Randal Schwartz) writes: >In article <1990Mar19.235021.19961@tc.fluke.COM>, inc@tc (Gary Benson) writes: || The question was raised about using perl-d inside emacs. || || I thought I had a way, but I don't. I regularly run perl scripts on emacs || buffers, and it works really slick. I set a mark, advance to the area in || question, and fast-filter-region {the script}. This works for the stuff I || normally do, but when I set the -d, whoo-boy! I got knocked into the 0-zone. || || It also fails if I set up a shell internal to emacs. I was hoping the debug || messages would go to the shell window, but alas no. STDOUT it is, and I am || not sufficiently emacs conversant to change that. I suppose one ramification || is that any perl script that is talking to STDOUT will fail inside emacs. ! I use perl -d all the time inside GNU Emacs (18.55), so I suspect the ! problem is OS-specific. How about elaborating on your configurations ! under which it fails? ! ! Mine works under Sunos4.0.3 on sun3's and sun4's with Perl 3.0 ! patchlevel 15. For example, here's the transcript of a "Perlshell" ! started with -de 0: Me again. Our configuration is a VAX 11-750 running mt. Xinu More/BSD 4.3 and Unipress Emacs . -- Gary Benson -=[ S M I L E R ]=- -_-_-_-inc@fluke.tc.com_-_-_-_-_-_-_-_-_- Many a bum show has been saved by the flag. -George M. Cohan