A few questions about speakup
Manuel Cortéz
manuel at manuelcortez.net
Sun Dec 4 13:19:22 EST 2016
Thank you very much for the code. I will take a look there.
El 04/12/2016 a las 10:38 a. m., Kirk Reiser escribió:
> 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
>>
>
More information about the Speakup
mailing list