crayops@uxc.cso.uiuc.edu (02/26/88)
I have a question. (Yeah, I know, join the club.) Anyway, here it is. I'm designing a training simulator using HyperCard and there are instances where I want to emulate a pseudo-terminal. Not a REAL terminal, that's connected to another machine on the other end, just a picture of a terminal that when you type in the field on the pseudo-terminal card, it looks like you're typing on a real terminal. My problem is this. When a command is entered on the p-terminal, and the trainee hits return, I want HC to recognize the return and put stuff in the field so that it looks like the command actually ran. I.e. if the ReturnKey is hit then if the field has "a.out" in it then PutSimulatedOutputOnScreen But I know (I think?) that you can't test ReturnKey or whatever. So how can I tell when the return key has been hit? Thanks in advance.... _____ crayops