Mac os scripting

open a new tab in Mac OS X's terminal from the command line in a currently opened tab
osascript -e 'tell application "Terminal" to activate' -e 'tell application "System Events" to tell process "Terminal" to keystroke "t" using command down'



run in new shell?
osascript  -e 'tell application "Terminal" to do script "expect -c \"set user prominic ;set host netmonitor -4.prominic.net;set password BCk87Lkb;source ssh.bysh1. tcl \""'