wunder@hpcea (12/22/87)
> We have had the same problem trying to get Unisys EMACS to run on the > 300. Well, Unipress sells an Emacs for HP-UX and GNU Emacs works just fine on HP-UX. We use it all the time. > Neither HP nor Unisys was helpful, so we finally gave up and used > read-and-hang on the keyboard. Tricks usable on other systems did not > work. What "tricks"? The standard trick on System V is something like this: fake_fionread() static count if count > 0 return count else set O_NDELAY if we got something on the read count++ clear O_NDELAY return count Then replace getchar() with something that reads out of the buffer where you stashed the characters from the read. Microemacs does this, GNU probably does this, etc. wunder