"Fossies" - the Fresh Open Source Software Archive

Member "sawdog-2.4/services/telnet" (30 Oct 2000, 158 Bytes) of package /linux/privat/old/sawdog-2.4.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/usr/bin/expect -f
    2 
    3 set env(TERM) vt100
    4 
    5 set timeout 10
    6 match_max 100000
    7 
    8 spawn telnet $argv
    9 expect "Escape character is '^\]'.\r\r" {
   10      exit 0
   11 }
   12 exit 1