Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!hpcea!tw From: tw@hpcea.CE.HP.COM (Tw Cook) Newsgroups: comp.windows.x Subject: Re: GNU Emacs on HP-UX with X-windows? Message-ID: <530005@hpcea.CE.HP.COM> Date: Fri, 4-Sep-87 19:28:01 EDT Article-I.D.: hpcea.530005 Posted: Fri Sep 4 19:28:01 1987 Date-Received: Thu, 10-Sep-87 00:38:01 EDT References: <285@keilir.UUCP> Organization: HP Corporate Engineering - Palo Alto, CA Lines: 38 Malcolm Cohen writes: Has anyone got EMACS to use X-windows on HP-UX? I have just tried, with v18.41 of Emacs, on an HP9000/320, but failed since the X-window support seems to require SIGIO (which doesn't work on HP-UX). Just turning off the SIGIO code resulted in emacs crashing on a select() somewhere. Have I missed something, or is it impossible? It can be done. In process.c, try making this change around the select in question; I'm not sure why this is necessary, but it seems to fix the problem. I don't believe there were any other major problems, but it has been some time since I played with it. You'll probably find that without SIGIO it is rather sluggish on the 320, if so, you might want to experiment with using "rtprio" on both emacs and your X server. Good luck, Tw Cook {hplabs, hpfcla}!hpcea!tw or twcook@hplabs.HP.COM 415-857-4916 HP Corporate Engineering - Palo Alto, CA ---- excerpt from process.c: ---------------------------------------- if (read_kbd && kbd_count) nfds = 0; else #ifdef HPUX nfds = select (MAXDESC, &Available, 0, 0, &timeout); #else nfds = select (MAXDESC, &Available, 0, &Exception, &timeout); #endif xerrno = errno; if (fix_screen_hook) (*fix_screen_hook) (); ...