Already been suggested before if anyone would like to look;
Seeing what your friend is typing?.
It didn't get much length to the discussion, but the solution was that it would require both sides to have something installed to send the message across, character by character. Unless you get into keylogging, trojans and the like, which I don't think is a good idea