I use the expect script to ssh to a remote Linux terminal ( shell ). But when I list a directory containing hundreds of files the display goes in a loop from which I cannot escape other than typing exit. I use a putty software to ssh to the linux box from a microsoft platform.
What could be the reason and what can be the solution to it. Is there something which I have to specify in the expect script related to disply buffer or something ?
Please help me.
This has really stuck my work out here.