Apart from getting the things compiled the following was changed: twm.c: - call to fcntl() was removed - add call to vms_do_init() inserted into main() lex.c: - the way yyinput and yyoutput are initialized is changed (vms_do_init()) Xmu/CloseHook.c: - in _MakeExtension all code removed (where is XAddExtension() ??)