Greetings fellow ZSH users, I'm trying to write a script that would allow be to make telnet login (or ftp login) processes automated. Here's what I tried: #!/home/u1/mariah/bin/zsh telnet host.com echo 'loginname' echo 'password' This didn't work (as well as variants of the above example)... It telnets okay, but that's it. When I quit the telnet, THEN it echo's the thing I want to echo. Is it possible to write a script like this with zsh? As far as FTP, I would like to write something that will automate the following steps: 1. ftp 2. login 3. password 4. get a particular file 5. exit :) I would appriciate any assistance or suggestions in this matter. Thanks in advance! :) -- Sirius Bontea, E-3 -=šUnited States Air Forceš=- Email: Web page: http://home.interpac.net/~mariah/index.html IRC: ]{osh@EfNet on #Mariah =) Administrator of the Mariah Carey Marketplace. ==== For more details, 'finger mariah@isis.interpac.net' ====