I have installed Mac OS (10.5.6) on Intel pc.
I am using logitech keyboard not apple keyboard.
Home, end, pageup and page down keys are not working by default.
so i searched in google and got a script to make it work.

I have created a DefaultKeyBinding.dict file in the following location
user/library/KeyBindings/

and enter the following script
{
/* home */
"\UF729" = "moveToBeginningOfLine:";
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";

/* end */
"\UF72B" = "moveToEndOfLine:";
"$\UF72B" = "moveToEndOfLineAndModifySelection:";

/* page up/down */
"\UF72C" = "pageUp:";
"\UF72D" = "pageDown:";
}


I found all key combination's are working after reboot. Suddenly My keyboard was not working. I had removed the script entered above and restarted the system, but still it is not working. Could anyone please help me out of this prob.