On 09/03/11 10:25, David Cantrell wrote: [snip] > But what I'd like is that when it opens the second terminal on the > remote host, it do this in there: > run a script > drop me at a shell prompt > *and for that script that it just ran to be in the terminal history* ISTR using expect for something like this a while back... Amit