#!/usr/bin/expect --

if {1 == [llength $argv]} {
   spawn ./xboard-jinx 
} else {
   spawn ./xboard-jinx x-mail 
}
expect "login:"
send "<your-account-name>\r"
expect "password:"
send "<your-pass-word>\r"
interact
