spkguide.txt 69 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625
  1. The Speakup User's Guide
  2. For Speakup 3.1.2 and Later
  3. By Gene Collins
  4. Updated by others
  5. Last modified on Mon Sep 27 14:26:31 2010
  6. Document version 1.3
  7. Copyright (c) 2005 Gene Collins
  8. Copyright (c) 2008, 2023 Samuel Thibault
  9. Copyright (c) 2009, 2010 the Speakup Team
  10. Permission is granted to copy, distribute and/or modify this document
  11. under the terms of the GNU Free Documentation License, Version 1.2 or
  12. any later version published by the Free Software Foundation; with no
  13. Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
  14. copy of the license is included in the section entitled "GNU Free
  15. Documentation License".
  16. Preface
  17. The purpose of this document is to familiarize users with the user
  18. interface to Speakup, a Linux Screen Reader. If you need instructions
  19. for installing or obtaining Speakup, visit the web site at
  20. http://linux-speakup.org/. Speakup is a set of patches to the standard
  21. Linux kernel source tree. It can be built as a series of modules, or as
  22. a part of a monolithic kernel. These details are beyond the scope of
  23. this manual, but the user may need to be aware of the module
  24. capabilities, depending on how your system administrator has installed
  25. Speakup. If Speakup is built as a part of a monolithic kernel, and the
  26. user is using a hardware synthesizer, then Speakup will be able to
  27. provide speech access from the time the kernel is loaded, until the time
  28. the system is shutdown. This means that if you have obtained Linux
  29. installation media for a distribution which includes Speakup as a part
  30. of its kernel, you will be able, as a blind person, to install Linux
  31. with speech access unaided by a sighted person. Again, these details
  32. are beyond the scope of this manual, but the user should be aware of
  33. them. See the web site mentioned above for further details.
  34. 1. Starting Speakup
  35. If your system administrator has installed Speakup to work with your
  36. specific synthesizer by default, then all you need to do to use Speakup
  37. is to boot your system, and Speakup should come up talking. This
  38. assumes of course that your synthesizer is a supported hardware
  39. synthesizer, and that it is either installed in or connected to your
  40. system, and is if necessary powered on.
  41. It is possible, however, that Speakup may have been compiled into the
  42. kernel with no default synthesizer. It is even possible that your
  43. kernel has been compiled with support for some of the supported
  44. synthesizers and not others. If you find that this is the case, and
  45. your synthesizer is supported but not available, complain to the person
  46. who compiled and installed your kernel. Or better yet, go to the web
  47. site, and learn how to patch Speakup into your own kernel source, and
  48. build and install your own kernel.
  49. If your kernel has been compiled with Speakup, and has no default
  50. synthesizer set, or you would like to use a different synthesizer than
  51. the default one, then you may issue the following command at the boot
  52. prompt of your boot loader.
  53. linux speakup.synth=ltlk
  54. This command would tell Speakup to look for and use a LiteTalk or
  55. DoubleTalk LT at boot up. You may replace the ltlk synthesizer keyword
  56. with the keyword for whatever synthesizer you wish to use. The
  57. speakup.synth parameter will accept the following keywords, provided
  58. that support for the related synthesizers has been built into the
  59. kernel.
  60. acntsa -- Accent SA
  61. acntpc -- Accent PC
  62. apollo -- Apollo
  63. audptr -- Audapter
  64. bns -- Braille 'n Speak
  65. dectlk -- DecTalk Express (old and new, db9 serial only)
  66. decext -- DecTalk (old) External
  67. dtlk -- DoubleTalk PC
  68. keypc -- Keynote Gold PC
  69. ltlk -- DoubleTalk LT, LiteTalk, or external Tripletalk (db9 serial only)
  70. spkout -- Speak Out
  71. txprt -- Transport
  72. dummy -- Plain text terminal
  73. Note: Speakup does * NOT * support the internal Tripletalk!
  74. Speakup does support two other synthesizers, but because they work in
  75. conjunction with other software, they must be loaded as modules after
  76. their related software is loaded, and so are not available at boot up.
  77. These are as follows:
  78. decpc -- DecTalk PC (not available at boot up)
  79. soft -- One of several software synthesizers (not available at boot up)
  80. By default speakup looks for the synthesizer on the ttyS0 serial port. This can
  81. be changed with the device parameter of the modules, for instance for
  82. DoubleTalk LT:
  83. speakup_ltlk.dev=ttyUSB0
  84. See the sections on loading modules and software synthesizers later in
  85. this manual for further details. It should be noted here that the
  86. speakup.synth boot parameter will have no effect if Speakup has been
  87. compiled as modules. In order for Speakup modules to be loaded during
  88. the boot process, such action must be configured by your system
  89. administrator. This will mean that you will hear some, but not all, of
  90. the bootup messages.
  91. 2. Basic operation
  92. Once you have booted the system, and if necessary, have supplied the
  93. proper bootup parameter for your synthesizer, Speakup will begin
  94. talking as soon as the kernel is loaded. In fact, it will talk a lot!
  95. It will speak all the boot up messages that the kernel prints on the
  96. screen during the boot process. This is because Speakup is not a
  97. separate screen reader, but is actually built into the operating
  98. system. Since almost all console applications must print text on the
  99. screen using the kernel, and must get their keyboard input through the
  100. kernel, they are automatically handled properly by Speakup. There are a
  101. few exceptions, but we'll come to those later.
  102. Note: In this guide I will refer to the numeric keypad as the keypad.
  103. This is done because the speakupmap.map file referred to later in this
  104. manual uses the term keypad instead of numeric keypad. Also I'm lazy
  105. and would rather only type one word. So keypad it is. Got it? Good.
  106. Most of the Speakup review keys are located on the keypad at the far
  107. right of the keyboard. The numlock key should be off, in order for these
  108. to work. If you toggle the numlock on, the keypad will produce numbers,
  109. which is exactly what you want for spreadsheets and such. For the
  110. purposes of this guide, you should have the numlock turned off, which is
  111. its default state at bootup.
  112. You probably won't want to listen to all the bootup messages every time
  113. you start your system, though it's a good idea to listen to them at
  114. least once, just so you'll know what kind of information is available to
  115. you during the boot process. You can always review these messages after
  116. bootup with the command:
  117. dmesg | more
  118. In order to speed the boot process, and to silence the speaking of the
  119. bootup messages, just press the keypad enter key. This key is located
  120. in the bottom right corner of the keypad. Speakup will shut up and stay
  121. that way, until you press another key.
  122. You can check to see if the boot process has completed by pressing the 8
  123. key on the keypad, which reads the current line. This also has the
  124. effect of starting Speakup talking again, so you can press keypad enter
  125. to silence it again if the boot process has not completed.
  126. When the boot process is complete, you will arrive at a "login" prompt.
  127. At this point, you'll need to type in your user id and password, as
  128. provided by your system administrator. You will hear Speakup speak the
  129. letters of your user id as you type it, but not the password. This is
  130. because the password is not displayed on the screen for security
  131. reasons. This has nothing to do with Speakup, it's a Linux security
  132. feature.
  133. Once you've logged in, you can run any Linux command or program which is
  134. allowed by your user id. Normal users will not be able to run programs
  135. which require root privileges.
  136. When you are running a program or command, Speakup will automatically
  137. speak new text as it arrives on the screen. You can at any time silence
  138. the speech with keypad enter, or use any of the Speakup review keys.
  139. Here are some basic Speakup review keys, and a short description of what
  140. they do.
  141. keypad 1 -- read previous character
  142. keypad 2 -- read current character (pressing keypad 2 twice rapidly will speak
  143. the current character phonetically)
  144. keypad 3 -- read next character
  145. keypad 4 -- read previous word
  146. keypad 5 -- read current word (press twice rapidly to spell the current word)
  147. keypad 6 -- read next word
  148. keypad 7 -- read previous line
  149. keypad 8 -- read current line (press twice rapidly to hear how much the
  150. text on the current line is indented)
  151. keypad 9 -- read next line
  152. keypad period -- speak current cursor position and announce current
  153. virtual console
  154. It's also worth noting that the insert key on the keypad is mapped
  155. as the speakup key. Instead of pressing and releasing this key, as you
  156. do under DOS or Windows, you hold it like a shift key, and press other
  157. keys in combination with it. For example, repeatedly holding keypad
  158. insert, from now on called speakup, and keypad enter will toggle the
  159. speaking of new text on the screen on and off. This is not the same as
  160. just pressing keypad enter by itself, which just silences the speech
  161. until you hit another key. When you hit speakup plus keypad enter,
  162. Speakup will say, "You turned me off.", or "Hey, that's better." When
  163. Speakup is turned off, no new text on the screen will be spoken. You
  164. can still use the reading controls to review the screen however.
  165. 3. Using the Speakup Help System
  166. In order to enter the Speakup help system, press and hold the speakup
  167. key (remember that this is the keypad insert key), and press the f1 key.
  168. You will hear the message:
  169. "Press space to leave help, cursor up or down to scroll, or a letter to
  170. go to commands in list."
  171. When you press the spacebar to leave the help system, you will hear:
  172. "Leaving help."
  173. While you are in the Speakup help system, you can scroll up or down
  174. through the list of available commands using the cursor keys. The list
  175. of commands is arranged in alphabetical order. If you wish to jump to
  176. commands in a specific part of the alphabet, you may press the letter of
  177. the alphabet you wish to jump to.
  178. You can also just explore by typing keyboard keys. Pressing keys will
  179. cause Speakup to speak the command associated with that key. For
  180. example, if you press the keypad 8 key, you will hear:
  181. "Keypad 8 is line, say current."
  182. You'll notice that some commands do not have keys assigned to them.
  183. This is because they are very infrequently used commands, and are also
  184. accessible through the sys system. We'll discuss the sys system later
  185. in this manual.
  186. You'll also notice that some commands have two keys assigned to them.
  187. This is because Speakup has a built in set of alternative key bindings
  188. for laptop users. The alternate speakup key is the caps lock key. You
  189. can press and hold the caps lock key, while pressing an alternate
  190. speakup command key to activate the command. On most laptops, the
  191. numeric keypad is defined as the keys in the j k l area of the keyboard.
  192. There is usually a function key which turns this keypad function on and
  193. off, and some other key which controls the numlock state. Toggling the
  194. keypad functionality on and off can become a royal pain. So, Speakup
  195. gives you a simple way to get at an alternative set of key mappings for
  196. your laptop. These are also available by default on desktop systems,
  197. because Speakup does not know whether it is running on a desktop or
  198. laptop. So you may choose which set of Speakup keys to use. Some
  199. system administrators may have chosen to compile Speakup for a desktop
  200. system without this set of alternate key bindings, but these details are
  201. beyond the scope of this manual. To use the caps lock for its normal
  202. purpose, hold the shift key while toggling the caps lock on and off. We
  203. should note here, that holding the caps lock key and pressing the z key
  204. will toggle the alternate j k l keypad on and off.
  205. 4. Keys and Their Assigned Commands
  206. In this section, we'll go through a list of all the speakup keys and
  207. commands. You can also get a list of commands and assigned keys from
  208. the help system.
  209. The following list was taken from the speakupmap.map file. Key
  210. assignments are on the left of the equal sign, and the associated
  211. Speakup commands are on the right. The designation "spk" means to press
  212. and hold the speakup key, a.k.a. keypad insert, a.k.a. caps lock, while
  213. pressing the other specified key.
  214. spk key_f9 = punc_level_dec
  215. spk key_f10 = punc_level_inc
  216. spk key_f11 = reading_punc_dec
  217. spk key_f12 = reading_punc_inc
  218. spk key_1 = vol_dec
  219. spk key_2 = vol_inc
  220. spk key_3 = pitch_dec
  221. spk key_4 = pitch_inc
  222. spk key_5 = rate_dec
  223. spk key_6 = rate_inc
  224. key_kpasterisk = toggle_cursoring
  225. spk key_kpasterisk = speakup_goto
  226. spk key_f1 = speakup_help
  227. spk key_f2 = set_win
  228. spk key_f3 = clear_win
  229. spk key_f4 = enable_win
  230. spk key_f5 = edit_some
  231. spk key_f6 = edit_most
  232. spk key_f7 = edit_delim
  233. spk key_f8 = edit_repeat
  234. shift spk key_f9 = edit_exnum
  235. key_kp7 = say_prev_line
  236. spk key_kp7 = left_edge
  237. key_kp8 = say_line
  238. double key_kp8 = say_line_indent
  239. spk key_kp8 = say_from_top
  240. key_kp9 = say_next_line
  241. spk key_kp9 = top_edge
  242. key_kpminus = speakup_parked
  243. spk key_kpminus = say_char_num
  244. key_kp4 = say_prev_word
  245. spk key_kp4 = say_from_left
  246. key_kp5 = say_word
  247. double key_kp5 = spell_word
  248. spk key_kp5 = spell_phonetic
  249. key_kp6 = say_next_word
  250. spk key_kp6 = say_to_right
  251. key_kpplus = say_screen
  252. spk key_kpplus = say_win
  253. key_kp1 = say_prev_char
  254. spk key_kp1 = right_edge
  255. key_kp2 = say_char
  256. spk key_kp2 = say_to_bottom
  257. double key_kp2 = say_phonetic_char
  258. key_kp3 = say_next_char
  259. spk key_kp3 = bottom_edge
  260. key_kp0 = spk_key
  261. key_kpdot = say_position
  262. spk key_kpdot = say_attributes
  263. key_kpenter = speakup_quiet
  264. spk key_kpenter = speakup_off
  265. key_sysrq = speech_kill
  266. key_kpslash = speakup_cut
  267. spk key_kpslash = speakup_paste
  268. spk key_pageup = say_first_char
  269. spk key_pagedown = say_last_char
  270. key_capslock = spk_key
  271. spk key_z = spk_lock
  272. key_leftmeta = spk_key
  273. ctrl spk key_0 = speakup_goto
  274. spk key_u = say_prev_line
  275. spk key_i = say_line
  276. double spk key_i = say_line_indent
  277. spk key_o = say_next_line
  278. spk key_minus = speakup_parked
  279. shift spk key_minus = say_char_num
  280. spk key_j = say_prev_word
  281. spk key_k = say_word
  282. double spk key_k = spell_word
  283. spk key_l = say_next_word
  284. spk key_m = say_prev_char
  285. spk key_comma = say_char
  286. double spk key_comma = say_phonetic_char
  287. spk key_dot = say_next_char
  288. spk key_n = say_position
  289. ctrl spk key_m = left_edge
  290. ctrl spk key_y = top_edge
  291. ctrl spk key_dot = right_edge
  292. ctrl spk key_p = bottom_edge
  293. spk key_apostrophe = say_screen
  294. spk key_h = say_from_left
  295. spk key_y = say_from_top
  296. spk key_semicolon = say_to_right
  297. spk key_p = say_to_bottom
  298. spk key_slash = say_attributes
  299. spk key_enter = speakup_quiet
  300. ctrl spk key_enter = speakup_off
  301. spk key_9 = speakup_cut
  302. spk key_8 = speakup_paste
  303. shift spk key_m = say_first_char
  304. ctrl spk key_semicolon = say_last_char
  305. spk key_r = read_all_doc
  306. 5. The Speakup Sys System
  307. The Speakup screen reader also creates a speakup subdirectory as a part
  308. of the sys system.
  309. As a convenience, run as root
  310. ln -s /sys/accessibility/speakup /speakup
  311. to directly access speakup parameters from /speakup.
  312. You can see these entries by typing the command:
  313. ls -1 /speakup/*
  314. If you issue the above ls command, you will get back something like
  315. this:
  316. /speakup/attrib_bleep
  317. /speakup/bell_pos
  318. /speakup/bleep_time
  319. /speakup/bleeps
  320. /speakup/cursor_time
  321. /speakup/delimiters
  322. /speakup/ex_num
  323. /speakup/key_echo
  324. /speakup/keymap
  325. /speakup/no_interrupt
  326. /speakup/punc_all
  327. /speakup/punc_level
  328. /speakup/punc_most
  329. /speakup/punc_some
  330. /speakup/reading_punc
  331. /speakup/repeats
  332. /speakup/say_control
  333. /speakup/say_word_ctl
  334. /speakup/silent
  335. /speakup/spell_delay
  336. /speakup/synth
  337. /speakup/synth_direct
  338. /speakup/version
  339. /speakup/i18n:
  340. announcements
  341. characters
  342. chartab
  343. colors
  344. ctl_keys
  345. formatted
  346. function_names
  347. key_names
  348. states
  349. /speakup/soft:
  350. caps_start
  351. caps_stop
  352. delay_time
  353. direct
  354. freq
  355. full_time
  356. jiffy_delta
  357. pitch
  358. inflection
  359. punct
  360. rate
  361. tone
  362. trigger_time
  363. voice
  364. vol
  365. Notice the two subdirectories of /speakup: /speakup/i18n and
  366. /speakup/soft.
  367. The i18n subdirectory is described in a later section.
  368. The files under /speakup/soft represent settings that are specific to the
  369. driver for the software synthesizer. If you use the LiteTalk, your
  370. synthesizer-specific settings would be found in /speakup/ltlk. In other words,
  371. a subdirectory named /speakup/KWD is created to hold parameters specific
  372. to the device whose keyword is KWD.
  373. These parameters include volume, rate, pitch, and others.
  374. In addition to using the Speakup hot keys to change such things as
  375. volume, pitch, and rate, you can also echo values to the appropriate
  376. entry in the /speakup directory. This is very useful, since it
  377. lets you control Speakup parameters from within a script. How you
  378. would write such scripts is somewhat beyond the scope of this manual,
  379. but I will include a couple of simple examples here to give you a
  380. general idea of what such scripts can do.
  381. Suppose for example, that you wanted to control both the punctuation
  382. level and the reading punctuation level at the same time. For
  383. simplicity, we'll call them punc0, punc1, punc2, and punc3. The scripts
  384. might look something like this:
  385. #!/bin/bash
  386. # punc0
  387. # set punc and reading punc levels to 0
  388. echo 0 >/speakup/punc_level
  389. echo 0 >/speakup/reading_punc
  390. echo Punctuation level set to 0.
  391. #!/bin/bash
  392. # punc1
  393. # set punc and reading punc levels to 1
  394. echo 1 >/speakup/punc_level
  395. echo 1 >/speakup/reading_punc
  396. echo Punctuation level set to 1.
  397. #!/bin/bash
  398. # punc2
  399. # set punc and reading punc levels to 2
  400. echo 2 >/speakup/punc_level
  401. echo 2 >/speakup/reading_punc
  402. echo Punctuation level set to 2.
  403. #!/bin/bash
  404. # punc3
  405. # set punc and reading punc levels to 3
  406. echo 3 >/speakup/punc_level
  407. echo 3 >/speakup/reading_punc
  408. echo Punctuation level set to 3.
  409. If you were to store these four small scripts in a directory in your
  410. path, perhaps /usr/local/bin, and set the permissions to 755 with the
  411. chmod command, then you could change the default reading punc and
  412. punctuation levels at the same time by issuing just one command. For
  413. example, if you were to execute the punc3 command at your shell prompt,
  414. then the reading punc and punc level would both get set to 3.
  415. I should note that the above scripts were written to work with bash, but
  416. regardless of which shell you use, you should be able to do something
  417. similar.
  418. The Speakup sys system also has another interesting use. You can echo
  419. Speakup parameters into the sys system in a script during system
  420. startup, and speakup will return to your preferred parameters every time
  421. the system is rebooted.
  422. Most of the Speakup sys parameters can be manipulated by a regular user
  423. on the system. However, there are a few parameters that are dangerous
  424. enough that they should only be manipulated by the root user on your
  425. system. There are even some parameters that are read only, and cannot
  426. be written to at all. For example, the version entry in the Speakup
  427. sys system is read only. This is because there is no reason for a user
  428. to tamper with the version number which is reported by Speakup. Doing
  429. an ls -l on /speakup/version will return this:
  430. -r--r--r-- 1 root root 0 Mar 21 13:46 /speakup/version
  431. As you can see, the version entry in the Speakup sys system is read
  432. only, is owned by root, and belongs to the root group. Doing a cat of
  433. /speakup/version will display the Speakup version number, like
  434. this:
  435. cat /speakup/version
  436. Speakup v-2.00 CVS: Thu Oct 21 10:38:21 EDT 2004
  437. synth dtlk version 1.1
  438. The display shows the Speakup version number, along with the version
  439. number of the driver for the current synthesizer.
  440. Looking at entries in the Speakup sys system can be useful in many
  441. ways. For example, you might wish to know what level your volume is set
  442. at. You could type:
  443. cat /speakup/KWD/vol
  444. # Replace KWD with the keyword for your synthesizer, E.G., ltlk for LiteTalk.
  445. 5
  446. The number five which comes back is the level at which the synthesizer
  447. volume is set at.
  448. All the entries in the Speakup sys system are readable, some are
  449. writable by root only, and some are writable by everyone. Unless you
  450. know what you are doing, you should probably leave the ones that are
  451. writable by root only alone. Most of the names are self explanatory.
  452. Vol for controlling volume, pitch for pitch, inflection for pitch range, rate
  453. for controlling speaking rate, etc. If you find one you aren't sure about, you
  454. can post a query on the Speakup list.
  455. 6. Changing Synthesizers
  456. It is possible to change to a different synthesizer while speakup is
  457. running. In other words, it is not necessary to reboot the system
  458. in order to use a different synthesizer. You can simply echo the
  459. synthesizer keyword to the /speakup/synth sys entry.
  460. Depending on your situation, you may wish to echo none to the synth
  461. sys entry, to disable speech while one synthesizer is disconnected and
  462. a second one is connected in its place. Then echo the keyword for the
  463. new synthesizer into the synth sys entry in order to start speech
  464. with the newly connected synthesizer. See the list of synthesizer
  465. keywords in section 1 to find the keyword which matches your synth.
  466. 7. Loading modules
  467. As mentioned earlier, Speakup can either be completely compiled into the
  468. kernel, with the exception of the help module, or it can be compiled as
  469. a series of modules. When compiled as modules, Speakup will only be
  470. able to speak some of the bootup messages if your system administrator
  471. has configured the system to load the modules at boot time. The modules
  472. can be loaded after the file systems have been checked and mounted, or
  473. from an initrd. There is a third possibility. Speakup can be compiled
  474. with some components built into the kernel, and others as modules. As
  475. we'll see in the next section, this is particularly useful when you are
  476. working with software synthesizers.
  477. If Speakup is completely compiled as modules, then you must use the
  478. modprobe command to load Speakup. You do this by loading the module for
  479. the synthesizer driver you wish to use. The driver modules are all
  480. named speakup_<keyword>, where <keyword> is the keyword for the
  481. synthesizer you want. So, in order to load the driver for the DecTalk
  482. Express, you would type the following command:
  483. modprobe speakup_dectlk
  484. Issuing this command would load the DecTalk Express driver and all other
  485. related Speakup modules necessary to get Speakup up and running.
  486. To completely unload Speakup, again presuming that it is entirely built
  487. as modules, you would give the command:
  488. modprobe -r speakup_dectlk
  489. The above command assumes you were running a DecTalk Express. If you
  490. were using a different synth, then you would substitute its keyword in
  491. place of dectlk.
  492. If you have multiple drivers loaded, you need to unload all of them, in
  493. order to completely unload Speakup.
  494. For example, if you have loaded both the dectlk and ltlk drivers, use the
  495. command:
  496. modprobe -r speakup_dectlk speakup_ltlk
  497. You cannot unload the driver for software synthesizers when a user-space
  498. daemon is using /dev/softsynth. First, kill the daemon. Next, remove
  499. the driver with the command:
  500. modprobe -r speakup_soft
  501. Now, suppose we have a situation where the main Speakup component
  502. is built into the kernel, and some or all of the drivers are built as
  503. modules. Since the main part of Speakup is compiled into the kernel, a
  504. partial Speakup sys system has been created which we can take advantage
  505. of by simply echoing the synthesizer keyword into the
  506. /speakup/synth sys entry. This will cause the kernel to
  507. automatically load the appropriate driver module, and start Speakup
  508. talking. To switch to another synth, just echo a new keyword to the
  509. synth sys entry. For example, to load the DoubleTalk LT driver,
  510. you would type:
  511. echo ltlk >/speakup/synth
  512. You can use the modprobe -r command to unload driver modules, regardless
  513. of whether the main part of Speakup has been built into the kernel or
  514. not.
  515. 8. Using Software Synthesizers
  516. Using a software synthesizer requires that some other software be
  517. installed and running on your system. For this reason, software
  518. synthesizers are not available for use at bootup, or during a system
  519. installation process.
  520. There are two freely-available solutions for software speech: Espeakup and
  521. Speech Dispatcher.
  522. These are described in subsections 8.1 and 8.2, respectively.
  523. During the rest of this section, we assume that speakup_soft is either
  524. built in to your kernel, or loaded as a module.
  525. If your system does not have udev installed , before you can use a
  526. software synthesizer, you must have created the /dev/softsynth device.
  527. If you have not already done so, issue the following commands as root:
  528. cd /dev
  529. mknod softsynth c 10 26
  530. While we are at it, we might just as well create the /dev/synth device,
  531. which can be used to let user space programs send information to your
  532. synthesizer. To create /dev/synth, change to the /dev directory, and
  533. issue the following command as root:
  534. mknod synth c 10 25
  535. of both.
  536. 8.1. Espeakup
  537. Espeakup is a connector between Speakup and the eSpeak software synthesizer.
  538. Espeakup may already be available as a package for your distribution
  539. of Linux. If it is not packaged, you need to install it manually.
  540. You can find it in the contrib/ subdirectory of the Speakup sources.
  541. The filename is espeakup-$VERSION.tar.bz2, where $VERSION
  542. depends on the current release of Espeakup. The Speakup 3.1.2 source
  543. ships with version 0.71 of Espeakup.
  544. The README file included with the Espeakup sources describes the process
  545. of manual installation.
  546. Assuming that Espeakup is installed, either by the user or by the distributor,
  547. follow these steps to use it.
  548. Tell Speakup to use the "soft driver:
  549. echo soft > /speakup/synth
  550. Finally, start the espeakup program. There are two ways to do it.
  551. Both require root privileges.
  552. If Espeakup was installed as a package for your Linux distribution,
  553. you probably have a distribution-specific script that controls the operation
  554. of the daemon. Look for a file named espeakup under /etc/init.d or
  555. /etc/rc.d. Execute the following command with root privileges:
  556. /etc/init.d/espeakup start
  557. Replace init.d with rc.d, if your distribution uses scripts located under
  558. /etc/rc.d.
  559. Your distribution will also have a procedure for starting daemons at
  560. boot-time, so it is possible to have software speech as soon as user-space
  561. daemons are started by the bootup scripts.
  562. These procedures are not described in this document.
  563. If you built Espeakup manually, the "make install" step placed the binary
  564. under /usr/bin.
  565. Run the following command as root:
  566. /usr/bin/espeakup
  567. Espeakup should start speaking.
  568. 8.2. Speech Dispatcher
  569. For this option, you must have a package called
  570. Speech Dispatcher running on your system, and it must be configured to
  571. work with one of its supported software synthesizers.
  572. Two open source synthesizers you might use are Flite and Festival. You
  573. might also choose to purchase the Software DecTalk from Fonix Sales Inc.
  574. If you run a google search for Fonix, you'll find their web site.
  575. You can obtain a copy of Speech Dispatcher from free(b)soft at
  576. http://www.freebsoft.org/. Follow the installation instructions that
  577. come with Speech Dispatcher in order to install and configure Speech
  578. Dispatcher. You can check out the web site for your Linux distribution
  579. in order to get a copy of either Flite or Festival. Your Linux
  580. distribution may also have a precompiled Speech Dispatcher package.
  581. Once you've installed, configured, and tested Speech Dispatcher with your
  582. chosen software synthesizer, you still need one more piece of software
  583. in order to make things work. You need a package called speechd-up.
  584. You get it from the free(b)soft web site mentioned above. After you've
  585. compiled and installed speechd-up, you are almost ready to begin using
  586. your software synthesizer.
  587. Now you can begin using your software synthesizer. In order to do so,
  588. echo the soft keyword to the synth sys entry like this:
  589. echo soft >/speakup/synth
  590. Next run the speechd_up command like this:
  591. speechd_up &
  592. Your synth should now start talking, and you should be able to adjust
  593. the pitch, rate, etc.
  594. 9. Using The DecTalk PC Card
  595. The DecTalk PC card is an ISA card that is inserted into one of the ISA
  596. slots in your computer. It requires that the DecTalk PC software be
  597. installed on your computer, and that the software be loaded onto the
  598. Dectalk PC card before it can be used.
  599. You can get the dec_pc.tgz file from the linux-speakup.org site. The
  600. dec_pc.tgz file is in the ~ftp/pub/linux/speakup directory.
  601. After you have downloaded the dec_pc.tgz file, untar it in your home
  602. directory, and read the Readme file in the newly created dec_pc
  603. directory.
  604. The easiest way to get the software working is to copy the entire dec_pc
  605. directory into /user/local/lib. To do this, su to root in your home
  606. directory, and issue the command:
  607. cp dec_pc /usr/local/lib
  608. You will need to copy the dtload command from the dec_pc directory to a
  609. directory in your path. Either /usr/bin or /usr/local/bin is a good
  610. choice.
  611. You can now run the dtload command in order to load the DecTalk PC
  612. software onto the card. After you have done this, echo the decpc
  613. keyword to the synth entry in the sys system like this:
  614. echo decpc >/speakup/synth
  615. Your DecTalk PC should start talking, and then you can adjust the pitch,
  616. rate, volume, voice, etc. The voice entry in the Speakup sys system
  617. will accept a number from 0 through 7 for the DecTalk PC synthesizer,
  618. which will give you access to some of the DecTalk voices.
  619. 10. Using Cursor Tracking
  620. In Speakup version 2.0 and later, cursor tracking is turned on by
  621. default. This means that when you are using an editor, Speakup will
  622. automatically speak characters as you move left and right with the
  623. cursor keys, and lines as you move up and down with the cursor keys.
  624. This is the traditional sort of cursor tracking.
  625. Recent versions of Speakup provide two additional ways to control the
  626. text that is spoken when the cursor is moved:
  627. "highlight tracking" and "read window."
  628. They are described later in this section.
  629. Sometimes, these modes get in your way, so you can disable cursor tracking
  630. altogether.
  631. You may select among the various forms of cursor tracking using the keypad
  632. asterisk key.
  633. Each time you press this key, a new mode is selected, and Speakup speaks
  634. the name of the new mode. The names for the four possible states of cursor
  635. tracking are: "cursoring on", "highlight tracking", "read window",
  636. and "cursoring off." The keypad asterisk key moves through the list of
  637. modes in a circular fashion.
  638. If highlight tracking is enabled, Speakup tracks highlighted text,
  639. rather than the cursor itself. When you move the cursor with the arrow keys,
  640. Speakup speaks the currently highlighted information.
  641. This is useful when moving through various menus and dialog boxes.
  642. If cursor tracking isn't helping you while navigating a menu,
  643. try highlight tracking.
  644. With the "read window" variety of cursor tracking, you can limit the text
  645. that Speakup speaks by specifying a window of interest on the screen.
  646. See section 15 for a description of the process of defining windows.
  647. When you move the cursor via the arrow keys, Speakup only speaks
  648. the contents of the window. This is especially helpful when you are hearing
  649. superfluous speech. Consider the following example.
  650. Suppose that you are at a shell prompt. You use bash, and you want to
  651. explore your command history using the up and down arrow keys. If you
  652. have enabled cursor tracking, you will hear two pieces of information.
  653. Speakup speaks both your shell prompt and the current entry from the
  654. command history. You may not want to hear the prompt repeated
  655. each time you move, so you can silence it by specifying a window. Find
  656. the last line of text on the screen. Clear the current window by pressing
  657. the key combination speakup f3. Use the review cursor to find the first
  658. character that follows your shell prompt. Press speakup + f2 twice, to
  659. define a one-line window. The boundaries of the window are the
  660. character following the shell prompt and the end of the line. Now, cycle
  661. through the cursor tracking modes using keypad asterisk, until Speakup
  662. says "read window." Move through your history using your arrow keys.
  663. You will notice that Speakup no longer speaks the redundant prompt.
  664. Some folks like to turn cursor tracking off while they are using the
  665. lynx web browser. You definitely want to turn cursor tracking off when
  666. you are using the alsamixer application. Otherwise, you won't be able
  667. to hear your mixer settings while you are using the arrow keys.
  668. 11. Cut and Paste
  669. One of Speakup's more useful features is the ability to cut and paste
  670. text on the screen. This means that you can capture information from a
  671. program, and paste that captured text into a different place in the
  672. program, or into an entirely different program, which may even be
  673. running on a different console.
  674. For example, in this manual, we have made references to several web
  675. sites. It would be nice if you could cut and paste these urls into your
  676. web browser. Speakup does this quite nicely. Suppose you wanted to
  677. past the following url into your browser:
  678. http://linux-speakup.org/
  679. Use the speakup review keys to position the reading cursor on the first
  680. character of the above url. When the reading cursor is in position,
  681. press the keypad slash key once. Speakup will say, "mark". Next,
  682. position the reading cursor on the rightmost character of the above
  683. url. Press the keypad slash key once again to actually cut the text
  684. from the screen. Speakup will say, "cut". Although we call this
  685. cutting, Speakup does not actually delete the cut text from the screen.
  686. It makes a copy of the text in a special buffer for later pasting.
  687. Now that you have the url cut from the screen, you can paste it into
  688. your browser, or even paste the url on a command line as an argument to
  689. your browser.
  690. Suppose you want to start lynx and go to the Speakup site.
  691. You can switch to a different console with the alt left and right
  692. arrows, or you can switch to a specific console by typing alt and a
  693. function key. These are not Speakup commands, just standard Linux
  694. console capabilities.
  695. Once you've changed to an appropriate console, and are at a shell prompt,
  696. type the word lynx, followed by a space. Now press and hold the speakup
  697. key, while you type the keypad slash character. The url will be pasted
  698. onto the command line, just as though you had typed it in. Press the
  699. enter key to execute the command.
  700. The paste buffer will continue to hold the cut information, until a new
  701. mark and cut operation is carried out. This means you can paste the cut
  702. information as many times as you like before doing another cut
  703. operation.
  704. You are not limited to cutting and pasting only one line on the screen.
  705. You can also cut and paste rectangular regions of the screen. Just
  706. position the reading cursor at the top left corner of the text to be
  707. cut, mark it with the keypad slash key, then position the reading cursor
  708. at the bottom right corner of the region to be cut, and cut it with the
  709. keypad slash key.
  710. 12. Changing the Pronunciation of Characters
  711. Through the /speakup/i18n/characters sys entry, Speakup gives you the
  712. ability to change how Speakup pronounces a given character. You could,
  713. for example, change how some punctuation characters are spoken. You can
  714. even change how Speakup will pronounce certain letters.
  715. You may, for example, wish to change how Speakup pronounces the z
  716. character. The author of Speakup, Kirk Reiser, is Canadian, and thus
  717. believes that the z should be pronounced zed. If you are an American,
  718. you might wish to use the zee pronunciation instead of zed. You can
  719. change the pronunciation of both the upper and lower case z with the
  720. following two commands:
  721. echo 90 zee >/speakup/characters
  722. echo 122 zee >/speakup/characters
  723. Let's examine the parts of the two previous commands. They are issued
  724. at the shell prompt, and could be placed in a startup script.
  725. The word echo tells the shell that you want to have it display the
  726. string of characters that follow the word echo. If you were to just
  727. type:
  728. echo hello.
  729. You would get the word hello printed on your screen as soon as you
  730. pressed the enter key. In this case, we are echoing strings that we
  731. want to be redirected into the sys system.
  732. The numbers 90 and 122 in the above echo commands are the ascii numeric
  733. values for the upper and lower case z, the characters we wish to change.
  734. The string zee is the pronunciation that we want Speakup to use for the
  735. upper and lower case z.
  736. The > symbol redirects the output of the echo command to a file, just
  737. like in DOS, or at the Windows command prompt.
  738. And finally, /speakup/i18n/characters is the file entry in the sys system
  739. where we want the output to be directed. Speakup looks at the numeric
  740. value of the character we want to change, and inserts the pronunciation
  741. string into an internal table.
  742. You can look at the whole table with the following command:
  743. cat /speakup/i18n/characters
  744. Speakup will then print out the entire character pronunciation table. I
  745. won't display it here, but leave you to look at it at your convenience.
  746. 13. Mapping Keys
  747. Speakup has the capability of allowing you to assign or "map" keys to
  748. internal Speakup commands. This section necessarily assumes you have a
  749. Linux kernel source tree installed, and that it has been patched and
  750. configured with Speakup. How you do this is beyond the scope of this
  751. manual. For this information, visit the Speakup web site at
  752. http://linux-speakup.org/. The reason you'll need the kernel source
  753. tree patched with Speakup is that the genmap utility you'll need for
  754. processing keymaps is in the
  755. /usr/src/linux-<version_number>/drivers/char/speakup directory. The
  756. <version_number> in the above directory path is the version number of
  757. the Linux source tree you are working with.
  758. So ok, you've gone off and gotten your kernel source tree, and patched
  759. and configured it. Now you can start manipulating keymaps.
  760. You can either use the
  761. /usr/src/linux-<version_number>/drivers/char/speakup/speakupmap.map file
  762. included with the Speakup source, or you can cut and paste the copy in
  763. section 4 into a separate file. If you use the one in the Speakup
  764. source tree, make sure you make a backup of it before you start making
  765. changes. You have been warned!
  766. Suppose that you want to swap the key assignments for the Speakup
  767. say_last_char and the Speakup say_first_char commands. The
  768. speakupmap.map lists the key mappings for these two commands as follows:
  769. spk key_pageup = say_first_char
  770. spk key_pagedown = say_last_char
  771. You can edit your copy of the speakupmap.map file and swap the command
  772. names on the right side of the = (equals) sign. You did make a backup,
  773. right? The new keymap lines would look like this:
  774. spk key_pageup = say_last_char
  775. spk key_pagedown = say_first_char
  776. After you edit your copy of the speakupmap.map file, save it under a new
  777. file name, perhaps newmap.map. Then exit your editor and return to the
  778. shell prompt.
  779. You are now ready to load your keymap with your swapped key assignments.
  780. Assuming that you saved your new keymap as the file newmap.map, you
  781. would load your keymap into the sys system like this:
  782. /usr/src/linux-<version_number>/drivers/char/speakup/genmap newmap.map
  783. >/speakup/keymap
  784. Remember to substitute your kernel version number for the
  785. <version_number> in the above command. Also note that although the
  786. above command wrapped onto two lines in this document, you should type
  787. it all on one line.
  788. Your say first and say last characters should now be swapped. Pressing
  789. speakup pagedown should read you the first non-whitespace character on
  790. the line your reading cursor is in, and pressing speakup pageup should
  791. read you the last character on the line your reading cursor is in.
  792. You should note that these new mappings will only stay in effect until
  793. you reboot, or until you load another keymap.
  794. One final warning. If you try to load a partial map, you will quickly
  795. find that all the mappings you didn't include in your file got deleted
  796. from the working map. Be extremely careful, and always make a backup!
  797. You have been warned!
  798. 14. Internationalizing Speakup
  799. Speakup indicates various conditions to the user by speaking messages.
  800. For instance, when you move to the left edge of the screen with the
  801. review keys, Speakup says, "left."
  802. Prior to version 3.1.0 of Speakup, all of these messages were in English,
  803. and they could not be changed. If you used a non-English synthesizer,
  804. you still heard English messages, such as "left" and "cursoring on."
  805. In version 3.1.0 or higher, one may load translations for the various
  806. messages via the /sys filesystem.
  807. The directory /speakup/i18n contains several collections of messages.
  808. Each group of messages is stored in its own file.
  809. The following section lists all of these files, along with a brief description
  810. of each.
  811. 14.1. Files Under the i18n Subdirectory
  812. * announcements:
  813. This file contains various general announcements, most of which cannot
  814. be categorized. You will find messages such as "You killed Speakup",
  815. "I'm alive", "leaving help", "parked", "unparked", and others.
  816. You will also find the names of the screen edges and cursor tracking modes
  817. here.
  818. * characters:
  819. See section 12 for a description of this file.
  820. * chartab:
  821. See section 12. Unlike the rest of the files in the i18n subdirectory,
  822. this one does not contain messages to be spoken.
  823. * colors:
  824. When you use the "say attributes" function, Speakup says the name of the
  825. foreground and background colors. These names come from the i18n/colors
  826. file.
  827. * ctl_keys:
  828. Here, you will find names of control keys. These are used with Speakup's
  829. say_control feature.
  830. * formatted:
  831. This group of messages contains embedded formatting codes, to specify
  832. the type and width of displayed data. If you change these, you must
  833. preserve all of the formatting codes, and they must appear in the order
  834. used by the default messages.
  835. * function_names:
  836. Here, you will find a list of names for Speakup functions. These are used
  837. by the help system. For example, suppose that you have activated help mode,
  838. and you pressed keypad 3. Speakup says:
  839. "keypad 3 is character, say next."
  840. The message "character, say next" names a Speakup function, and it
  841. comes from this function_names file.
  842. * key_names:
  843. Again, key_names is used by Speakup's help system. In the previous
  844. example, Speakup said that you pressed "keypad 3."
  845. This name came from the key_names file.
  846. * states:
  847. This file contains names for key states.
  848. Again, these are part of the help system. For instance, if you had pressed
  849. speakup + keypad 3, you would hear:
  850. "speakup keypad 3 is go to bottom edge."
  851. The speakup key is depressed, so the name of the key state is speakup.
  852. This part of the message comes from the states collection.
  853. 14.2. Changing language
  854. 14.2.1. Loading Your Own Messages
  855. The files under the i18n subdirectory all follow the same format.
  856. They consist of lines, with one message per line.
  857. Each message is represented by a number, followed by the text of the message.
  858. The number is the position of the message in the given collection.
  859. For example, if you view the file /speakup/i18n/colors, you will see the
  860. following list:
  861. 0 black
  862. 1 blue
  863. 2 green
  864. 3 cyan
  865. 4 red
  866. 5 magenta
  867. 6 yellow
  868. 7 white
  869. 8 grey
  870. You can change one message, or you can change a whole group.
  871. To load a whole collection of messages from a new source, simply use
  872. the cp command:
  873. cp ~/my_colors /speakup/i18n/colors
  874. You can change an individual message with the echo command,
  875. as shown in the following example.
  876. The Spanish name for the color blue is azul.
  877. Looking at the colors file, we see that the name "blue" is at position 1
  878. within the colors group. Let's change blue to azul:
  879. echo '1 azul' > /speakup/i18n/colors
  880. The next time that Speakup says message 1 from the colors group, it will
  881. say "azul", rather than "blue."
  882. 14.2.2. Choose a language
  883. In the future, translations into various languages will be made available,
  884. and most users will just load the files necessary for their language. So far,
  885. only French language is available beyond native Canadian English language.
  886. French is only available after you are logged in.
  887. Canadian English is the default language. To toggle another language,
  888. download the source of Speakup and untar it in your home directory. The
  889. following command should let you do this:
  890. tar xvjf speakup-<version>.tar.bz2
  891. where <version> is the version number of the application.
  892. Next, change to the newly created directory, then into the tools/ directory, and
  893. run the script speakup_setlocale. You are asked the language that you want to
  894. use. Type the number associated to your language (e.g. fr for French) then press
  895. Enter. Needed files are copied in the i18n directory.
  896. Note: the speakupconf must be installed on your system so that settings are saved.
  897. Otherwise, you will have an error: your language will be loaded but you will
  898. have to run the script again every time Speakup restarts.
  899. See section 16.1. for information about speakupconf.
  900. You will have to repeat these steps for any change of locale, i.e. if you wish
  901. change the speakup's language or charset (iso-8859-15 ou UTF-8).
  902. If you wish store the settings, note that at your next login, you will need to
  903. do:
  904. speakup load
  905. Alternatively, you can add the above line to your file
  906. ~/.bashrc or ~/.bash_profile.
  907. If your system administrator himself ran the script, all the users will be able
  908. to change from English to the language chosen by root and do directly
  909. speakupconf load (or add this to the ~/.bashrc or
  910. ~/.bash_profile file). If there are several languages to handle, the
  911. administrator (or every user) will have to run the first steps until speakupconf
  912. save, choosing the appropriate language, in every user's home directory. Every
  913. user will then be able to do speakupconf load, Speakup will load his own settings.
  914. 14.3. No Support for Non-Western-European Languages
  915. As of the current release, Speakup only supports Western European languages.
  916. Support for the extended characters used by languages outside of the Western
  917. European family of languages is a work in progress.
  918. 15. Using Speakup's Windowing Capability
  919. Speakup has the capability of defining and manipulating windows on the
  920. screen. Speakup uses the term "Window", to mean a user defined area of
  921. the screen. The key strokes for defining and manipulating Speakup
  922. windows are as follows:
  923. speakup + f2 -- Set the bounds of the window.
  924. Speakup + f3 -- clear the current window definition.
  925. speakup + f4 -- Toggle window silence on and off.
  926. speakup + keypad plus -- Say the currently defined window.
  927. These capabilities are useful for tracking a certain part of the screen
  928. without rereading the whole screen, or for silencing a part of the
  929. screen that is constantly changing, such as a clock or status line.
  930. There is no way to save these window settings, and you can only have one
  931. window defined for each virtual console. There is also no way to have
  932. windows automatically defined for specific applications.
  933. In order to define a window, use the review keys to move your reading
  934. cursor to the beginning of the area you want to define. Then press
  935. speakup + f2. Speakup will tell you that the window starts at the
  936. indicated row and column position. Then move the reading cursor to the
  937. end of the area to be defined as a window, and press speakup + f2 again.
  938. If there is more than one line in the window, Speakup will tell you
  939. that the window ends at the indicated row and column position. If there
  940. is only one line in the window, then Speakup will tell you that the
  941. window is the specified line on the screen. If you are only defining a
  942. one line window, you can just press speakup + f2 twice after placing the
  943. reading cursor on the line you want to define as a window. It is not
  944. necessary to position the reading cursor at the end of the line in order
  945. to define the whole line as a window.
  946. 16. Tools for Controlling Speakup
  947. The speakup distribution includes extra tools (in the tools directory)
  948. which were written to make speakup easier to use. This section will
  949. briefly describe the use of these tools.
  950. 16.1. Speakupconf
  951. speakupconf began life as a contribution from Steve Holmes, a member of
  952. the speakup community. We would like to thank him for his work on the
  953. early versions of this project.
  954. This script may be installed as part of your linux distribution, but if
  955. it isn't, the recommended places to put it are /usr/local/bin or
  956. /usr/bin. This script can be run by any user, so it does not require
  957. root privileges.
  958. Speakupconf allows you to save and load your Speakup settings. It works
  959. by reading and writing the /sys files described above.
  960. The directory that speakupconf uses to store your settings depends on
  961. whether it is run from the root account. If you execute speakupconf as
  962. root, it uses the directory /etc/speakup. Otherwise, it uses the directory
  963. ~/.speakup, where ~ is your home directory.
  964. Anyone who needs to use Speakup from your console can load his own custom
  965. settings with this script.
  966. speakupconf takes one required argument: load or save.
  967. Use the command
  968. speakupconf save
  969. to save your Speakup settings, and
  970. speakupconf load
  971. to load them into Speakup.
  972. A second argument may be specified to use an alternate directory to
  973. load or save the speakup parameters.
  974. 16.2. Talkwith
  975. Charles Hallenbeck, another member of the speakup community, wrote the
  976. initial versions of this script, and we would also like to thank him for
  977. his work on it.
  978. This script needs root privileges to run, so if it is not installed as
  979. part of your linux distribution, the recommended places to install it
  980. are /usr/local/sbin or /usr/sbin.
  981. Talkwith allows you to switch synthesizers on the fly. It takes a synthesizer
  982. name as an argument. For instance,
  983. talkwith dectlk
  984. causes Speakup to use the DecTalk Express. If you wish to switch to a
  985. software synthesizer, you must also indicate which daemon you wish to
  986. use. There are two possible choices:
  987. spd and espeakup. spd is an abbreviation for speechd-up.
  988. If you wish to use espeakup for software synthesis, give the command
  989. talkwith soft espeakup
  990. To use speechd-up, type:
  991. talkwith soft spd
  992. Any arguments that follow the name of the daemon are passed to the daemon
  993. when it is invoked. For instance:
  994. talkwith espeakup --default-voice=fr
  995. causes espeakup to use the French voice.
  996. Note that talkwith must always be executed with root privileges.
  997. Talkwith does not attempt to load your settings after the new
  998. synthesizer is activated. You can use speakupconf to load your settings
  999. if desired.
  1000. GNU Free Documentation License
  1001. Version 1.2, November 2002
  1002. Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
  1003. Everyone is permitted to copy and distribute verbatim copies
  1004. of this license document, but changing it is not allowed.
  1005. 0. PREAMBLE
  1006. The purpose of this License is to make a manual, textbook, or other
  1007. functional and useful document "free" in the sense of freedom: to
  1008. assure everyone the effective freedom to copy and redistribute it,
  1009. with or without modifying it, either commercially or noncommercially.
  1010. Secondarily, this License preserves for the author and publisher a way
  1011. to get credit for their work, while not being considered responsible
  1012. for modifications made by others.
  1013. This License is a kind of "copyleft", which means that derivative
  1014. works of the document must themselves be free in the same sense. It
  1015. complements the GNU General Public License, which is a copyleft
  1016. license designed for free software.
  1017. We have designed this License in order to use it for manuals for free
  1018. software, because free software needs free documentation: a free
  1019. program should come with manuals providing the same freedoms that the
  1020. software does. But this License is not limited to software manuals;
  1021. it can be used for any textual work, regardless of subject matter or
  1022. whether it is published as a printed book. We recommend this License
  1023. principally for works whose purpose is instruction or reference.
  1024. 1. APPLICABILITY AND DEFINITIONS
  1025. This License applies to any manual or other work, in any medium, that
  1026. contains a notice placed by the copyright holder saying it can be
  1027. distributed under the terms of this License. Such a notice grants a
  1028. world-wide, royalty-free license, unlimited in duration, to use that
  1029. work under the conditions stated herein. The "Document", below,
  1030. refers to any such manual or work. Any member of the public is a
  1031. licensee, and is addressed as "you". You accept the license if you
  1032. copy, modify or distribute the work in a way requiring permission
  1033. under copyright law.
  1034. A "Modified Version" of the Document means any work containing the
  1035. Document or a portion of it, either copied verbatim, or with
  1036. modifications and/or translated into another language.
  1037. A "Secondary Section" is a named appendix or a front-matter section of
  1038. the Document that deals exclusively with the relationship of the
  1039. publishers or authors of the Document to the Document's overall subject
  1040. (or to related matters) and contains nothing that could fall directly
  1041. within that overall subject. (Thus, if the Document is in part a
  1042. textbook of mathematics, a Secondary Section may not explain any
  1043. mathematics.) The relationship could be a matter of historical
  1044. connection with the subject or with related matters, or of legal,
  1045. commercial, philosophical, ethical or political position regarding
  1046. them.
  1047. The "Invariant Sections" are certain Secondary Sections whose titles
  1048. are designated, as being those of Invariant Sections, in the notice
  1049. that says that the Document is released under this License. If a
  1050. section does not fit the above definition of Secondary then it is not
  1051. allowed to be designated as Invariant. The Document may contain zero
  1052. Invariant Sections. If the Document does not identify any Invariant
  1053. Sections then there are none.
  1054. The "Cover Texts" are certain short passages of text that are listed,
  1055. as Front-Cover Texts or Back-Cover Texts, in the notice that says that
  1056. the Document is released under this License. A Front-Cover Text may
  1057. be at most 5 words, and a Back-Cover Text may be at most 25 words.
  1058. A "Transparent" copy of the Document means a machine-readable copy,
  1059. represented in a format whose specification is available to the
  1060. general public, that is suitable for revising the document
  1061. straightforwardly with generic text editors or (for images composed of
  1062. pixels) generic paint programs or (for drawings) some widely available
  1063. drawing editor, and that is suitable for input to text formatters or
  1064. for automatic translation to a variety of formats suitable for input
  1065. to text formatters. A copy made in an otherwise Transparent file
  1066. format whose markup, or absence of markup, has been arranged to thwart
  1067. or discourage subsequent modification by readers is not Transparent.
  1068. An image format is not Transparent if used for any substantial amount
  1069. of text. A copy that is not "Transparent" is called "Opaque".
  1070. Examples of suitable formats for Transparent copies include plain
  1071. ASCII without markup, Texinfo input format, LaTeX input format, SGML
  1072. or XML using a publicly available DTD, and standard-conforming simple
  1073. HTML, PostScript or PDF designed for human modification. Examples of
  1074. transparent image formats include PNG, XCF and JPG. Opaque formats
  1075. include proprietary formats that can be read and edited only by
  1076. proprietary word processors, SGML or XML for which the DTD and/or
  1077. processing tools are not generally available, and the
  1078. machine-generated HTML, PostScript or PDF produced by some word
  1079. processors for output purposes only.
  1080. The "Title Page" means, for a printed book, the title page itself,
  1081. plus such following pages as are needed to hold, legibly, the material
  1082. this License requires to appear in the title page. For works in
  1083. formats which do not have any title page as such, "Title Page" means
  1084. the text near the most prominent appearance of the work's title,
  1085. preceding the beginning of the body of the text.
  1086. A section "Entitled XYZ" means a named subunit of the Document whose
  1087. title either is precisely XYZ or contains XYZ in parentheses following
  1088. text that translates XYZ in another language. (Here XYZ stands for a
  1089. specific section name mentioned below, such as "Acknowledgements",
  1090. "Dedications", "Endorsements", or "History".) To "Preserve the Title"
  1091. of such a section when you modify the Document means that it remains a
  1092. section "Entitled XYZ" according to this definition.
  1093. The Document may include Warranty Disclaimers next to the notice which
  1094. states that this License applies to the Document. These Warranty
  1095. Disclaimers are considered to be included by reference in this
  1096. License, but only as regards disclaiming warranties: any other
  1097. implication that these Warranty Disclaimers may have is void and has
  1098. no effect on the meaning of this License.
  1099. 2. VERBATIM COPYING
  1100. You may copy and distribute the Document in any medium, either
  1101. commercially or noncommercially, provided that this License, the
  1102. copyright notices, and the license notice saying this License applies
  1103. to the Document are reproduced in all copies, and that you add no other
  1104. conditions whatsoever to those of this License. You may not use
  1105. technical measures to obstruct or control the reading or further
  1106. copying of the copies you make or distribute. However, you may accept
  1107. compensation in exchange for copies. If you distribute a large enough
  1108. number of copies you must also follow the conditions in section 3.
  1109. You may also lend copies, under the same conditions stated above, and
  1110. you may publicly display copies.
  1111. 3. COPYING IN QUANTITY
  1112. If you publish printed copies (or copies in media that commonly have
  1113. printed covers) of the Document, numbering more than 100, and the
  1114. Document's license notice requires Cover Texts, you must enclose the
  1115. copies in covers that carry, clearly and legibly, all these Cover
  1116. Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
  1117. the back cover. Both covers must also clearly and legibly identify
  1118. you as the publisher of these copies. The front cover must present
  1119. the full title with all words of the title equally prominent and
  1120. visible. You may add other material on the covers in addition.
  1121. Copying with changes limited to the covers, as long as they preserve
  1122. the title of the Document and satisfy these conditions, can be treated
  1123. as verbatim copying in other respects.
  1124. If the required texts for either cover are too voluminous to fit
  1125. legibly, you should put the first ones listed (as many as fit
  1126. reasonably) on the actual cover, and continue the rest onto adjacent
  1127. pages.
  1128. If you publish or distribute Opaque copies of the Document numbering
  1129. more than 100, you must either include a machine-readable Transparent
  1130. copy along with each Opaque copy, or state in or with each Opaque copy
  1131. a computer-network location from which the general network-using
  1132. public has access to download using public-standard network protocols
  1133. a complete Transparent copy of the Document, free of added material.
  1134. If you use the latter option, you must take reasonably prudent steps,
  1135. when you begin distribution of Opaque copies in quantity, to ensure
  1136. that this Transparent copy will remain thus accessible at the stated
  1137. location until at least one year after the last time you distribute an
  1138. Opaque copy (directly or through your agents or retailers) of that
  1139. edition to the public.
  1140. It is requested, but not required, that you contact the authors of the
  1141. Document well before redistributing any large number of copies, to give
  1142. them a chance to provide you with an updated version of the Document.
  1143. 4. MODIFICATIONS
  1144. You may copy and distribute a Modified Version of the Document under
  1145. the conditions of sections 2 and 3 above, provided that you release
  1146. the Modified Version under precisely this License, with the Modified
  1147. Version filling the role of the Document, thus licensing distribution
  1148. and modification of the Modified Version to whoever possesses a copy
  1149. of it. In addition, you must do these things in the Modified Version:
  1150. A. Use in the Title Page (and on the covers, if any) a title distinct
  1151. from that of the Document, and from those of previous versions
  1152. (which should, if there were any, be listed in the History section
  1153. of the Document). You may use the same title as a previous version
  1154. if the original publisher of that version gives permission.
  1155. B. List on the Title Page, as authors, one or more persons or entities
  1156. responsible for authorship of the modifications in the Modified
  1157. Version, together with at least five of the principal authors of the
  1158. Document (all of its principal authors, if it has fewer than five),
  1159. unless they release you from this requirement.
  1160. C. State on the Title page the name of the publisher of the
  1161. Modified Version, as the publisher.
  1162. D. Preserve all the copyright notices of the Document.
  1163. E. Add an appropriate copyright notice for your modifications
  1164. adjacent to the other copyright notices.
  1165. F. Include, immediately after the copyright notices, a license notice
  1166. giving the public permission to use the Modified Version under the
  1167. terms of this License, in the form shown in the Addendum below.
  1168. G. Preserve in that license notice the full lists of Invariant Sections
  1169. and required Cover Texts given in the Document's license notice.
  1170. H. Include an unaltered copy of this License.
  1171. I. Preserve the section Entitled "History", Preserve its Title, and add
  1172. to it an item stating at least the title, year, new authors, and
  1173. publisher of the Modified Version as given on the Title Page. If
  1174. there is no section Entitled "History" in the Document, create one
  1175. stating the title, year, authors, and publisher of the Document as
  1176. given on its Title Page, then add an item describing the Modified
  1177. Version as stated in the previous sentence.
  1178. J. Preserve the network location, if any, given in the Document for
  1179. public access to a Transparent copy of the Document, and likewise
  1180. the network locations given in the Document for previous versions
  1181. it was based on. These may be placed in the "History" section.
  1182. You may omit a network location for a work that was published at
  1183. least four years before the Document itself, or if the original
  1184. publisher of the version it refers to gives permission.
  1185. K. For any section Entitled "Acknowledgements" or "Dedications",
  1186. Preserve the Title of the section, and preserve in the section all
  1187. the substance and tone of each of the contributor acknowledgements
  1188. and/or dedications given therein.
  1189. L. Preserve all the Invariant Sections of the Document,
  1190. unaltered in their text and in their titles. Section numbers
  1191. or the equivalent are not considered part of the section titles.
  1192. M. Delete any section Entitled "Endorsements". Such a section
  1193. may not be included in the Modified Version.
  1194. N. Do not retitle any existing section to be Entitled "Endorsements"
  1195. or to conflict in title with any Invariant Section.
  1196. O. Preserve any Warranty Disclaimers.
  1197. If the Modified Version includes new front-matter sections or
  1198. appendices that qualify as Secondary Sections and contain no material
  1199. copied from the Document, you may at your option designate some or all
  1200. of these sections as invariant. To do this, add their titles to the
  1201. list of Invariant Sections in the Modified Version's license notice.
  1202. These titles must be distinct from any other section titles.
  1203. You may add a section Entitled "Endorsements", provided it contains
  1204. nothing but endorsements of your Modified Version by various
  1205. parties--for example, statements of peer review or that the text has
  1206. been approved by an organization as the authoritative definition of a
  1207. standard.
  1208. You may add a passage of up to five words as a Front-Cover Text, and a
  1209. passage of up to 25 words as a Back-Cover Text, to the end of the list
  1210. of Cover Texts in the Modified Version. Only one passage of
  1211. Front-Cover Text and one of Back-Cover Text may be added by (or
  1212. through arrangements made by) any one entity. If the Document already
  1213. includes a cover text for the same cover, previously added by you or
  1214. by arrangement made by the same entity you are acting on behalf of,
  1215. you may not add another; but you may replace the old one, on explicit
  1216. permission from the previous publisher that added the old one.
  1217. The author(s) and publisher(s) of the Document do not by this License
  1218. give permission to use their names for publicity for or to assert or
  1219. imply endorsement of any Modified Version.
  1220. 5. COMBINING DOCUMENTS
  1221. You may combine the Document with other documents released under this
  1222. License, under the terms defined in section 4 above for modified
  1223. versions, provided that you include in the combination all of the
  1224. Invariant Sections of all of the original documents, unmodified, and
  1225. list them all as Invariant Sections of your combined work in its
  1226. license notice, and that you preserve all their Warranty Disclaimers.
  1227. The combined work need only contain one copy of this License, and
  1228. multiple identical Invariant Sections may be replaced with a single
  1229. copy. If there are multiple Invariant Sections with the same name but
  1230. different contents, make the title of each such section unique by
  1231. adding at the end of it, in parentheses, the name of the original
  1232. author or publisher of that section if known, or else a unique number.
  1233. Make the same adjustment to the section titles in the list of
  1234. Invariant Sections in the license notice of the combined work.
  1235. In the combination, you must combine any sections Entitled "History"
  1236. in the various original documents, forming one section Entitled
  1237. "History"; likewise combine any sections Entitled "Acknowledgements",
  1238. and any sections Entitled "Dedications". You must delete all sections
  1239. Entitled "Endorsements".
  1240. 6. COLLECTIONS OF DOCUMENTS
  1241. You may make a collection consisting of the Document and other documents
  1242. released under this License, and replace the individual copies of this
  1243. License in the various documents with a single copy that is included in
  1244. the collection, provided that you follow the rules of this License for
  1245. verbatim copying of each of the documents in all other respects.
  1246. You may extract a single document from such a collection, and distribute
  1247. it individually under this License, provided you insert a copy of this
  1248. License into the extracted document, and follow this License in all
  1249. other respects regarding verbatim copying of that document.
  1250. 7. AGGREGATION WITH INDEPENDENT WORKS
  1251. A compilation of the Document or its derivatives with other separate
  1252. and independent documents or works, in or on a volume of a storage or
  1253. distribution medium, is called an "aggregate" if the copyright
  1254. resulting from the compilation is not used to limit the legal rights
  1255. of the compilation's users beyond what the individual works permit.
  1256. When the Document is included in an aggregate, this License does not
  1257. apply to the other works in the aggregate which are not themselves
  1258. derivative works of the Document.
  1259. If the Cover Text requirement of section 3 is applicable to these
  1260. copies of the Document, then if the Document is less than one half of
  1261. the entire aggregate, the Document's Cover Texts may be placed on
  1262. covers that bracket the Document within the aggregate, or the
  1263. electronic equivalent of covers if the Document is in electronic form.
  1264. Otherwise they must appear on printed covers that bracket the whole
  1265. aggregate.
  1266. 8. TRANSLATION
  1267. Translation is considered a kind of modification, so you may
  1268. distribute translations of the Document under the terms of section 4.
  1269. Replacing Invariant Sections with translations requires special
  1270. permission from their copyright holders, but you may include
  1271. translations of some or all Invariant Sections in addition to the
  1272. original versions of these Invariant Sections. You may include a
  1273. translation of this License, and all the license notices in the
  1274. Document, and any Warranty Disclaimers, provided that you also include
  1275. the original English version of this License and the original versions
  1276. of those notices and disclaimers. In case of a disagreement between
  1277. the translation and the original version of this License or a notice
  1278. or disclaimer, the original version will prevail.
  1279. If a section in the Document is Entitled "Acknowledgements",
  1280. "Dedications", or "History", the requirement (section 4) to Preserve
  1281. its Title (section 1) will typically require changing the actual
  1282. title.
  1283. 9. TERMINATION
  1284. You may not copy, modify, sublicense, or distribute the Document except
  1285. as expressly provided for under this License. Any other attempt to
  1286. copy, modify, sublicense or distribute the Document is void, and will
  1287. automatically terminate your rights under this License. However,
  1288. parties who have received copies, or rights, from you under this
  1289. License will not have their licenses terminated so long as such
  1290. parties remain in full compliance.
  1291. 10. FUTURE REVISIONS OF THIS LICENSE
  1292. The Free Software Foundation may publish new, revised versions
  1293. of the GNU Free Documentation License from time to time. Such new
  1294. versions will be similar in spirit to the present version, but may
  1295. differ in detail to address new problems or concerns. See
  1296. https://www.gnu.org/copyleft/.
  1297. Each version of the License is given a distinguishing version number.
  1298. If the Document specifies that a particular numbered version of this
  1299. License "or any later version" applies to it, you have the option of
  1300. following the terms and conditions either of that specified version or
  1301. of any later version that has been published (not as a draft) by the
  1302. Free Software Foundation. If the Document does not specify a version
  1303. number of this License, you may choose any version ever published (not
  1304. as a draft) by the Free Software Foundation.
  1305. ADDENDUM: How to use this License for your documents
  1306. To use this License in a document you have written, include a copy of
  1307. the License in the document and put the following copyright and
  1308. license notices just after the title page:
  1309. Copyright (c) YEAR YOUR NAME.
  1310. Permission is granted to copy, distribute and/or modify this document
  1311. under the terms of the GNU Free Documentation License, Version 1.2
  1312. or any later version published by the Free Software Foundation;
  1313. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
  1314. A copy of the license is included in the section entitled "GNU
  1315. Free Documentation License".
  1316. If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
  1317. replace the "with...Texts." line with this:
  1318. with the Invariant Sections being LIST THEIR TITLES, with the
  1319. Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
  1320. If you have Invariant Sections without Cover Texts, or some other
  1321. combination of the three, merge those two alternatives to suit the
  1322. situation.
  1323. If your document contains nontrivial examples of program code, we
  1324. recommend releasing these examples in parallel under your choice of
  1325. free software license, such as the GNU General Public License,
  1326. to permit their use in free software.
  1327. The End.