Re: Opening dtterm or xterm for input.

2001-05-03 Thread Peter Cline
I am having a similar problem, and the advice I've been given on [EMAIL PROTECTED] is to look into using either IO::Pty or Expect.pm I haven't had a chance to this, but apparently these modules can emulate a terminal. At 08:04 AM 5/3/01 -0700, Dan Brown wrote: >I don't think you're going to

Re: Opening dtterm or xterm for input.

2001-05-03 Thread Dan Brown
I don't think you're going to be able to do what you want to do. No terminal I know about accepts standard input (STDIN) as an argument. What I mean is that terminals are not like grep, sed, awk, sendmail, et al. These programs all accept STDIN as an argument so you can pipe from grep to sed to

Opening dtterm or xterm for input.

2001-05-03 Thread Martin McNelis
Hi, I'm running Perl 5.6 on Solaris 2.6 and I'm having the following problem: #!/usr/local/bin/perl $pid = open (SCF, '|dtterm -name SCF'); sleep 10; print SCF "ls\n"; close SCF; As you can see I'm trying to pipe input to dtterm, but nothing happens. Any help much appreciated, Thanks, Martin