expect

  1. Y

    Other Expect stops at entering password

    I use Expect to automate the interaction with some devices on telnet or ssh. For example, restarting the Wi-Fi access point when the connection is hung up, or reading incoming SMS from the GSM-gateway. Everything works perfectly. But today I am faced with the fact that I can’t force Expect to...
  2. igorino

    Other Remove "...[C[0k" from expect output

    Dear all, How can I not generate the substring ...[C[C[C[0k after issued comands trough expect scripts? For example, I have the following lines in an expect script: #set variables, parameters etc ... spawn telnet $IP $PORT expect -nocase "name:" send -- "$USER\r" expect -nocase "password:" send...
Back
Top