Here is a small step by step procedure which can be used for tricking a keylogger
1) When you need to type a password on a compromised computer, type some portion and use mouse to click on another portion to complete keying in.
2) Avoid entering the full password. Copy and paste from other websites some of the letters or numbers you need.
3) Last but not least, change your password immediately at a secured PC after you use it outside your own computer.
Well.. hopefully these few tricks can fool the poor-programmed keylogger. Anyway, do have an updated antivirus and anti-spyware in check just to be safe.