A few questions about speakup

Kirk Reiser kirk at reisers.ca
Sun Dec 4 11:38:24 EST 2016


Hello Manuel: You certainly do cursor control with python no
problem. It is a tad fiddly until you get the basics set up to do it
as part of your screen updates but it works just fine with speakup
without having to revert to highlight tracking or anything like that.

Here is a web browser we wrote which we don't support any longer
because firefox has moved away from supporting anything other than
javascript but it works just fine with ff up to version 42 I believe.

git clone http://bmcginty.us/clifox.git

Here is another full text browser which we also don't support any
longer but for the sake of examples you can certainly look through the
code to see how it was done. The same way as clifox actually. We
morphed wb into clifox on many levels.

git clone http://linux-speakup.org/wb.git

I hope these are useful examples.

   Kirk

On Sun, 4 Dec 2016, Manuel Cortéz wrote:

> Hi,
>
>
> Thank you all for your replies. I have tried the same code using 
> libcurses in C and it works properly, however for python I have to 
> switch to highlights tracking in speakup to do the job. So I think I'll 
> use the C library for making the menus and call stuff from that, or try 
> to look a way for changing this preference in speakup every time I'd 
> need it.
>
>
> Btw, I think the function for changing the cursor mode is the 
> curs_set(int); (0=invisible, 1=normal mode, 2=high visibility mode).
>
>
>
>
> El 30/11/2016 a las 11:40 p. m., Willem van der Walt escribió:
>> One would have to go through its documentation to find how to code it, 
>> but look at curses-based programs like lynx which has the 
>> --show-cursor option.
>> FWIW, Willem
>>
>>
>> On Wed, 30 Nov 2016, Jude DaShiell wrote:
>>
>>> How can curses be told not to lock the cursor?
>>>
>>> On Wed, 30 Nov 2016, Willem van der Walt wrote:
>>>
>>>> Date: Wed, 30 Nov 2016 05:43:37
>>>> From: Willem van der Walt <wvdwalt at csir.co.za>
>>>> Reply-To: Speakup is a screen review system for Linux.
>>>>     <speakup at linux-speakup.org>
>>>> To: Speakup is a screen review system for Linux. 
>>> <speakup at linux-speakup.org>
>>>> Subject: Re: A few questions about speakup
>>>>
>>>> Hi,
>>>> curses by default locks the cursor in one spot on the screen.
>>>> Pressing the button second from right in the top row of the numeric 
>>>> pad, switches the cursor tracking of speakup.
>>>> curses can be told not to lock the cursor.
>>>> I am sure you can use python, as I think it is simply, at the end of 
>>>> the 
>>> day,
>>>> use the default curses library on your system.
>>>>
>>>> I am not running the latest speakup, so might be out of date here, 
>>>> but utf-8 does not work when you use cut and paste, although they 
>>>> appear correct on the screen.
>>>> HTH, Willem
>>>>
>>>>  On Wed, 30 Nov 2016, Manuel Cort?z wrote:
>>>>
>>>>> hello everyone,
>>>>>
>>>>> I just decided to subscribe to this list for talking about speakup. 
>>>>> I have been using it some years ago for accessing to the Linux 
>>>>> console (my main environment was gnome, though). Now I'd like to 
>>>>> ask you a few questions, because I am trying to use only the 
>>>>> console and speakup is a very important part of my learning curve.
>>>>>
>>>>> 1. I have been noticing that there are some programs that are 
>>>>> pretty accessible with Speakup, others that require some 
>>>>> modifications (config files or speakup modifications) to improve 
>>>>> their accessibility with the screen reader, but I'd like to know 
>>>>> how much accessible are ncurses based interfaces with speakup? for 
>>>>> a small project I am trying to do, I have to create a few menus and 
>>>>> some other widgets in the console, so I've decided to use the 
>>>>> python programming language and the curses module already included. 
>>>>> But for a strange reason, all of the examples > 
>>>> that I have found don't work properly with speakup, and I am not sure
>>>>> exactly why. I couldn't find any documentation regarding to this. 
>>>>> Do i > 
>>>> have to do something for improving the curses accessibility from 
>>>> Python?
>>>>> Do I need to use another programming language?
>>>>>
>>>>> 2. English is not my first language, so I've installed the 
>>>>> speakup-tools package and tried to look for a translation in my 
>>>>> language (Spanish) but it is not created yet. So basically I've 
>>>>> downloaded the repository at 
>>>>> http://linux-speakup.org/speakup-tools.git and started to work in a 
>>>>> few improvements and a spanish translation for the speakup 
>>>>> messages. Seems > 
>>>> it's working properly. I also have changed the speakup_setlocale script
>>>>> (I have not added this modification to the script located in the 
>>>>> repository, yet) so it list all directories in @pkgdatadir, looks 
>>>>> for a file called languagename in every directory and shows a menu 
>>>>> with all available languages. If called with -l you can set the 
>>>>> language code directly. Is it possible to send changes upstream 
>>>>> somewhere?
>>>>>
>>>>> 3. I am learning russian, and I've noticed that there isn not a 
>>>>> russian translation for speakup, it would be OK if we could create 
>>>>> a translation for this language? More specifically, do you think 
>>>>> speakup will not have issues with the russian characters and their 
>>>>> encoding? (I assume it would be UTF-8, but I'd need to test).
>>>>>
>>>>> thank you in advance for your work in the Linux community.
>>>>>
>>>>> Best Regards,
>>>>> Manuel.
>>>>> _______________________________________________
>>>>> Speakup mailing list
>>>>> Speakup at linux-speakup.org
>>>>> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>>>>>
>>>> -- 
>>>>
>>>> This message is subject to the CSIR's copyright terms and conditions, 
>>> e-mail
>>>> legal notice, and implemented Open Document Format (ODF) standard. 
>>>> The full disclaimer details can be found at 
>>>> http://www.csir.co.za/disclaimer.html.
>>>> Please consider the environment before printing this email. 
>>>> _______________________________________________
>>>> Speakup mailing list
>>>> Speakup at linux-speakup.org
>>>> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>>>>
>>>
>>> -- 
>>>
>>> _______________________________________________
>>> Speakup mailing list
>>> Speakup at linux-speakup.org
>>> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>>>
>>
>> -- 
>>
>> This message is subject to the CSIR's copyright terms and conditions, 
>> e-mail legal notice, and implemented Open Document Format (ODF) 
>> standard. The full disclaimer details can be found at 
>> http://www.csir.co.za/disclaimer.html.
>> Please consider the environment before printing this email. 
>> _______________________________________________
>> Speakup mailing list
>> Speakup at linux-speakup.org
>> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>
> _______________________________________________
> Speakup mailing list
> Speakup at linux-speakup.org
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>

-- 
Well that's it then, colour me secure!

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1

mQENBFYV5DMBCAC060mbsnLhGPjnFkf0R0p+7MxcfxlOuy5wc8y59y9ZNF0RZD1s
OTEsDih4vD9YJ3zA78VsBUDK47aiDWduh3nHzYN2ZSuxAQ9u7qPqphCG0jPagTU8
p7+Ceeya4I5odWtq+Nkf1UrHB7KKEtexphStSwUG5Bhi4bb84Yinm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