in reply to stty: : Invalid argument

Thanks for the advice! You really know the 'scriptures' well...

I don't know that Expect.pm but by what I've read it should solve my problem.

I'm trying to install the modules in the server, but I need to install gcc, plus dependencies, plus make, all by hand first...

Meanwhile, if someone knows another way to solve this without using external modules I'll be gratefull.

Thanks.