Re: pty FIONREAD returning zero breaks emacs in 3.11rc3

2013-08-14 Thread Peter Hurley
On 08/13/2013 06:03 PM, Andi Kleen wrote: On Mon, Aug 12, 2013 at 09:43:43PM -0400, Peter Hurley wrote: On 08/09/2013 05:11 PM, Andi Kleen wrote: When I run emacs over ssh terminal (no X) on 3.11-rc3 it often ignores key strokes. I first thought the system was busy or so, but when stracing th

Re: pty FIONREAD returning zero breaks emacs in 3.11rc3

2013-08-13 Thread Andi Kleen
On Mon, Aug 12, 2013 at 09:43:43PM -0400, Peter Hurley wrote: > On 08/09/2013 05:11 PM, Andi Kleen wrote: > > > >When I run emacs over ssh terminal (no X) on 3.11-rc3 it often ignores key > >strokes. I first thought the system was busy or so, but when > >stracing the emacs it was not blocked. > >

Re: pty FIONREAD returning zero breaks emacs in 3.11rc3

2013-08-12 Thread Peter Hurley
On 08/09/2013 05:11 PM, Andi Kleen wrote: When I run emacs over ssh terminal (no X) on 3.11-rc3 it often ignores key strokes. I first thought the system was busy or so, but when stracing the emacs it was not blocked. Andi, More information might help me narrow this down since I can't reprodu

pty FIONREAD returning zero breaks emacs in 3.11rc3

2013-08-09 Thread Andi Kleen
When I run emacs over ssh terminal (no X) on 3.11-rc3 it often ignores key strokes. I first thought the system was busy or so, but when stracing the emacs it was not blocked. Here's a typical sequence. select/SIGIO wakes it up, but then FIONREAD returns 0. I'm not fully sure when it started. I