Few more fixes for VMS.
diff --git a/src/os_unix.c b/src/os_unix.c
index 4fb3d1a..6d4d499 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -421,9 +421,10 @@
 	/* Process the queued netbeans messages. */
 	netbeans_parse_messages();
 #endif
+#ifndef VMS  /* VMS: must try reading, WaitForChar() does nothing. */
 	/*
-	 * we want to be interrupted by the winch signal
-	 * or by an event on the monitored file descriptors
+	 * We want to be interrupted by the winch signal
+	 * or by an event on the monitored file descriptors.
 	 */
 	if (WaitForChar(-1L) == 0)
 	{
@@ -431,6 +432,7 @@
 		handle_resize();
 	    return 0;
 	}
+#endif
 
 	/* If input was put directly in typeahead buffer bail out here. */
 	if (typebuf_changed(tb_change_cnt))