Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!rochester!roche From: roche@cs.rochester.edu (James Roche) Newsgroups: comp.lang.perl Subject: Starting editor from within perl script Message-ID: <1990Sep21.190641.9221@cs.rochester.edu> Date: 21 Sep 90 19:06:41 GMT Reply-To: roche@cs.rochester.edu (James Roche) Organization: U of Rochester, CS Dept, Rochester, NY Lines: 19 I'm trying to write a replacement for Pnews to handle some special local requirements. I am having trouble getting an editor to start from within the perl script. I have tried: `/usr/ucb/vi /tmp/postnews$$`; A ps shows that the editor was started, but it doesn't display anything. I can type input and it all works, but nothing gets displayed. What's the trick to starting an interactive program from within a perl script. Jim Roche -- Jim Roche University of Rochester Computer Science Department Rochester, NY 14627 ARPA: roche@cs.rochester.edu UUCP: rochester!roche