home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / perl / 7004 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.0 KB  |  29 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!gumby!wupost!cs.uiuc.edu!hal.cs.uiuc.edu!schwager
  3. From: schwager@cs.uiuc.edu
  4. Subject: Calling a text editor from Perl
  5. Message-ID: <Bxtyon.H0x@cs.uiuc.edu>
  6. Sender: schwager@cs.uiuc.edu (Michael Schwager)
  7. Organization: Dept. of Computer Sci - University of Illinois
  8. Date: Mon, 16 Nov 1992 22:33:57 GMT
  9. Lines: 18
  10.  
  11.  
  12. Hi,
  13. Is it possible to call a text editor from Perl?  I want to do something
  14. like this:
  15.         `/usr/ucb/vi /tmp/addgr$$`;
  16. but it looks like the terminal i/o is not working properly, so it just
  17. hangs at that statement.  Afterwards I have to reset my terminal, so I'm sure
  18. it's scrogged somehow.  Thanks for any help.  I'd hate to have to go back to
  19. using csh.
  20.  
  21. I'm on a Sun Sparc, running os 4.1.2, and the latest Perl.
  22. -Mike
  23. aka, Mike Schwager               |"I think we don't have ideology.
  24. INTERNET:schwager@cs.uiuc.edu    | We don't have theology.
  25.                                  | We dance."        -Japanese Shinto Priest
  26. University of Illinois, Dept. of Comp. Sci., for whom I do not speak
  27.  
  28. .
  29.