2010/8/5 Ævar Arnfjörð Bjarmason <[email protected]> > On Thu, Aug 5, 2010 at 19:13, Ævar Arnfjörð Bjarmason <[email protected]> > wrote: > > On Wed, Aug 4, 2010 at 17:52, Axel Beckert <[email protected]> wrote: > > > >> * Emacs 23 via remote X doesn't work. No idea why yet. > > > > I haven't debugged it properly either, but the fix suggested in > > #559392 of adding this to src/s/gnu-kfreebsd.h works: > > > > #define BROKEN_FIONREAD > > I spoke too soon. That makes everything I tried in X work, but the > console Emacs is completely broken and doesn't accept any keyboard > input with that. > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact > [email protected] > Archive: > http://lists.debian.org/[email protected] > >
The infinite loop where emacs enters, in file xterm.c. As a workaround, this loop (lines 9342 to 9368 in file xterm.c) could be avoided. I've tested this and works in X and console without problems, at the moment. Defining BROKEN_FIONREAD is a very bad idea, but I found this worked for X. However I didn't realize that console was broken. Anyway, I think the problem is in another place inside the loop.

