sailing

Everything...

Fix the right alt(altgr) problem with putty

Putty is the best ssh client I can find in windows platform. But unfortunately, it has it's own interpretation of the keyboard layout and it treats the right alt key on my pc keyboard as altgr, this breaks the yank while I'm using emacs. I surfed around the internet tried to find the solutions, but with no luck. So I decide to sit down and make a modification to have it work for me.

My change is very simple, I just disabled the altgr translation, so the right alt key will be treated the same as left alt key, this way the desired right alt key is back. (But it might also breaks the altgr if you try to use it with a altgr keyboard)

Files:
This is the file where I made the fix:
window.c
This is all the source packed together, (compilable, check the README inside on how to compile):
source.zip
This is the already built binary:
putty.exe

posted on 2008-03-25 21:31  乌生鱼汤  阅读(1857)  评论(0编辑  收藏  举报

导航