add iTerm 2 support and enhance send line function