On Fri, Nov 29, 2002 at 06:26:39PM +0000, Adam Spiers wrote:

[SNIP]

> (can you fake a tty?)

If you replace:

  rsh $host $command

with:

  script /dev/null rsh $host $command

In your command line, then rsh will get a pseudo tty.

That's with the FreeBSD version of script(1), which allows you to
specify the command to run in the pseudo tty on the script(1)
command line.  IIRC, some other versions of script(1) can only be
made to do this by messing with $ENV{SHELL}.

--
Nick

Reply via email to