CPAN module Term::Clui
Steve Holmes
steve at holmesgrown.com
Thu Nov 11 11:12:55 EST 2010
I have never had an occasion to use this but it sounds interesting. I
had no idea any extra attention was paid to make it self voicing.
Thanks for telling us. I might have to give it a try some time.
On Thu, Nov 11, 2010 at 09:11:33PM +1000, pj at pjb.com.au wrote:
> Greetings,
>
> I'm a CPAN author and have recently been taking an interest in linux
> for the visually impaired. I'm mainly interested in setups using
> speakup, and ebrowse or emacspeak. One of my modules is Term::Clui
> http://search.cpan.org/perldoc?Term::Clui
> http://search.cpan.org/~pjb/Term-Clui-1.62/Clui.pm
> which offers a high-level user interface to give command-line
> applications a consistent "look and feel". Its metaphor for the
> computer is as a human-like conversation-partner, and as each
> question/response is completed, it gets summarised onto one line and
> remains on-screen, so that the history of the session gradually
> accumulates on the screen and is available for review, or for cut/paste.
>
> Since version 1.60, a speaking interface is provided for the visually-
> impaired user; it now works with either eflite or espeak. Because
> Term::Clui's metaphor for the computer is a conversation-partner,
> this works naturally. The application needs no modification.
> Speech is turned on if the CLUI_SPEAK environment variable is
> set to a non-empty string. Since 1.62, if speakup is running,
> it is silenced while Term::Clui runs, and then restored.
>
> It doesn't use speech-dispatcher yet because that package doesn't
> seem to work on my debian squeeze.
>
> There is an equivalent Python3 module, with (as far as possible)
> the same calling interface,
> http://www.pjb.com.au/midi/TermClui.html
> at
> http://cpansearch.perl.org/src/PJB/Term-Clui-1.62/py/TermClui.py
> which you just have to copy into your PYTHONPATH.
>
> I'd be glad to hear from perl-folk or python-folk about how
> Term::Clui relates, in practice, to visually-impaired use...
>
> Regards, Peter Billam
>
> http://www.pjb.com.au pj at pjb.com.au (03) 6278 9410
> "Was der Meister nicht kann, vermöcht es der Knabe, hätt er
> ihm immer gehorcht?" Siegfried to Mime, from Act 1 Scene 2
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
More information about the Speakup
mailing list