Thanks a lot
The problem is almost solved..
I am getting the display right.. Whenever I type anything, it gets displayed properly, but there is always a lag of one character..
for example :
If the username of my server is say 'Randy'
When I press the connect button, first of all , I get a blank display.
Then when I press the first letter, 'R' in this case, the message prompt for username appears. (here, 'R' has actually been accepted but not been displayed yet)
When I press the next character 'a', it displays 'R' (i.e the previous character sent)
This goes on...
Thus, there is a problem in the proper updation of the display, resulting in lag of display for one character...
Thanks a lot..