Reading from UART2 By Sending a single charater to UART2

Hi everybody

I have read the data from UART2 by sending only the single character to UART2 but I dont know about it so please tell me proedure or a samle code with the help of which I can able to so.

So by sending the character the whole data should displayed in hyper terminal or terminal emulator.