Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Phil Farrell <farrell@stanford.edu>
To: Marc Elsen <elsen@imec.be>
Subject: Re: telnet from tty AND stdin
Date: 1998/07/16	[thread overview]
Message-ID: <35AE421B.6E6D@stanford.edu> (raw)
In-Reply-To: 900437378.523933@duckhole.imec.be

Marc Elsen wrote:
> 
>  Does anyone know of a version of telnet for DUX4.0
>  which can also read from stdin instead of tty only ?
>  Constructs like :
> 
>  telnet<<EOM
>  -foo-whatever-
>  EOM

You can install the "expect" public domain software package, that allows
you
to provide scripted input to any normally interactive command.  Expect 
can be programmed to wait for the appropriate responses from the program
before feeding the next command, just like an interactive user would.

-Phil Farrell
Computer Systems Manager
Stanford University School of Earth Sciences
farrell@pangea.stanford.edu



      reply	other threads:[~1998-07-16  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-14  4:00 telnet from tty AND stdin Marc Elsen
1998-07-16  4:00 ` Phil Farrell [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox