I'm using a Ubuntu (11.04 Server Edition) virtual machine as my development environment. It doesn't have a desktop environment since I don't think its necessary and I want to keep it lightweight. I'm accessing it via SSH with PuTTY on Windows 7. I grew fond of Emacs 24 as an IDE but still want to use inside a terminal.

I successfully enabled the 256 color version of xterm to render Emacs 24 themes properly, however the terminal doesn't render comments in italics and classes/functions/methods underlined as it is declared on the theme code. I noticed that the bold font style works after enabling it in PuTTY.

I tried changing the Terminal-Type string in PuTTY to rxvt-unicode with no avail. I also tried other terminal emulators like SecureCRT and forks like PuTTYcyg and KiTTY since I noticed Putty doesn't display fonts in italics as a general font setting.

I also tried Vim and other systems with all this options and configurations and it didn't work.

Is there a way to achieve this? How?

Thank you.