rsh help with remote prompts

Hi,

I'm writing a shell script that rsh's onto a remote machine and runs a perl script that requires values to be entered as the script executes. I also need to ba able to see the outputs from the perl script.

When I try to run it I get an stty : Invalid argument and understand that this is due to it being run remotely.

Is there anyway to get the scripts working and displaying back correctly.

Thanx.

Hi;

With machine profide the input?

Does a remote user on the remote workstation enters the required input
or
does the local user (who started the script) enters the required input?

hi,

the local user who started the script is required to input details (passwords etc) into the perl script running on the remote system....

I think you can doit with

>> rsh hostname [-l username] <your script>

I beleave in this case <your script> is located on the remote host but asks for input on the calling host.

See also:

when I run the command I don't see the logging that is echo'd back or the prompts asking me for input.....