script [-a] filename
(should be /usr/bin)
Then exec on your merry way. Interaction up to EOF is saved in the file. No filename means you get "typescript" in the wd.
Good luck with the scary prof. I've been one of those. 
__________________
There are a vast number of people who are uninformed and heavily propagandized, but fundamentally decent. The propaganda that inundates them is effective when unchallenged, but much of it goes only skin deep. If they can be brought to raise questions and apply their decent instincts and basic intelligence, many people quickly escape the confines of the doctrinal system and are willing to do something to help others who are really suffering and oppressed." -Manufacturing Consent: Noam Chomsky and the Media, p. 195
|