Cut-and-Paste in AT in Speakup?

William F. Acker WB2FLW +1 303 722 7209 wacker at octothorp.org
Sun May 29 00:08:12 EDT 2011


On Sat, 28 May 2011, Chris Brannon wrote:

> pj at pjb.com.au writes:
>
>>     [NNNN.NNNN] BUG: scheduling while atomic: /swapper/0/0x10010000
>
> Yeah, this does help.
> As I said, no problems pasting on this box.  Pasting into edbrowse is
> fine.  So I had a look at selection.c, from the speakup source.
> We test to see whether we're in atomic context, in the
> speakup_paste_selection function.  Apparently, that isn't working.
> Also see the comment at the top of that function.
>
> /* TODO: move to some helper thread, probably.  That'd fix having to check for
> * in_atomic().  */
>
> This code needs to be rewritten.
> I might be able to take a look at it in another week or more, after I'm
> done moving.
>

Hi, Chris,

      It sounds like you're on the trail of this nastiness. I can't help 
with a solution, but I think I know the conditions for triggering it. You 
need two things. First, a screen size larger than the old 24X80. Mine is 
240X75. The second is a program that doesn't know what to do with the 
arrow keys. Bash, Vim, Alpine, Mutt are all fine. Cat and ED are not. Why 
this is so is a mystery. A way around this is to ssh to localhost. I 
prefer localhost6, but that's just me.

           HTH.

-- 
           Bill in Denver




More information about the Speakup mailing list