요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
The Speakup User's Guide
For Speakup 3.1.2 and Later
By Gene Collins
Updated by others
Last modified on Mon Sep 27 14:26:31 2010
Document version 1.3
Copyright (c) 2005 Gene Collins
Copyright (c) 2008, 2023 Samuel Thibault
Copyright (c) 2009, 2010 the Speakup Team
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
copy of the license is included in the section entitled "GNU Free
Documentation License".
Preface
The purpose of this document is to familiarize users with the user
interface to Speakup, a Linux Screen Reader. If you need instructions
for installing or obtaining Speakup, visit the web site at
http://linux-speakup.org/. Speakup is a set of patches to the standard
Linux kernel source tree. It can be built as a series of modules, or as
a part of a monolithic kernel. These details are beyond the scope of
this manual, but the user may need to be aware of the module
capabilities, depending on how your system administrator has installed
Speakup. If Speakup is built as a part of a monolithic kernel, and the
user is using a hardware synthesizer, then Speakup will be able to
provide speech access from the time the kernel is loaded, until the time
the system is shutdown. This means that if you have obtained Linux
installation media for a distribution which includes Speakup as a part
of its kernel, you will be able, as a blind person, to install Linux
with speech access unaided by a sighted person. Again, these details
are beyond the scope of this manual, but the user should be aware of
them. See the web site mentioned above for further details.
1. Starting Speakup
If your system administrator has installed Speakup to work with your
specific synthesizer by default, then all you need to do to use Speakup
is to boot your system, and Speakup should come up talking. This
assumes of course that your synthesizer is a supported hardware
synthesizer, and that it is either installed in or connected to your
system, and is if necessary powered on.
It is possible, however, that Speakup may have been compiled into the
kernel with no default synthesizer. It is even possible that your
kernel has been compiled with support for some of the supported
synthesizers and not others. If you find that this is the case, and
your synthesizer is supported but not available, complain to the person
who compiled and installed your kernel. Or better yet, go to the web
site, and learn how to patch Speakup into your own kernel source, and
build and install your own kernel.
If your kernel has been compiled with Speakup, and has no default
synthesizer set, or you would like to use a different synthesizer than
the default one, then you may issue the following command at the boot
prompt of your boot loader.
linux speakup.synth=ltlk
This command would tell Speakup to look for and use a LiteTalk or
DoubleTalk LT at boot up. You may replace the ltlk synthesizer keyword
with the keyword for whatever synthesizer you wish to use. The
speakup.synth parameter will accept the following keywords, provided
that support for the related synthesizers has been built into the
kernel.
acntsa -- Accent SA
acntpc -- Accent PC
apollo -- Apollo
audptr -- Audapter
bns -- Braille 'n Speak
dectlk -- DecTalk Express (old and new, db9 serial only)
decext -- DecTalk (old) External
dtlk -- DoubleTalk PC
keypc -- Keynote Gold PC
ltlk -- DoubleTalk LT, LiteTalk, or external Tripletalk (db9 serial only)
spkout -- Speak Out
txprt -- Transport
dummy -- Plain text terminal
Note: Speakup does * NOT * support the internal Tripletalk!
Speakup does support two other synthesizers, but because they work in
conjunction with other software, they must be loaded as modules after
their related software is loaded, and so are not available at boot up.
These are as follows:
decpc -- DecTalk PC (not available at boot up)
soft -- One of several software synthesizers (not available at boot up)
By default speakup looks for the synthesizer on the ttyS0 serial port. This can
be changed with the device parameter of the modules, for instance for
DoubleTalk LT:
speakup_ltlk.dev=ttyUSB0
See the sections on loading modules and software synthesizers later in
this manual for further details. It should be noted here that the
speakup.synth boot parameter will have no effect if Speakup has been
compiled as modules. In order for Speakup modules to be loaded during
the boot process, such action must be configured by your system
administrator. This will mean that you will hear some, but not all, of
the bootup messages.
2. Basic operation
Once you have booted the system, and if necessary, have supplied the
proper bootup parameter for your synthesizer, Speakup will begin
talking as soon as the kernel is loaded. In fact, it will talk a lot!
It will speak all the boot up messages that the kernel prints on the
screen during the boot process. This is because Speakup is not a
separate screen reader, but is actually built into the operating
system. Since almost all console applications must print text on the
screen using the kernel, and must get their keyboard input through the
kernel, they are automatically handled properly by Speakup. There are a
few exceptions, but we'll come to those later.
Note: In this guide I will refer to the numeric keypad as the keypad.
This is done because the speakupmap.map file referred to later in this
manual uses the term keypad instead of numeric keypad. Also I'm lazy
and would rather only type one word. So keypad it is. Got it? Good.
Most of the Speakup review keys are located on the keypad at the far
right of the keyboard. The numlock key should be off, in order for these
to work. If you toggle the numlock on, the keypad will produce numbers,
which is exactly what you want for spreadsheets and such. For the
purposes of this guide, you should have the numlock turned off, which is
its default state at bootup.
You probably won't want to listen to all the bootup messages every time
you start your system, though it's a good idea to listen to them at
least once, just so you'll know what kind of information is available to
you during the boot process. You can always review these messages after
bootup with the command:
dmesg | more
In order to speed the boot process, and to silence the speaking of the
bootup messages, just press the keypad enter key. This key is located
in the bottom right corner of the keypad. Speakup will shut up and stay
that way, until you press another key.
You can check to see if the boot process has completed by pressing the 8
key on the keypad, which reads the current line. This also has the
effect of starting Speakup talking again, so you can press keypad enter
to silence it again if the boot process has not completed.
When the boot process is complete, you will arrive at a "login" prompt.
At this point, you'll need to type in your user id and password, as
provided by your system administrator. You will hear Speakup speak the
letters of your user id as you type it, but not the password. This is
because the password is not displayed on the screen for security
reasons. This has nothing to do with Speakup, it's a Linux security
feature.
Once you've logged in, you can run any Linux command or program which is
allowed by your user id. Normal users will not be able to run programs
which require root privileges.
When you are running a program or command, Speakup will automatically
speak new text as it arrives on the screen. You can at any time silence
the speech with keypad enter, or use any of the Speakup review keys.
Here are some basic Speakup review keys, and a short description of what
they do.
keypad 1 -- read previous character
keypad 2 -- read current character (pressing keypad 2 twice rapidly will speak
the current character phonetically)
keypad 3 -- read next character
keypad 4 -- read previous word
keypad 5 -- read current word (press twice rapidly to spell the current word)
keypad 6 -- read next word
keypad 7 -- read previous line
keypad 8 -- read current line (press twice rapidly to hear how much the
text on the current line is indented)
keypad 9 -- read next line
keypad period -- speak current cursor position and announce current
virtual console
It's also worth noting that the insert key on the keypad is mapped
as the speakup key. Instead of pressing and releasing this key, as you
do under DOS or Windows, you hold it like a shift key, and press other
keys in combination with it. For example, repeatedly holding keypad
insert, from now on called speakup, and keypad enter will toggle the
speaking of new text on the screen on and off. This is not the same as
just pressing keypad enter by itself, which just silences the speech
until you hit another key. When you hit speakup plus keypad enter,
Speakup will say, "You turned me off.", or "Hey, that's better." When
Speakup is turned off, no new text on the screen will be spoken. You
can still use the reading controls to review the screen however.
3. Using the Speakup Help System
In order to enter the Speakup help system, press and hold the speakup
key (remember that this is the keypad insert key), and press the f1 key.
You will hear the message:
"Press space to leave help, cursor up or down to scroll, or a letter to
go to commands in list."
When you press the spacebar to leave the help system, you will hear:
"Leaving help."
While you are in the Speakup help system, you can scroll up or down
through the list of available commands using the cursor keys. The list
of commands is arranged in alphabetical order. If you wish to jump to
commands in a specific part of the alphabet, you may press the letter of
the alphabet you wish to jump to.
You can also just explore by typing keyboard keys. Pressing keys will
cause Speakup to speak the command associated with that key. For
example, if you press the keypad 8 key, you will hear:
"Keypad 8 is line, say current."
You'll notice that some commands do not have keys assigned to them.
This is because they are very infrequently used commands, and are also
accessible through the sys system. We'll discuss the sys system later
in this manual.
You'll also notice that some commands have two keys assigned to them.
This is because Speakup has a built in set of alternative key bindings
for laptop users. The alternate speakup key is the caps lock key. You
can press and hold the caps lock key, while pressing an alternate
speakup command key to activate the command. On most laptops, the
numeric keypad is defined as the keys in the j k l area of the keyboard.
There is usually a function key which turns this keypad function on and
off, and some other key which controls the numlock state. Toggling the
keypad functionality on and off can become a royal pain. So, Speakup
gives you a simple way to get at an alternative set of key mappings for
your laptop. These are also available by default on desktop systems,
because Speakup does not know whether it is running on a desktop or
laptop. So you may choose which set of Speakup keys to use. Some
system administrators may have chosen to compile Speakup for a desktop
system without this set of alternate key bindings, but these details are
beyond the scope of this manual. To use the caps lock for its normal
purpose, hold the shift key while toggling the caps lock on and off. We
should note here, that holding the caps lock key and pressing the z key
will toggle the alternate j k l keypad on and off.
4. Keys and Their Assigned Commands
In this section, we'll go through a list of all the speakup keys and
commands. You can also get a list of commands and assigned keys from
the help system.
The following list was taken from the speakupmap.map file. Key
assignments are on the left of the equal sign, and the associated
Speakup commands are on the right. The designation "spk" means to press
and hold the speakup key, a.k.a. keypad insert, a.k.a. caps lock, while
pressing the other specified key.
spk key_f9 = punc_level_dec
spk key_f10 = punc_level_inc
spk key_f11 = reading_punc_dec
spk key_f12 = reading_punc_inc
spk key_1 = vol_dec
spk key_2 = vol_inc
spk key_3 = pitch_dec
spk key_4 = pitch_inc
spk key_5 = rate_dec
spk key_6 = rate_inc
key_kpasterisk = toggle_cursoring
spk key_kpasterisk = speakup_goto
spk key_f1 = speakup_help
spk key_f2 = set_win
spk key_f3 = clear_win
spk key_f4 = enable_win
spk key_f5 = edit_some
spk key_f6 = edit_most
spk key_f7 = edit_delim
spk key_f8 = edit_repeat
shift spk key_f9 = edit_exnum
key_kp7 = say_prev_line
spk key_kp7 = left_edge
key_kp8 = say_line
double key_kp8 = say_line_indent
spk key_kp8 = say_from_top
key_kp9 = say_next_line
spk key_kp9 = top_edge
key_kpminus = speakup_parked
spk key_kpminus = say_char_num
key_kp4 = say_prev_word
spk key_kp4 = say_from_left
key_kp5 = say_word
double key_kp5 = spell_word
spk key_kp5 = spell_phonetic
key_kp6 = say_next_word
spk key_kp6 = say_to_right
key_kpplus = say_screen
spk key_kpplus = say_win
key_kp1 = say_prev_char
spk key_kp1 = right_edge
key_kp2 = say_char
spk key_kp2 = say_to_bottom
double key_kp2 = say_phonetic_char
key_kp3 = say_next_char
spk key_kp3 = bottom_edge
key_kp0 = spk_key
key_kpdot = say_position
spk key_kpdot = say_attributes
key_kpenter = speakup_quiet
spk key_kpenter = speakup_off
key_sysrq = speech_kill
key_kpslash = speakup_cut
spk key_kpslash = speakup_paste
spk key_pageup = say_first_char
spk key_pagedown = say_last_char
key_capslock = spk_key
spk key_z = spk_lock
key_leftmeta = spk_key
ctrl spk key_0 = speakup_goto
spk key_u = say_prev_line
spk key_i = say_line
double spk key_i = say_line_indent
spk key_o = say_next_line
spk key_minus = speakup_parked
shift spk key_minus = say_char_num
spk key_j = say_prev_word
spk key_k = say_word
double spk key_k = spell_word
spk key_l = say_next_word
spk key_m = say_prev_char
spk key_comma = say_char
double spk key_comma = say_phonetic_char
spk key_dot = say_next_char
spk key_n = say_position
ctrl spk key_m = left_edge
ctrl spk key_y = top_edge
ctrl spk key_dot = right_edge
ctrl spk key_p = bottom_edge
spk key_apostrophe = say_screen
spk key_h = say_from_left
spk key_y = say_from_top
spk key_semicolon = say_to_right
spk key_p = say_to_bottom
spk key_slash = say_attributes
spk key_enter = speakup_quiet
ctrl spk key_enter = speakup_off
spk key_9 = speakup_cut
spk key_8 = speakup_paste
shift spk key_m = say_first_char
ctrl spk key_semicolon = say_last_char
spk key_r = read_all_doc
5. The Speakup Sys System
The Speakup screen reader also creates a speakup subdirectory as a part
of the sys system.
As a convenience, run as root
ln -s /sys/accessibility/speakup /speakup
to directly access speakup parameters from /speakup.
You can see these entries by typing the command:
ls -1 /speakup/*
If you issue the above ls command, you will get back something like
this:
/speakup/attrib_bleep
/speakup/bell_pos
/speakup/bleep_time
/speakup/bleeps
/speakup/cursor_time
/speakup/delimiters
/speakup/ex_num
/speakup/key_echo
/speakup/keymap
/speakup/no_interrupt
/speakup/punc_all
/speakup/punc_level
/speakup/punc_most
/speakup/punc_some
/speakup/reading_punc
/speakup/repeats
/speakup/say_control
/speakup/say_word_ctl
/speakup/silent
/speakup/spell_delay
/speakup/synth
/speakup/synth_direct
/speakup/version
/speakup/i18n:
announcements
characters
chartab
colors
ctl_keys
formatted
function_names
key_names
states
/speakup/soft:
caps_start
caps_stop
delay_time
direct
freq
full_time
jiffy_delta
pitch
inflection
punct
rate
tone
trigger_time
voice
vol
Notice the two subdirectories of /speakup: /speakup/i18n and
/speakup/soft.
The i18n subdirectory is described in a later section.
The files under /speakup/soft represent settings that are specific to the
driver for the software synthesizer. If you use the LiteTalk, your
synthesizer-specific settings would be found in /speakup/ltlk. In other words,
a subdirectory named /speakup/KWD is created to hold parameters specific
to the device whose keyword is KWD.
These parameters include volume, rate, pitch, and others.
In addition to using the Speakup hot keys to change such things as
volume, pitch, and rate, you can also echo values to the appropriate
entry in the /speakup directory. This is very useful, since it
lets you control Speakup parameters from within a script. How you
would write such scripts is somewhat beyond the scope of this manual,
but I will include a couple of simple examples here to give you a
general idea of what such scripts can do.
Suppose for example, that you wanted to control both the punctuation
level and the reading punctuation level at the same time. For
simplicity, we'll call them punc0, punc1, punc2, and punc3. The scripts
might look something like this:
#!/bin/bash
# punc0
# set punc and reading punc levels to 0
echo 0 >/speakup/punc_level
echo 0 >/speakup/reading_punc
echo Punctuation level set to 0.
#!/bin/bash
# punc1
# set punc and reading punc levels to 1
echo 1 >/speakup/punc_level
echo 1 >/speakup/reading_punc
echo Punctuation level set to 1.
#!/bin/bash
# punc2
# set punc and reading punc levels to 2
echo 2 >/speakup/punc_level
echo 2 >/speakup/reading_punc
echo Punctuation level set to 2.
#!/bin/bash
# punc3
# set punc and reading punc levels to 3
echo 3 >/speakup/punc_level
echo 3 >/speakup/reading_punc
echo Punctuation level set to 3.
If you were to store these four small scripts in a directory in your
path, perhaps /usr/local/bin, and set the permissions to 755 with the
chmod command, then you could change the default reading punc and
punctuation levels at the same time by issuing just one command. For
example, if you were to execute the punc3 command at your shell prompt,
then the reading punc and punc level would both get set to 3.
I should note that the above scripts were written to work with bash, but
regardless of which shell you use, you should be able to do something
similar.
The Speakup sys system also has another interesting use. You can echo
Speakup parameters into the sys system in a script during system
startup, and speakup will return to your preferred parameters every time
the system is rebooted.
Most of the Speakup sys parameters can be manipulated by a regular user
on the system. However, there are a few parameters that are dangerous
enough that they should only be manipulated by the root user on your
system. There are even some parameters that are read only, and cannot
be written to at all. For example, the version entry in the Speakup
sys system is read only. This is because there is no reason for a user
to tamper with the version number which is reported by Speakup. Doing
an ls -l on /speakup/version will return this:
-r--r--r-- 1 root root 0 Mar 21 13:46 /speakup/version
As you can see, the version entry in the Speakup sys system is read
only, is owned by root, and belongs to the root group. Doing a cat of
/speakup/version will display the Speakup version number, like
this:
cat /speakup/version
Speakup v-2.00 CVS: Thu Oct 21 10:38:21 EDT 2004
synth dtlk version 1.1
The display shows the Speakup version number, along with the version
number of the driver for the current synthesizer.
Looking at entries in the Speakup sys system can be useful in many
ways. For example, you might wish to know what level your volume is set
at. You could type:
cat /speakup/KWD/vol
# Replace KWD with the keyword for your synthesizer, E.G., ltlk for LiteTalk.
5
The number five which comes back is the level at which the synthesizer
volume is set at.
All the entries in the Speakup sys system are readable, some are
writable by root only, and some are writable by everyone. Unless you
know what you are doing, you should probably leave the ones that are
writable by root only alone. Most of the names are self explanatory.
Vol for controlling volume, pitch for pitch, inflection for pitch range, rate
for controlling speaking rate, etc. If you find one you aren't sure about, you
can post a query on the Speakup list.
6. Changing Synthesizers
It is possible to change to a different synthesizer while speakup is
running. In other words, it is not necessary to reboot the system
in order to use a different synthesizer. You can simply echo the
synthesizer keyword to the /speakup/synth sys entry.
Depending on your situation, you may wish to echo none to the synth
sys entry, to disable speech while one synthesizer is disconnected and
a second one is connected in its place. Then echo the keyword for the
new synthesizer into the synth sys entry in order to start speech
with the newly connected synthesizer. See the list of synthesizer
keywords in section 1 to find the keyword which matches your synth.
7. Loading modules
As mentioned earlier, Speakup can either be completely compiled into the
kernel, with the exception of the help module, or it can be compiled as
a series of modules. When compiled as modules, Speakup will only be
able to speak some of the bootup messages if your system administrator
has configured the system to load the modules at boot time. The modules
can be loaded after the file systems have been checked and mounted, or
from an initrd. There is a third possibility. Speakup can be compiled
with some components built into the kernel, and others as modules. As
we'll see in the next section, this is particularly useful when you are
working with software synthesizers.
If Speakup is completely compiled as modules, then you must use the
modprobe command to load Speakup. You do this by loading the module for
the synthesizer driver you wish to use. The driver modules are all
named speakup_<keyword>, where <keyword> is the keyword for the
synthesizer you want. So, in order to load the driver for the DecTalk
Express, you would type the following command:
modprobe speakup_dectlk
Issuing this command would load the DecTalk Express driver and all other
related Speakup modules necessary to get Speakup up and running.
To completely unload Speakup, again presuming that it is entirely built
as modules, you would give the command:
modprobe -r speakup_dectlk
The above command assumes you were running a DecTalk Express. If you
were using a different synth, then you would substitute its keyword in
place of dectlk.
If you have multiple drivers loaded, you need to unload all of them, in
order to completely unload Speakup.
For example, if you have loaded both the dectlk and ltlk drivers, use the
command:
modprobe -r speakup_dectlk speakup_ltlk
You cannot unload the driver for software synthesizers when a user-space
daemon is using /dev/softsynth. First, kill the daemon. Next, remove
the driver with the command:
modprobe -r speakup_soft
Now, suppose we have a situation where the main Speakup component
is built into the kernel, and some or all of the drivers are built as
modules. Since the main part of Speakup is compiled into the kernel, a
partial Speakup sys system has been created which we can take advantage
of by simply echoing the synthesizer keyword into the
/speakup/synth sys entry. This will cause the kernel to
automatically load the appropriate driver module, and start Speakup
talking. To switch to another synth, just echo a new keyword to the
synth sys entry. For example, to load the DoubleTalk LT driver,
you would type:
echo ltlk >/speakup/synth
You can use the modprobe -r command to unload driver modules, regardless
of whether the main part of Speakup has been built into the kernel or
not.
8. Using Software Synthesizers
Using a software synthesizer requires that some other software be
installed and running on your system. For this reason, software
synthesizers are not available for use at bootup, or during a system
installation process.
There are two freely-available solutions for software speech: Espeakup and
Speech Dispatcher.
These are described in subsections 8.1 and 8.2, respectively.
During the rest of this section, we assume that speakup_soft is either
built in to your kernel, or loaded as a module.
If your system does not have udev installed , before you can use a
software synthesizer, you must have created the /dev/softsynth device.
If you have not already done so, issue the following commands as root:
cd /dev
mknod softsynth c 10 26
While we are at it, we might just as well create the /dev/synth device,
which can be used to let user space programs send information to your
synthesizer. To create /dev/synth, change to the /dev directory, and
issue the following command as root:
mknod synth c 10 25
of both.
8.1. Espeakup
Espeakup is a connector between Speakup and the eSpeak software synthesizer.
Espeakup may already be available as a package for your distribution
of Linux. If it is not packaged, you need to install it manually.
You can find it in the contrib/ subdirectory of the Speakup sources.
The filename is espeakup-$VERSION.tar.bz2, where $VERSION
depends on the current release of Espeakup. The Speakup 3.1.2 source
ships with version 0.71 of Espeakup.
The README file included with the Espeakup sources describes the process
of manual installation.
Assuming that Espeakup is installed, either by the user or by the distributor,
follow these steps to use it.
Tell Speakup to use the "soft driver:
echo soft > /speakup/synth
Finally, start the espeakup program. There are two ways to do it.
Both require root privileges.
If Espeakup was installed as a package for your Linux distribution,
you probably have a distribution-specific script that controls the operation
of the daemon. Look for a file named espeakup under /etc/init.d or
/etc/rc.d. Execute the following command with root privileges:
/etc/init.d/espeakup start
Replace init.d with rc.d, if your distribution uses scripts located under
/etc/rc.d.
Your distribution will also have a procedure for starting daemons at
boot-time, so it is possible to have software speech as soon as user-space
daemons are started by the bootup scripts.
These procedures are not described in this document.
If you built Espeakup manually, the "make install" step placed the binary
under /usr/bin.
Run the following command as root:
/usr/bin/espeakup
Espeakup should start speaking.
8.2. Speech Dispatcher
For this option, you must have a package called
Speech Dispatcher running on your system, and it must be configured to
work with one of its supported software synthesizers.
Two open source synthesizers you might use are Flite and Festival. You
might also choose to purchase the Software DecTalk from Fonix Sales Inc.
If you run a google search for Fonix, you'll find their web site.
You can obtain a copy of Speech Dispatcher from free(b)soft at
http://www.freebsoft.org/. Follow the installation instructions that
come with Speech Dispatcher in order to install and configure Speech
Dispatcher. You can check out the web site for your Linux distribution
in order to get a copy of either Flite or Festival. Your Linux
distribution may also have a precompiled Speech Dispatcher package.
Once you've installed, configured, and tested Speech Dispatcher with your
chosen software synthesizer, you still need one more piece of software
in order to make things work. You need a package called speechd-up.
You get it from the free(b)soft web site mentioned above. After you've
compiled and installed speechd-up, you are almost ready to begin using
your software synthesizer.
Now you can begin using your software synthesizer. In order to do so,
echo the soft keyword to the synth sys entry like this:
echo soft >/speakup/synth
Next run the speechd_up command like this:
speechd_up &
Your synth should now start talking, and you should be able to adjust
the pitch, rate, etc.
9. Using The DecTalk PC Card
The DecTalk PC card is an ISA card that is inserted into one of the ISA
slots in your computer. It requires that the DecTalk PC software be
installed on your computer, and that the software be loaded onto the
Dectalk PC card before it can be used.
You can get the dec_pc.tgz file from the linux-speakup.org site. The
dec_pc.tgz file is in the ~ftp/pub/linux/speakup directory.
After you have downloaded the dec_pc.tgz file, untar it in your home
directory, and read the Readme file in the newly created dec_pc
directory.
The easiest way to get the software working is to copy the entire dec_pc
directory into /user/local/lib. To do this, su to root in your home
directory, and issue the command:
cp dec_pc /usr/local/lib
You will need to copy the dtload command from the dec_pc directory to a
directory in your path. Either /usr/bin or /usr/local/bin is a good
choice.
You can now run the dtload command in order to load the DecTalk PC
software onto the card. After you have done this, echo the decpc
keyword to the synth entry in the sys system like this:
echo decpc >/speakup/synth
Your DecTalk PC should start talking, and then you can adjust the pitch,
rate, volume, voice, etc. The voice entry in the Speakup sys system
will accept a number from 0 through 7 for the DecTalk PC synthesizer,
which will give you access to some of the DecTalk voices.
10. Using Cursor Tracking
In Speakup version 2.0 and later, cursor tracking is turned on by
default. This means that when you are using an editor, Speakup will
automatically speak characters as you move left and right with the
cursor keys, and lines as you move up and down with the cursor keys.
This is the traditional sort of cursor tracking.
Recent versions of Speakup provide two additional ways to control the
text that is spoken when the cursor is moved:
"highlight tracking" and "read window."
They are described later in this section.
Sometimes, these modes get in your way, so you can disable cursor tracking
altogether.
You may select among the various forms of cursor tracking using the keypad
asterisk key.
Each time you press this key, a new mode is selected, and Speakup speaks
the name of the new mode. The names for the four possible states of cursor
tracking are: "cursoring on", "highlight tracking", "read window",
and "cursoring off." The keypad asterisk key moves through the list of
modes in a circular fashion.
If highlight tracking is enabled, Speakup tracks highlighted text,
rather than the cursor itself. When you move the cursor with the arrow keys,
Speakup speaks the currently highlighted information.
This is useful when moving through various menus and dialog boxes.
If cursor tracking isn't helping you while navigating a menu,
try highlight tracking.
With the "read window" variety of cursor tracking, you can limit the text
that Speakup speaks by specifying a window of interest on the screen.
See section 15 for a description of the process of defining windows.
When you move the cursor via the arrow keys, Speakup only speaks
the contents of the window. This is especially helpful when you are hearing
superfluous speech. Consider the following example.
Suppose that you are at a shell prompt. You use bash, and you want to
explore your command history using the up and down arrow keys. If you
have enabled cursor tracking, you will hear two pieces of information.
Speakup speaks both your shell prompt and the current entry from the
command history. You may not want to hear the prompt repeated
each time you move, so you can silence it by specifying a window. Find
the last line of text on the screen. Clear the current window by pressing
the key combination speakup f3. Use the review cursor to find the first
character that follows your shell prompt. Press speakup + f2 twice, to
define a one-line window. The boundaries of the window are the
character following the shell prompt and the end of the line. Now, cycle
through the cursor tracking modes using keypad asterisk, until Speakup
says "read window." Move through your history using your arrow keys.
You will notice that Speakup no longer speaks the redundant prompt.
Some folks like to turn cursor tracking off while they are using the
lynx web browser. You definitely want to turn cursor tracking off when
you are using the alsamixer application. Otherwise, you won't be able
to hear your mixer settings while you are using the arrow keys.
11. Cut and Paste
One of Speakup's more useful features is the ability to cut and paste
text on the screen. This means that you can capture information from a
program, and paste that captured text into a different place in the
program, or into an entirely different program, which may even be
running on a different console.
For example, in this manual, we have made references to several web
sites. It would be nice if you could cut and paste these urls into your
web browser. Speakup does this quite nicely. Suppose you wanted to
past the following url into your browser:
http://linux-speakup.org/
Use the speakup review keys to position the reading cursor on the first
character of the above url. When the reading cursor is in position,
press the keypad slash key once. Speakup will say, "mark". Next,
position the reading cursor on the rightmost character of the above
url. Press the keypad slash key once again to actually cut the text
from the screen. Speakup will say, "cut". Although we call this
cutting, Speakup does not actually delete the cut text from the screen.
It makes a copy of the text in a special buffer for later pasting.
Now that you have the url cut from the screen, you can paste it into
your browser, or even paste the url on a command line as an argument to
your browser.
Suppose you want to start lynx and go to the Speakup site.
You can switch to a different console with the alt left and right
arrows, or you can switch to a specific console by typing alt and a
function key. These are not Speakup commands, just standard Linux
console capabilities.
Once you've changed to an appropriate console, and are at a shell prompt,
type the word lynx, followed by a space. Now press and hold the speakup
key, while you type the keypad slash character. The url will be pasted
onto the command line, just as though you had typed it in. Press the
enter key to execute the command.
The paste buffer will continue to hold the cut information, until a new
mark and cut operation is carried out. This means you can paste the cut
information as many times as you like before doing another cut
operation.
You are not limited to cutting and pasting only one line on the screen.
You can also cut and paste rectangular regions of the screen. Just
position the reading cursor at the top left corner of the text to be
cut, mark it with the keypad slash key, then position the reading cursor
at the bottom right corner of the region to be cut, and cut it with the
keypad slash key.
12. Changing the Pronunciation of Characters
Through the /speakup/i18n/characters sys entry, Speakup gives you the
ability to change how Speakup pronounces a given character. You could,
for example, change how some punctuation characters are spoken. You can
even change how Speakup will pronounce certain letters.
You may, for example, wish to change how Speakup pronounces the z
character. The author of Speakup, Kirk Reiser, is Canadian, and thus
believes that the z should be pronounced zed. If you are an American,
you might wish to use the zee pronunciation instead of zed. You can
change the pronunciation of both the upper and lower case z with the
following two commands:
echo 90 zee >/speakup/characters
echo 122 zee >/speakup/characters
Let's examine the parts of the two previous commands. They are issued
at the shell prompt, and could be placed in a startup script.
The word echo tells the shell that you want to have it display the
string of characters that follow the word echo. If you were to just
type:
echo hello.
You would get the word hello printed on your screen as soon as you
pressed the enter key. In this case, we are echoing strings that we
want to be redirected into the sys system.
The numbers 90 and 122 in the above echo commands are the ascii numeric
values for the upper and lower case z, the characters we wish to change.
The string zee is the pronunciation that we want Speakup to use for the
upper and lower case z.
The > symbol redirects the output of the echo command to a file, just
like in DOS, or at the Windows command prompt.
And finally, /speakup/i18n/characters is the file entry in the sys system
where we want the output to be directed. Speakup looks at the numeric
value of the character we want to change, and inserts the pronunciation
string into an internal table.
You can look at the whole table with the following command:
cat /speakup/i18n/characters
Speakup will then print out the entire character pronunciation table. I
won't display it here, but leave you to look at it at your convenience.
13. Mapping Keys
Speakup has the capability of allowing you to assign or "map" keys to
internal Speakup commands. This section necessarily assumes you have a
Linux kernel source tree installed, and that it has been patched and
configured with Speakup. How you do this is beyond the scope of this
manual. For this information, visit the Speakup web site at
http://linux-speakup.org/. The reason you'll need the kernel source
tree patched with Speakup is that the genmap utility you'll need for
processing keymaps is in the
/usr/src/linux-<version_number>/drivers/char/speakup directory. The
<version_number> in the above directory path is the version number of
the Linux source tree you are working with.
So ok, you've gone off and gotten your kernel source tree, and patched
and configured it. Now you can start manipulating keymaps.
You can either use the
/usr/src/linux-<version_number>/drivers/char/speakup/speakupmap.map file
included with the Speakup source, or you can cut and paste the copy in
section 4 into a separate file. If you use the one in the Speakup
source tree, make sure you make a backup of it before you start making
changes. You have been warned!
Suppose that you want to swap the key assignments for the Speakup
say_last_char and the Speakup say_first_char commands. The
speakupmap.map lists the key mappings for these two commands as follows:
spk key_pageup = say_first_char
spk key_pagedown = say_last_char
You can edit your copy of the speakupmap.map file and swap the command
names on the right side of the = (equals) sign. You did make a backup,
right? The new keymap lines would look like this:
spk key_pageup = say_last_char
spk key_pagedown = say_first_char
After you edit your copy of the speakupmap.map file, save it under a new
file name, perhaps newmap.map. Then exit your editor and return to the
shell prompt.
You are now ready to load your keymap with your swapped key assignments.
Assuming that you saved your new keymap as the file newmap.map, you
would load your keymap into the sys system like this:
/usr/src/linux-<version_number>/drivers/char/speakup/genmap newmap.map
>/speakup/keymap
Remember to substitute your kernel version number for the
<version_number> in the above command. Also note that although the
above command wrapped onto two lines in this document, you should type
it all on one line.
Your say first and say last characters should now be swapped. Pressing
speakup pagedown should read you the first non-whitespace character on
the line your reading cursor is in, and pressing speakup pageup should
read you the last character on the line your reading cursor is in.
You should note that these new mappings will only stay in effect until
you reboot, or until you load another keymap.
One final warning. If you try to load a partial map, you will quickly
find that all the mappings you didn't include in your file got deleted
from the working map. Be extremely careful, and always make a backup!
You have been warned!
14. Internationalizing Speakup
Speakup indicates various conditions to the user by speaking messages.
For instance, when you move to the left edge of the screen with the
review keys, Speakup says, "left."
Prior to version 3.1.0 of Speakup, all of these messages were in English,
and they could not be changed. If you used a non-English synthesizer,
you still heard English messages, such as "left" and "cursoring on."
In version 3.1.0 or higher, one may load translations for the various
messages via the /sys filesystem.
The directory /speakup/i18n contains several collections of messages.
Each group of messages is stored in its own file.
The following section lists all of these files, along with a brief description
of each.
14.1. Files Under the i18n Subdirectory
* announcements:
This file contains various general announcements, most of which cannot
be categorized. You will find messages such as "You killed Speakup",
"I'm alive", "leaving help", "parked", "unparked", and others.
You will also find the names of the screen edges and cursor tracking modes
here.
* characters:
See section 12 for a description of this file.
* chartab:
See section 12. Unlike the rest of the files in the i18n subdirectory,
this one does not contain messages to be spoken.
* colors:
When you use the "say attributes" function, Speakup says the name of the
foreground and background colors. These names come from the i18n/colors
file.
* ctl_keys:
Here, you will find names of control keys. These are used with Speakup's
say_control feature.
* formatted:
This group of messages contains embedded formatting codes, to specify
the type and width of displayed data. If you change these, you must
preserve all of the formatting codes, and they must appear in the order
used by the default messages.
* function_names:
Here, you will find a list of names for Speakup functions. These are used
by the help system. For example, suppose that you have activated help mode,
and you pressed keypad 3. Speakup says:
"keypad 3 is character, say next."
The message "character, say next" names a Speakup function, and it
comes from this function_names file.
* key_names:
Again, key_names is used by Speakup's help system. In the previous
example, Speakup said that you pressed "keypad 3."
This name came from the key_names file.
* states:
This file contains names for key states.
Again, these are part of the help system. For instance, if you had pressed
speakup + keypad 3, you would hear:
"speakup keypad 3 is go to bottom edge."
The speakup key is depressed, so the name of the key state is speakup.
This part of the message comes from the states collection.
14.2. Changing language
14.2.1. Loading Your Own Messages
The files under the i18n subdirectory all follow the same format.
They consist of lines, with one message per line.
Each message is represented by a number, followed by the text of the message.
The number is the position of the message in the given collection.
For example, if you view the file /speakup/i18n/colors, you will see the
following list:
0 black
1 blue
2 green
3 cyan
4 red
5 magenta
6 yellow
7 white
8 grey
You can change one message, or you can change a whole group.
To load a whole collection of messages from a new source, simply use
the cp command:
cp ~/my_colors /speakup/i18n/colors
You can change an individual message with the echo command,
as shown in the following example.
The Spanish name for the color blue is azul.
Looking at the colors file, we see that the name "blue" is at position 1
within the colors group. Let's change blue to azul:
echo '1 azul' > /speakup/i18n/colors
The next time that Speakup says message 1 from the colors group, it will
say "azul", rather than "blue."
14.2.2. Choose a language
In the future, translations into various languages will be made available,
and most users will just load the files necessary for their language. So far,
only French language is available beyond native Canadian English language.
French is only available after you are logged in.
Canadian English is the default language. To toggle another language,
download the source of Speakup and untar it in your home directory. The
following command should let you do this:
tar xvjf speakup-<version>.tar.bz2
where <version> is the version number of the application.
Next, change to the newly created directory, then into the tools/ directory, and
run the script speakup_setlocale. You are asked the language that you want to
use. Type the number associated to your language (e.g. fr for French) then press
Enter. Needed files are copied in the i18n directory.
Note: the speakupconf must be installed on your system so that settings are saved.
Otherwise, you will have an error: your language will be loaded but you will
have to run the script again every time Speakup restarts.
See section 16.1. for information about speakupconf.
You will have to repeat these steps for any change of locale, i.e. if you wish
change the speakup's language or charset (iso-8859-15 ou UTF-8).
If you wish store the settings, note that at your next login, you will need to
do:
speakup load
Alternatively, you can add the above line to your file
~/.bashrc or ~/.bash_profile.
If your system administrator himself ran the script, all the users will be able
to change from English to the language chosen by root and do directly
speakupconf load (or add this to the ~/.bashrc or
~/.bash_profile file). If there are several languages to handle, the
administrator (or every user) will have to run the first steps until speakupconf
save, choosing the appropriate language, in every user's home directory. Every
user will then be able to do speakupconf load, Speakup will load his own settings.
14.3. No Support for Non-Western-European Languages
As of the current release, Speakup only supports Western European languages.
Support for the extended characters used by languages outside of the Western
European family of languages is a work in progress.
15. Using Speakup's Windowing Capability
Speakup has the capability of defining and manipulating windows on the
screen. Speakup uses the term "Window", to mean a user defined area of
the screen. The key strokes for defining and manipulating Speakup
windows are as follows:
speakup + f2 -- Set the bounds of the window.
Speakup + f3 -- clear the current window definition.
speakup + f4 -- Toggle window silence on and off.
speakup + keypad plus -- Say the currently defined window.
These capabilities are useful for tracking a certain part of the screen
without rereading the whole screen, or for silencing a part of the
screen that is constantly changing, such as a clock or status line.
There is no way to save these window settings, and you can only have one
window defined for each virtual console. There is also no way to have
windows automatically defined for specific applications.
In order to define a window, use the review keys to move your reading
cursor to the beginning of the area you want to define. Then press
speakup + f2. Speakup will tell you that the window starts at the
indicated row and column position. Then move the reading cursor to the
end of the area to be defined as a window, and press speakup + f2 again.
If there is more than one line in the window, Speakup will tell you
that the window ends at the indicated row and column position. If there
is only one line in the window, then Speakup will tell you that the
window is the specified line on the screen. If you are only defining a
one line window, you can just press speakup + f2 twice after placing the
reading cursor on the line you want to define as a window. It is not
necessary to position the reading cursor at the end of the line in order
to define the whole line as a window.
16. Tools for Controlling Speakup
The speakup distribution includes extra tools (in the tools directory)
which were written to make speakup easier to use. This section will
briefly describe the use of these tools.
16.1. Speakupconf
speakupconf began life as a contribution from Steve Holmes, a member of
the speakup community. We would like to thank him for his work on the
early versions of this project.
This script may be installed as part of your linux distribution, but if
it isn't, the recommended places to put it are /usr/local/bin or
/usr/bin. This script can be run by any user, so it does not require
root privileges.
Speakupconf allows you to save and load your Speakup settings. It works
by reading and writing the /sys files described above.
The directory that speakupconf uses to store your settings depends on
whether it is run from the root account. If you execute speakupconf as
root, it uses the directory /etc/speakup. Otherwise, it uses the directory
~/.speakup, where ~ is your home directory.
Anyone who needs to use Speakup from your console can load his own custom
settings with this script.
speakupconf takes one required argument: load or save.
Use the command
speakupconf save
to save your Speakup settings, and
speakupconf load
to load them into Speakup.
A second argument may be specified to use an alternate directory to
load or save the speakup parameters.
16.2. Talkwith
Charles Hallenbeck, another member of the speakup community, wrote the
initial versions of this script, and we would also like to thank him for
his work on it.
This script needs root privileges to run, so if it is not installed as
part of your linux distribution, the recommended places to install it
are /usr/local/sbin or /usr/sbin.
Talkwith allows you to switch synthesizers on the fly. It takes a synthesizer
name as an argument. For instance,
talkwith dectlk
causes Speakup to use the DecTalk Express. If you wish to switch to a
software synthesizer, you must also indicate which daemon you wish to
use. There are two possible choices:
spd and espeakup. spd is an abbreviation for speechd-up.
If you wish to use espeakup for software synthesis, give the command
talkwith soft espeakup
To use speechd-up, type:
talkwith soft spd
Any arguments that follow the name of the daemon are passed to the daemon
when it is invoked. For instance:
talkwith espeakup --default-voice=fr
causes espeakup to use the French voice.
Note that talkwith must always be executed with root privileges.
Talkwith does not attempt to load your settings after the new
synthesizer is activated. You can use speakupconf to load your settings
if desired.
GNU Free Documentation License
Version 1.2, November 2002
Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
0. PREAMBLE
The purpose of this License is to make a manual, textbook, or other
functional and useful document "free" in the sense of freedom: to
assure everyone the effective freedom to copy and redistribute it,
with or without modifying it, either commercially or noncommercially.
Secondarily, this License preserves for the author and publisher a way
to get credit for their work, while not being considered responsible
for modifications made by others.
This License is a kind of "copyleft", which means that derivative
works of the document must themselves be free in the same sense. It
complements the GNU General Public License, which is a copyleft
license designed for free software.
We have designed this License in order to use it for manuals for free
software, because free software needs free documentation: a free
program should come with manuals providing the same freedoms that the
software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this License
principally for works whose purpose is instruction or reference.
1. APPLICABILITY AND DEFINITIONS
This License applies to any manual or other work, in any medium, that
contains a notice placed by the copyright holder saying it can be
distributed under the terms of this License. Such a notice grants a
world-wide, royalty-free license, unlimited in duration, to use that
work under the conditions stated herein. The "Document", below,
refers to any such manual or work. Any member of the public is a
licensee, and is addressed as "you". You accept the license if you
copy, modify or distribute the work in a way requiring permission
under copyright law.
A "Modified Version" of the Document means any work containing the
Document or a portion of it, either copied verbatim, or with
modifications and/or translated into another language.
A "Secondary Section" is a named appendix or a front-matter section of
the Document that deals exclusively with the relationship of the
publishers or authors of the Document to the Document's overall subject
(or to related matters) and contains nothing that could fall directly
within that overall subject. (Thus, if the Document is in part a
textbook of mathematics, a Secondary Section may not explain any
mathematics.) The relationship could be a matter of historical
connection with the subject or with related matters, or of legal,
commercial, philosophical, ethical or political position regarding
them.
The "Invariant Sections" are certain Secondary Sections whose titles
are designated, as being those of Invariant Sections, in the notice
that says that the Document is released under this License. If a
section does not fit the above definition of Secondary then it is not
allowed to be designated as Invariant. The Document may contain zero
Invariant Sections. If the Document does not identify any Invariant
Sections then there are none.
The "Cover Texts" are certain short passages of text that are listed,
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
the Document is released under this License. A Front-Cover Text may
be at most 5 words, and a Back-Cover Text may be at most 25 words.
A "Transparent" copy of the Document means a machine-readable copy,
represented in a format whose specification is available to the
general public, that is suitable for revising the document
straightforwardly with generic text editors or (for images composed of
pixels) generic paint programs or (for drawings) some widely available
drawing editor, and that is suitable for input to text formatters or
for automatic translation to a variety of formats suitable for input
to text formatters. A copy made in an otherwise Transparent file
format whose markup, or absence of markup, has been arranged to thwart
or discourage subsequent modification by readers is not Transparent.
An image format is not Transparent if used for any substantial amount
of text. A copy that is not "Transparent" is called "Opaque".
Examples of suitable formats for Transparent copies include plain
ASCII without markup, Texinfo input format, LaTeX input format, SGML
or XML using a publicly available DTD, and standard-conforming simple
HTML, PostScript or PDF designed for human modification. Examples of
transparent image formats include PNG, XCF and JPG. Opaque formats
include proprietary formats that can be read and edited only by
proprietary word processors, SGML or XML for which the DTD and/or
processing tools are not generally available, and the
machine-generated HTML, PostScript or PDF produced by some word
processors for output purposes only.
The "Title Page" means, for a printed book, the title page itself,
plus such following pages as are needed to hold, legibly, the material
this License requires to appear in the title page. For works in
formats which do not have any title page as such, "Title Page" means
the text near the most prominent appearance of the work's title,
preceding the beginning of the body of the text.
A section "Entitled XYZ" means a named subunit of the Document whose
title either is precisely XYZ or contains XYZ in parentheses following
text that translates XYZ in another language. (Here XYZ stands for a
specific section name mentioned below, such as "Acknowledgements",
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
of such a section when you modify the Document means that it remains a
section "Entitled XYZ" according to this definition.
The Document may include Warranty Disclaimers next to the notice which
states that this License applies to the Document. These Warranty
Disclaimers are considered to be included by reference in this
License, but only as regards disclaiming warranties: any other
implication that these Warranty Disclaimers may have is void and has
no effect on the meaning of this License.
2. VERBATIM COPYING
You may copy and distribute the Document in any medium, either
commercially or noncommercially, provided that this License, the
copyright notices, and the license notice saying this License applies
to the Document are reproduced in all copies, and that you add no other
conditions whatsoever to those of this License. You may not use
technical measures to obstruct or control the reading or further
copying of the copies you make or distribute. However, you may accept
compensation in exchange for copies. If you distribute a large enough
number of copies you must also follow the conditions in section 3.
You may also lend copies, under the same conditions stated above, and
you may publicly display copies.
3. COPYING IN QUANTITY
If you publish printed copies (or copies in media that commonly have
printed covers) of the Document, numbering more than 100, and the
Document's license notice requires Cover Texts, you must enclose the
copies in covers that carry, clearly and legibly, all these Cover
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
the back cover. Both covers must also clearly and legibly identify
you as the publisher of these copies. The front cover must present
the full title with all words of the title equally prominent and
visible. You may add other material on the covers in addition.
Copying with changes limited to the covers, as long as they preserve
the title of the Document and satisfy these conditions, can be treated
as verbatim copying in other respects.
If the required texts for either cover are too voluminous to fit
legibly, you should put the first ones listed (as many as fit
reasonably) on the actual cover, and continue the rest onto adjacent
pages.
If you publish or distribute Opaque copies of the Document numbering
more than 100, you must either include a machine-readable Transparent
copy along with each Opaque copy, or state in or with each Opaque copy
a computer-network location from which the general network-using
public has access to download using public-standard network protocols
a complete Transparent copy of the Document, free of added material.
If you use the latter option, you must take reasonably prudent steps,
when you begin distribution of Opaque copies in quantity, to ensure
that this Transparent copy will remain thus accessible at the stated
location until at least one year after the last time you distribute an
Opaque copy (directly or through your agents or retailers) of that
edition to the public.
It is requested, but not required, that you contact the authors of the
Document well before redistributing any large number of copies, to give
them a chance to provide you with an updated version of the Document.
4. MODIFICATIONS
You may copy and distribute a Modified Version of the Document under
the conditions of sections 2 and 3 above, provided that you release
the Modified Version under precisely this License, with the Modified
Version filling the role of the Document, thus licensing distribution
and modification of the Modified Version to whoever possesses a copy
of it. In addition, you must do these things in the Modified Version:
A. Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section
of the Document). You may use the same title as a previous version
if the original publisher of that version gives permission.
B. List on the Title Page, as authors, one or more persons or entities
responsible for authorship of the modifications in the Modified
Version, together with at least five of the principal authors of the
Document (all of its principal authors, if it has fewer than five),
unless they release you from this requirement.
C. State on the Title page the name of the publisher of the
Modified Version, as the publisher.
D. Preserve all the copyright notices of the Document.
E. Add an appropriate copyright notice for your modifications
adjacent to the other copyright notices.
F. Include, immediately after the copyright notices, a license notice
giving the public permission to use the Modified Version under the
terms of this License, in the form shown in the Addendum below.
G. Preserve in that license notice the full lists of Invariant Sections
and required Cover Texts given in the Document's license notice.
H. Include an unaltered copy of this License.
I. Preserve the section Entitled "History", Preserve its Title, and add
to it an item stating at least the title, year, new authors, and
publisher of the Modified Version as given on the Title Page. If
there is no section Entitled "History" in the Document, create one
stating the title, year, authors, and publisher of the Document as
given on its Title Page, then add an item describing the Modified
Version as stated in the previous sentence.
J. Preserve the network location, if any, given in the Document for
public access to a Transparent copy of the Document, and likewise
the network locations given in the Document for previous versions
it was based on. These may be placed in the "History" section.
You may omit a network location for a work that was published at
least four years before the Document itself, or if the original
publisher of the version it refers to gives permission.
K. For any section Entitled "Acknowledgements" or "Dedications",
Preserve the Title of the section, and preserve in the section all
the substance and tone of each of the contributor acknowledgements
and/or dedications given therein.
L. Preserve all the Invariant Sections of the Document,
unaltered in their text and in their titles. Section numbers
or the equivalent are not considered part of the section titles.
M. Delete any section Entitled "Endorsements". Such a section
may not be included in the Modified Version.
N. Do not retitle any existing section to be Entitled "Endorsements"
or to conflict in title with any Invariant Section.
O. Preserve any Warranty Disclaimers.
If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or all
of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Version's license notice.
These titles must be distinct from any other section titles.
You may add a section Entitled "Endorsements", provided it contains
nothing but endorsements of your Modified Version by various
parties--for example, statements of peer review or that the text has
been approved by an organization as the authoritative definition of a
standard.
You may add a passage of up to five words as a Front-Cover Text, and a
passage of up to 25 words as a Back-Cover Text, to the end of the list
of Cover Texts in the Modified Version. Only one passage of
Front-Cover Text and one of Back-Cover Text may be added by (or
through arrangements made by) any one entity. If the Document already
includes a cover text for the same cover, previously added by you or
by arrangement made by the same entity you are acting on behalf of,
you may not add another; but you may replace the old one, on explicit
permission from the previous publisher that added the old one.
The author(s) and publisher(s) of the Document do not by this License
give permission to use their names for publicity for or to assert or
imply endorsement of any Modified Version.
5. COMBINING DOCUMENTS
You may combine the Document with other documents released under this
License, under the terms defined in section 4 above for modified
versions, provided that you include in the combination all of the
Invariant Sections of all of the original documents, unmodified, and
list them all as Invariant Sections of your combined work in its
license notice, and that you preserve all their Warranty Disclaimers.
The combined work need only contain one copy of this License, and
multiple identical Invariant Sections may be replaced with a single
copy. If there are multiple Invariant Sections with the same name but
different contents, make the title of each such section unique by
adding at the end of it, in parentheses, the name of the original
author or publisher of that section if known, or else a unique number.
Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work.
In the combination, you must combine any sections Entitled "History"
in the various original documents, forming one section Entitled
"History"; likewise combine any sections Entitled "Acknowledgements",
and any sections Entitled "Dedications". You must delete all sections
Entitled "Endorsements".
6. COLLECTIONS OF DOCUMENTS
You may make a collection consisting of the Document and other documents
released under this License, and replace the individual copies of this
License in the various documents with a single copy that is included in
the collection, provided that you follow the rules of this License for
verbatim copying of each of the documents in all other respects.
You may extract a single document from such a collection, and distribute
it individually under this License, provided you insert a copy of this
License into the extracted document, and follow this License in all
other respects regarding verbatim copying of that document.
7. AGGREGATION WITH INDEPENDENT WORKS
A compilation of the Document or its derivatives with other separate
and independent documents or works, in or on a volume of a storage or
distribution medium, is called an "aggregate" if the copyright
resulting from the compilation is not used to limit the legal rights
of the compilation's users beyond what the individual works permit.
When the Document is included in an aggregate, this License does not
apply to the other works in the aggregate which are not themselves
derivative works of the Document.
If the Cover Text requirement of section 3 is applicable to these
copies of the Document, then if the Document is less than one half of
the entire aggregate, the Document's Cover Texts may be placed on
covers that bracket the Document within the aggregate, or the
electronic equivalent of covers if the Document is in electronic form.
Otherwise they must appear on printed covers that bracket the whole
aggregate.
8. TRANSLATION
Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section 4.
Replacing Invariant Sections with translations requires special
permission from their copyright holders, but you may include
translations of some or all Invariant Sections in addition to the
original versions of these Invariant Sections. You may include a
translation of this License, and all the license notices in the
Document, and any Warranty Disclaimers, provided that you also include
the original English version of this License and the original versions
of those notices and disclaimers. In case of a disagreement between
the translation and the original version of this License or a notice
or disclaimer, the original version will prevail.
If a section in the Document is Entitled "Acknowledgements",
"Dedications", or "History", the requirement (section 4) to Preserve
its Title (section 1) will typically require changing the actual
title.
9. TERMINATION
You may not copy, modify, sublicense, or distribute the Document except
as expressly provided for under this License. Any other attempt to
copy, modify, sublicense or distribute the Document is void, and will
automatically terminate your rights under this License. However,
parties who have received copies, or rights, from you under this
License will not have their licenses terminated so long as such
parties remain in full compliance.
10. FUTURE REVISIONS OF THIS LICENSE
The Free Software Foundation may publish new, revised versions
of the GNU Free Documentation License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns. See
https://www.gnu.org/copyleft/.
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this
License "or any later version" applies to it, you have the option of
following the terms and conditions either of that specified version or
of any later version that has been published (not as a draft) by the
Free Software Foundation. If the Document does not specify a version
number of this License, you may choose any version ever published (not
as a draft) by the Free Software Foundation.
ADDENDUM: How to use this License for your documents
To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and
license notices just after the title page:
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
replace the "with...Texts." line with this:
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
If you have Invariant Sections without Cover Texts, or some other
combination of the three, merge those two alternatives to suit the
situation.
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
to permit their use in free software.
The End.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
문서 정보와 배포 조건
1-19이 문서는 Gene Collins가 작성하고 다른 기여자들이 갱신한 `Speakup 3.1.2 이상 사용 설명서`이며, 최종 수정 시각은 2010년 9월 27일 14:26:31, 문서 버전은 1.3입니다. 저작권은 2005년 Gene Collins, 2008·2023년 Samuel Thibault, 2009·2010년 Speakup Team에 있습니다.
GNU Free Documentation License 1.2 또는 Free Software Foundation이 발표한 이후 버전의 조건에 따라 이 문서를 복제·배포·수정할 수 있습니다. 불변 섹션, 앞표지 문구, 뒤표지 문구는 없으며, 라이선스 사본은 `GNU Free Documentation License` 절에 포함되어 있습니다.
머리말
20-39이 문서의 목적은 Linux 화면 읽기 프로그램 Speakup의 사용자 인터페이스를 익히게 하는 것입니다. 설치하거나 구하는 방법은 `http://linux-speakup.org/`에서 확인합니다. Speakup은 표준 Linux 커널 소스 트리에 적용하는 패치 집합으로, 여러 모듈 또는 단일 커널의 일부로 빌드할 수 있습니다.
설치 방식에 따라 사용자는 모듈 기능을 알아야 할 수 있습니다. Speakup이 단일 커널에 포함되고 하드웨어 합성기를 사용하면 커널 적재부터 시스템 종료까지 음성 접근을 제공합니다. 배포판 설치 미디어의 커널에 Speakup이 포함되어 있다면 시각 장애인이 다른 사람의 도움 없이 음성으로 Linux를 설치할 수도 있습니다. 자세한 설치 설명은 이 설명서 범위 밖이며 위 웹사이트를 참조합니다.
1. Speakup 시작
40-109관리자가 특정 합성기를 기본값으로 설치했다면 지원되는 하드웨어 합성기를 장착하거나 연결하고 필요하면 전원을 켠 뒤 시스템을 부팅하는 것만으로 Speakup이 말하기 시작합니다. 커널에 기본 합성기가 없거나 일부 합성기 드라이버만 들어 있을 수도 있습니다. 지원 장치가 빠졌다면 커널 설치 담당자에게 요청하거나 Speakup 웹사이트의 안내에 따라 직접 커널을 패치·빌드할 수 있습니다.
커널에 Speakup이 포함되었지만 기본 합성기가 없거나 다른 합성기를 쓰려면 부트로더 프롬프트에서 다음처럼 `speakup.synth`를 지정합니다. 예시는 LiteTalk 또는 DoubleTalk LT를 선택합니다.
linux speakup.synth=ltlk
`ltlk` 대신 커널에 지원이 빌드된 장치의 키워드를 사용합니다. 내부 Tripletalk은 지원하지 않습니다. `decpc`와 `soft`는 다른 소프트웨어가 먼저 실행되어야 하므로 모듈로 나중에 적재하며 부팅 단계에서는 사용할 수 없습니다.
| 키워드 | 합성기 |
|---|---|
| `acntsa` | Accent SA |
| `acntpc` | Accent PC |
| `apollo` | Apollo |
| `audptr` | Audapter |
| `bns` | Braille 'n Speak |
| `dectlk` | DecTalk Express(구형·신형, DB9 직렬 전용) |
| `decext` | 구형 외장 DecTalk |
| `dtlk` | DoubleTalk PC |
| `keypc` | Keynote Gold PC |
| `ltlk` | DoubleTalk LT, LiteTalk, 외장 Tripletalk(DB9 직렬 전용) |
| `spkout` | Speak Out |
| `txprt` | Transport |
| `dummy` | 일반 텍스트 터미널 |
| `decpc` | DecTalk PC(부팅 시에는 사용할 수 없음) |
| `soft` | 소프트웨어 음성 합성기(부팅 시에는 사용할 수 없음) |
acntsa -- Accent SA
acntpc -- Accent PC
apollo -- Apollo
audptr -- Audapter
bns -- Braille 'n Speak
dectlk -- DecTalk Express (old and new, db9 serial only)
decext -- DecTalk (old) External
dtlk -- DoubleTalk PC
keypc -- Keynote Gold PC
ltlk -- DoubleTalk LT, LiteTalk, or external Tripletalk (db9 serial only)
spkout -- Speak Out
txprt -- Transport
dummy -- Plain text terminal
decpc -- DecTalk PC (not available at boot up)
soft -- One of several software synthesizers (not available at boot up)
Speakup은 기본적으로 `ttyS0` 직렬 포트에서 합성기를 찾습니다. 모듈의 장치 매개변수로 포트를 바꿀 수 있으며, 다음 예는 DoubleTalk LT를 `ttyUSB0`에서 사용합니다.
speakup_ltlk.dev=ttyUSB0
Speakup 전체가 모듈로 빌드되었다면 `speakup.synth` 부팅 매개변수는 효과가 없습니다. 관리자가 부팅 중 모듈을 적재하도록 설정해야 하므로 이 구성에서는 일부 부팅 메시지만 들을 수 있습니다. 자세한 내용은 뒤의 모듈 및 소프트웨어 합성기 절을 참조합니다.
2. 기본 조작
110-197필요한 부팅 매개변수를 준 뒤 커널이 적재되면 Speakup은 커널이 화면에 출력하는 부팅 메시지를 모두 읽습니다. 별도 화면 읽기 프로그램이 아니라 운영체제에 통합되어 있으므로, 커널을 통해 화면을 출력하고 키보드 입력을 받는 거의 모든 콘솔 응용 프로그램이 자동으로 처리됩니다. 일부 예외는 뒤에서 설명합니다.
이 문서에서 `keypad`는 숫자 키패드를 뜻합니다. 검토 키 대부분은 키보드 오른쪽 키패드에 있으며 Num Lock을 꺼야 동작합니다. Num Lock을 켜면 숫자를 입력하므로 스프레드시트 등에 적합합니다. 부팅 기본 상태는 꺼짐입니다.
부팅 메시지는 적어도 한 번 들어 두면 유용하며, 부팅 후에도 다음 명령으로 검토할 수 있습니다.
dmesg | more
부팅 중 keypad Enter를 누르면 다음 키를 누를 때까지 발화를 멈춥니다. keypad 8은 현재 줄을 읽으므로 부팅 완료 여부를 확인하고 말하기를 다시 시작하는 효과도 있습니다. 아직 부팅 중이면 keypad Enter로 다시 조용히 할 수 있습니다.
부팅이 끝나면 `login` 프롬프트에서 사용자 ID와 암호를 입력합니다. ID 문자는 읽지만 화면에 표시되지 않는 암호는 읽지 않습니다. 이는 Speakup 기능이 아니라 Linux 보안 동작입니다. 로그인한 일반 사용자는 자신의 권한으로 허용된 명령과 프로그램만 실행할 수 있습니다.
프로그램이나 명령이 새 텍스트를 출력하면 Speakup이 자동으로 읽습니다. 언제든 keypad Enter로 멈추거나 검토 키로 화면을 살필 수 있습니다.
keypad 1 -- read previous character
keypad 2 -- read current character (pressing keypad 2 twice rapidly will speak
the current character phonetically)
keypad 3 -- read next character
keypad 4 -- read previous word
keypad 5 -- read current word (press twice rapidly to spell the current word)
keypad 6 -- read next word
keypad 7 -- read previous line
keypad 8 -- read current line (press twice rapidly to hear how much the
text on the current line is indented)
keypad 9 -- read next line
keypad period -- speak current cursor position and announce current
virtual console
| 키 | 동작 |
|---|---|
| keypad 1 / 2 / 3 | 이전 문자 / 현재 문자 / 다음 문자를 읽습니다. keypad 2를 빠르게 두 번 누르면 현재 문자를 음성 기호로 읽습니다. |
| keypad 4 / 5 / 6 | 이전 단어 / 현재 단어 / 다음 단어를 읽습니다. keypad 5를 빠르게 두 번 누르면 현재 단어의 철자를 읽습니다. |
| keypad 7 / 8 / 9 | 이전 줄 / 현재 줄 / 다음 줄을 읽습니다. keypad 8을 빠르게 두 번 누르면 현재 줄의 들여쓰기 정도를 읽습니다. |
| keypad period | 현재 커서 위치와 현재 가상 콘솔을 알립니다. |
| keypad enter | 다른 키를 누를 때까지 현재 음성을 멈춥니다. |
| speakup + keypad enter | 화면에 새로 나타나는 텍스트를 자동으로 읽는 기능을 켜거나 끕니다. |
keypad Insert는 `speakup` 보조 키로 매핑됩니다. 일반 키처럼 눌렀다 떼지 말고 Shift처럼 누른 채 다른 키와 조합합니다. `speakup + keypad Enter`는 새 화면 텍스트 자동 발화를 토글하며, 단순 keypad Enter의 일시 정지와 다릅니다. 끌 때는 `You turned me off.`, 켤 때는 `Hey, that's better.`라고 말합니다. 자동 발화가 꺼져도 검토 제어로 화면을 읽을 수 있습니다.
3. Speakup 도움말 시스템
198-248도움말에 들어가려면 keypad Insert인 speakup 키를 누른 채 F1을 누릅니다. Speakup은 Space로 나가고, 위·아래 커서로 스크롤하며, 글자로 명령 목록의 해당 위치로 이동할 수 있다고 안내합니다. Space로 나가면 `Leaving help.`라고 말합니다.
명령은 알파벳순이며 커서 키로 이동하거나 원하는 첫 글자를 눌러 건너뛸 수 있습니다. 키를 직접 눌러 연결된 명령을 탐색할 수도 있습니다. 예를 들어 keypad 8을 누르면 `Keypad 8 is line, say current.`라고 말합니다. 키가 없는 드문 명령은 뒤에서 설명하는 sys 인터페이스로 접근합니다.
일부 명령에 키가 두 개 있는 이유는 노트북용 대체 바인딩 때문입니다. 대체 speakup 키는 Caps Lock이며, 대부분 노트북의 J·K·L 부근 내장 숫자 키패드를 켰다 껐다 하는 번거로움을 줄입니다. 데스크톱에서도 기본적으로 이 바인딩을 쓸 수 있으나 관리자가 빌드에서 제외했을 수 있습니다. Caps Lock 본래 기능은 Shift를 누른 채 토글하고, Caps Lock을 누른 채 Z를 누르면 대체 J·K·L 키패드를 토글합니다.
4. 키와 할당 명령
249-353다음 목록은 `speakupmap.map`에서 가져온 전체 기본 매핑입니다. 등호 왼쪽은 키 조합, 오른쪽은 내부 Speakup 명령입니다. `spk`는 keypad insert 또는 Caps Lock인 speakup 키를 누른 채 나머지 키를 누르라는 뜻이며, `double`, `shift`, `ctrl`은 각각 빠르게 두 번 누르기와 보조 키 조합을 뜻합니다. 명령 식별자는 실제 키맵에 입력하는 값이므로 원문 그대로 보존합니다.
spk key_f9 = punc_level_dec
spk key_f10 = punc_level_inc
spk key_f11 = reading_punc_dec
spk key_f12 = reading_punc_inc
spk key_1 = vol_dec
spk key_2 = vol_inc
spk key_3 = pitch_dec
spk key_4 = pitch_inc
spk key_5 = rate_dec
spk key_6 = rate_inc
key_kpasterisk = toggle_cursoring
spk key_kpasterisk = speakup_goto
spk key_f1 = speakup_help
spk key_f2 = set_win
spk key_f3 = clear_win
spk key_f4 = enable_win
spk key_f5 = edit_some
spk key_f6 = edit_most
spk key_f7 = edit_delim
spk key_f8 = edit_repeat
shift spk key_f9 = edit_exnum
key_kp7 = say_prev_line
spk key_kp7 = left_edge
key_kp8 = say_line
double key_kp8 = say_line_indent
spk key_kp8 = say_from_top
key_kp9 = say_next_line
spk key_kp9 = top_edge
key_kpminus = speakup_parked
spk key_kpminus = say_char_num
key_kp4 = say_prev_word
spk key_kp4 = say_from_left
key_kp5 = say_word
double key_kp5 = spell_word
spk key_kp5 = spell_phonetic
key_kp6 = say_next_word
spk key_kp6 = say_to_right
key_kpplus = say_screen
spk key_kpplus = say_win
key_kp1 = say_prev_char
spk key_kp1 = right_edge
key_kp2 = say_char
spk key_kp2 = say_to_bottom
double key_kp2 = say_phonetic_char
key_kp3 = say_next_char
spk key_kp3 = bottom_edge
key_kp0 = spk_key
key_kpdot = say_position
spk key_kpdot = say_attributes
key_kpenter = speakup_quiet
spk key_kpenter = speakup_off
key_sysrq = speech_kill
key_kpslash = speakup_cut
spk key_kpslash = speakup_paste
spk key_pageup = say_first_char
spk key_pagedown = say_last_char
key_capslock = spk_key
spk key_z = spk_lock
key_leftmeta = spk_key
ctrl spk key_0 = speakup_goto
spk key_u = say_prev_line
spk key_i = say_line
double spk key_i = say_line_indent
spk key_o = say_next_line
spk key_minus = speakup_parked
shift spk key_minus = say_char_num
spk key_j = say_prev_word
spk key_k = say_word
double spk key_k = spell_word
spk key_l = say_next_word
spk key_m = say_prev_char
spk key_comma = say_char
double spk key_comma = say_phonetic_char
spk key_dot = say_next_char
spk key_n = say_position
ctrl spk key_m = left_edge
ctrl spk key_y = top_edge
ctrl spk key_dot = right_edge
ctrl spk key_p = bottom_edge
spk key_apostrophe = say_screen
spk key_h = say_from_left
spk key_y = say_from_top
spk key_semicolon = say_to_right
spk key_p = say_to_bottom
spk key_slash = say_attributes
spk key_enter = speakup_quiet
ctrl spk key_enter = speakup_off
spk key_9 = speakup_cut
spk key_8 = speakup_paste
shift spk key_m = say_first_char
ctrl spk key_semicolon = say_last_char
spk key_r = read_all_doc
5. Speakup sys 인터페이스
354-531Speakup은 sysfs에 `speakup` 하위 디렉터리를 만듭니다. 루트로 다음 심볼릭 링크를 만들면 `/sys/accessibility/speakup`의 매개변수를 `/speakup`에서 바로 다룰 수 있습니다.
ln -s /sys/accessibility/speakup /speakup
`ls -1 /speakup/*`를 실행하면 전역 설정, 국제화 설정, 현재 합성기별 설정을 볼 수 있습니다. 예시에서 `/speakup/i18n`은 뒤의 국제화 절에서 설명하고, `/speakup/soft`는 소프트웨어 합성기 드라이버의 볼륨·속도·피치·억양·음색 등 고유 설정입니다. LiteTalk을 사용하면 같은 방식으로 `/speakup/ltlk`가 만들어집니다. 즉 장치 키워드가 `KWD`이면 `/speakup/KWD`가 장치별 매개변수를 담습니다.
ls -1 /speakup/*
If you issue the above ls command, you will get back something like
this:
/speakup/attrib_bleep
/speakup/bell_pos
/speakup/bleep_time
/speakup/bleeps
/speakup/cursor_time
/speakup/delimiters
/speakup/ex_num
/speakup/key_echo
/speakup/keymap
/speakup/no_interrupt
/speakup/punc_all
/speakup/punc_level
/speakup/punc_most
/speakup/punc_some
/speakup/reading_punc
/speakup/repeats
/speakup/say_control
/speakup/say_word_ctl
/speakup/silent
/speakup/spell_delay
/speakup/synth
/speakup/synth_direct
/speakup/version
/speakup/i18n:
announcements
characters
chartab
colors
ctl_keys
formatted
function_names
key_names
states
/speakup/soft:
caps_start
caps_stop
delay_time
direct
freq
full_time
jiffy_delta
pitch
inflection
punct
rate
tone
trigger_time
voice
vol
Speakup 단축키뿐 아니라 적절한 `/speakup` 항목에 값을 써서 볼륨, 피치, 속도 등을 바꿀 수 있습니다. 이 방식은 스크립트와 부팅 초기화에 유용합니다. 다음 네 Bash 스크립트는 `punc_level`과 `reading_punc`를 한 명령으로 0부터 3까지 함께 설정합니다.
#!/bin/bash
# punc0
# set punc and reading punc levels to 0
echo 0 >/speakup/punc_level
echo 0 >/speakup/reading_punc
echo Punctuation level set to 0.
#!/bin/bash
# punc1
# set punc and reading punc levels to 1
echo 1 >/speakup/punc_level
echo 1 >/speakup/reading_punc
echo Punctuation level set to 1.
#!/bin/bash
# punc2
# set punc and reading punc levels to 2
echo 2 >/speakup/punc_level
echo 2 >/speakup/reading_punc
echo Punctuation level set to 2.
#!/bin/bash
# punc3
# set punc and reading punc levels to 3
echo 3 >/speakup/punc_level
echo 3 >/speakup/reading_punc
echo Punctuation level set to 3.
스크립트를 `/usr/local/bin` 같은 `PATH` 디렉터리에 두고 `chmod`로 권한을 755로 설정하면 `punc3` 같은 명령 하나로 두 구두점 수준을 함께 바꿀 수 있습니다. 예시는 Bash용이지만 다른 셸에서도 같은 원리로 작성할 수 있습니다. 같은 값을 시스템 시작 스크립트에서 써 주면 재부팅할 때마다 선호 설정으로 돌아갑니다.
대부분 매개변수는 일반 사용자가 조작할 수 있지만 위험한 항목은 루트만 쓸 수 있고, `version`처럼 읽기 전용인 항목도 있습니다. `ls -l` 결과에서 `version`은 root 소유이며 모든 사용자에게 읽기만 허용됩니다.
-r--r--r-- 1 root root 0 Mar 21 13:46 /speakup/version
cat /speakup/version
Speakup v-2.00 CVS: Thu Oct 21 10:38:21 EDT 2004
synth dtlk version 1.1
`cat /speakup/version`은 Speakup 버전과 현재 합성기 드라이버 버전을 표시합니다. 다른 항목도 읽어 현재 값을 확인할 수 있습니다. 예를 들어 합성기 키워드 `KWD`를 실제 키워드로 바꾸어 볼륨을 읽으면 예시에서는 5가 반환됩니다.
cat /speakup/KWD/vol
# Replace KWD with the keyword for your synthesizer, E.G., ltlk for LiteTalk.
5
모든 sys 항목은 읽을 수 있고, 일부는 root만 또는 모든 사용자가 쓸 수 있습니다. 의미를 정확히 모르면 root 전용 항목은 건드리지 않는 편이 안전합니다. 이름은 대체로 자명합니다. `vol`은 볼륨, `pitch`는 피치, `inflection`은 피치 범위, `rate`는 말하기 속도입니다. 불확실하면 Speakup 메일링 리스트에 질문합니다.
6. 합성기 변경
532-544Speakup 실행 중에도 재부팅 없이 합성기를 바꿀 수 있습니다. `/speakup/synth`에 새 합성기 키워드를 씁니다. 장치를 분리하고 다른 장치를 연결하는 동안에는 먼저 `none`을 써서 음성을 끈 뒤 새 장치의 키워드를 쓰면 됩니다. 알맞은 키워드는 1절의 표를 참조합니다.
7. 모듈 적재
545-606도움말 모듈을 제외한 Speakup 전체를 커널에 내장하거나 일련의 모듈로 빌드할 수 있고, 일부는 내장하고 일부는 모듈로 둘 수도 있습니다. 전부 모듈이면 파일 시스템 검사·마운트 뒤 또는 initrd에서 관리자가 적재해야 하므로 일부 부팅 메시지만 읽을 수 있습니다. 혼합 구성은 소프트웨어 합성기에 특히 유용합니다.
전부 모듈이면 사용하려는 합성기 드라이버 `speakup_<keyword>`를 `modprobe`합니다. DecTalk Express 예시는 다음과 같고, 필요한 Speakup 종속 모듈도 함께 적재됩니다.
modprobe speakup_dectlk
전부 모듈인 Speakup을 완전히 내리려면 사용 중인 드라이버를 `modprobe -r`로 제거합니다. 다른 합성기라면 `dectlk` 대신 그 키워드를 씁니다.
modprobe -r speakup_dectlk
드라이버를 여러 개 적재했다면 모두 제거해야 Speakup이 완전히 내려갑니다. `dectlk`와 `ltlk`를 함께 적재한 예는 다음과 같습니다.
modprobe -r speakup_dectlk speakup_ltlk
사용자 공간 데몬이 `/dev/softsynth`를 사용 중이면 소프트웨어 합성기 드라이버를 내릴 수 없습니다. 먼저 데몬을 종료한 뒤 제거합니다.
modprobe -r speakup_soft
Speakup 핵심이 커널에 내장되고 드라이버가 모듈이면 부분 sys 인터페이스가 이미 있으므로 `/speakup/synth`에 키워드를 쓰는 것만으로 커널이 알맞은 드라이버를 자동 적재하고 말하기를 시작합니다. 다음은 DoubleTalk LT 예시입니다. 핵심의 내장 여부와 관계없이 드라이버 모듈은 `modprobe -r`로 내릴 수 있습니다.
echo ltlk >/speakup/synth
8. 소프트웨어 합성기 사용
607-710소프트웨어 합성기는 다른 사용자 공간 소프트웨어가 설치되어 실행 중이어야 하므로 부팅 초기나 시스템 설치 과정에는 사용할 수 없습니다. 자유 소프트웨어 방식은 Speakup과 eSpeak을 잇는 Espeakup, 그리고 Speech Dispatcher의 두 가지입니다. 이 절에서는 `speakup_soft`가 커널에 내장되었거나 모듈로 적재되었다고 가정합니다.
udev가 없다면 root로 `/dev/softsynth` 문자 장치(major 10, minor 26)를 만들고, 사용자 공간 프로그램이 합성기에 데이터를 보낼 수 있도록 `/dev/synth`(major 10, minor 25)도 만들 수 있습니다. 원문의 이어지는 `of both.`는 두 장치 모두를 가리키는 불완전한 문장 조각입니다.
cd /dev
mknod softsynth c 10 26
mknod synth c 10 25
Espeakup이 배포판 패키지로 없다면 Speakup 소스의 `contrib/`에 있는 `espeakup-$VERSION.tar.bz2`를 설치합니다. Speakup 3.1.2에는 Espeakup 0.71이 포함되어 있으며 README가 수동 설치를 설명합니다. 설치 뒤 Speakup에 `soft` 드라이버를 선택합니다.
echo soft > /speakup/synth
배포판 패키지로 설치했다면 root로 `/etc/init.d/espeakup start`를 실행하며, 배포판이 `/etc/rc.d`를 쓰면 경로를 바꿉니다. 배포판의 부팅 데몬 절차를 사용하면 사용자 공간 데몬 시작 직후부터 음성을 쓸 수 있습니다. 그 절차 자체는 이 문서 범위 밖입니다.
/etc/init.d/espeakup start
직접 빌드해 `make install`했다면 바이너리는 `/usr/bin`에 있으므로 root로 직접 실행합니다.
/usr/bin/espeakup
Speech Dispatcher 방식은 지원되는 합성기와 함께 Speech Dispatcher가 설치·실행·설정되어 있어야 합니다. Flite와 Festival은 오픈 소스 선택지이며, 상용 Software DecTalk도 사용할 수 있습니다. Speech Dispatcher와 `speechd-up`은 원문에 적힌 free(b)soft 사이트에서 구하고, 배포판이 제공하는 미리 빌드된 패키지를 사용할 수도 있습니다.
선택한 합성기로 Speech Dispatcher를 설치·설정·검사한 뒤 `speechd-up`을 빌드·설치합니다. Speakup에 `soft`를 선택하고 `speechd_up`을 백그라운드에서 실행하면 합성기가 말하기 시작하며 피치와 속도 등을 조절할 수 있습니다.
echo soft >/speakup/synth
speechd_up &
9. DecTalk PC 카드 사용
711-745DecTalk PC는 컴퓨터의 ISA 슬롯에 꽂는 카드입니다. 사용 전에 DecTalk PC 소프트웨어를 설치하고 카드에 적재해야 합니다. `linux-speakup.org`의 `~ftp/pub/linux/speakup`에서 `dec_pc.tgz`를 받아 홈 디렉터리에 풀고 새 `dec_pc` 디렉터리의 README를 읽습니다.
가장 간단한 방법은 `dec_pc` 디렉터리 전체를 `/usr/local/lib`에 복사하고, 그 안의 `dtload`를 `/usr/bin` 또는 `/usr/local/bin`처럼 `PATH`에 있는 디렉터리로 복사하는 것입니다. 원문의 `/user/local/lib` 표기는 문맥상 `/usr/local/lib`의 오타입니다.
cp dec_pc /usr/local/lib
`dtload`로 카드에 소프트웨어를 적재한 뒤 sys의 `synth`에 `decpc`를 쓰면 말하기가 시작됩니다. 피치·속도·볼륨·음성을 조절할 수 있고, `voice` 항목은 0부터 7까지 받아 여러 DecTalk 음성을 선택합니다.
echo decpc >/speakup/synth
10. 커서 추적
746-801Speakup 2.0 이상에서는 전통적인 커서 추적이 기본으로 켜집니다. 편집기에서 왼쪽·오른쪽으로 이동하면 문자를, 위·아래로 이동하면 줄을 자동으로 읽습니다. 최신 버전은 강조 표시 추적과 창 읽기도 제공하며 필요하면 추적을 완전히 끌 수 있습니다.
keypad 별표를 누를 때마다 `cursoring on`, `highlight tracking`, `read window`, `cursoring off` 네 상태가 순환하고 새 모드 이름을 읽습니다. 강조 표시 추적은 커서 자체가 아니라 현재 강조된 정보를 읽으므로 메뉴와 대화 상자 탐색에 유용합니다.
`read window`는 화면에 관심 영역을 창으로 지정해 그 안만 읽습니다. 창 정의는 15절을 참조합니다. 예를 들어 Bash 명령 이력을 위·아래 키로 볼 때 셸 프롬프트가 매번 반복되는 것을 막으려면 마지막 줄에서 `speakup + F3`으로 기존 창을 지우고, 프롬프트 다음 첫 문자로 검토 커서를 옮긴 뒤 `speakup + F2`를 두 번 눌러 그 위치부터 줄 끝까지 한 줄 창을 만듭니다. 별표로 `read window`를 선택하면 이력만 들립니다.
Lynx에서는 커서 추적을 끄는 사용자가 있고, `alsamixer`에서는 반드시 꺼야 화살표 키로 이동하면서 믹서 설정을 들을 수 있습니다.
11. 잘라내기와 붙여넣기
802-854Speakup은 화면 텍스트를 캡처해 같은 프로그램의 다른 위치나 다른 가상 콘솔의 별도 프로그램에 붙여넣을 수 있습니다. 이름은 잘라내기지만 화면에서 원문을 지우지 않고 전용 버퍼에 복사합니다.
예를 들어 `http://linux-speakup.org/`를 복사하려면 검토 키로 읽기 커서를 URL의 첫 문자에 놓고 keypad 슬래시를 한 번 눌러 `mark`를 설정합니다. 마지막 문자로 이동해 다시 keypad 슬래시를 누르면 `cut`이라고 말하며 범위를 버퍼에 넣습니다.
Alt+왼쪽·오른쪽 또는 Alt+기능 키로 적절한 콘솔로 옮긴 뒤 셸에서 `lynx`와 공백을 입력하고, speakup 키를 누른 채 keypad 슬래시를 눌러 URL을 붙여넣고 Enter로 실행할 수 있습니다. 콘솔 전환은 Speakup 명령이 아니라 표준 Linux 콘솔 기능입니다.
새 표시·잘라내기 작업을 하기 전까지 버퍼 내용은 유지되므로 여러 번 붙여넣을 수 있습니다. 한 줄뿐 아니라 왼쪽 위에서 표시하고 오른쪽 아래에서 잘라내면 화면의 직사각형 영역도 캡처할 수 있습니다.
12. 문자 발음 변경
855-905`/speakup/i18n/characters`를 통해 문장 부호나 글자의 발음을 바꿀 수 있습니다. 예를 들어 캐나다식 `zed` 대신 미국식 `zee`로 대문자·소문자 Z를 읽게 하려면 ASCII 값 90과 122에 새 발음을 지정합니다. 명령은 셸에서 실행하거나 시작 스크립트에 넣을 수 있습니다.
echo 90 zee >/speakup/characters
echo 122 zee >/speakup/characters
`echo`는 뒤 문자열을 출력합니다. 단순히 다음 명령을 입력하면 Enter를 누르는 즉시 화면에 `hello.`가 출력됩니다. 여기서는 그 출력을 sysfs 파일로 리디렉션합니다.
echo hello.
90과 122는 바꿀 대문자·소문자 Z의 ASCII 숫자 값이고 `zee`는 새 발음입니다. `>`는 DOS나 Windows 명령 프롬프트에서처럼 출력을 파일로 보냅니다. Speakup은 숫자 값을 보고 내부 문자 발음 표의 문자열을 바꿉니다. 전체 표는 다음처럼 읽습니다.
cat /speakup/i18n/characters
13. 키 매핑
906-972Speakup 내부 명령에 키를 새로 할당할 수 있습니다. 이 절은 Speakup으로 패치·설정된 Linux 커널 소스 트리가 설치되어 있다고 가정합니다. 키맵 처리 도구 `genmap`은 `/usr/src/linux-<version_number>/drivers/char/speakup`에 있으므로 필요하며, 커널 준비 방법은 `http://linux-speakup.org/`를 참조합니다.
Speakup 소스의 `speakupmap.map`을 사용하거나 4절의 전체 목록을 별도 파일로 복사할 수 있습니다. 원본을 편집하기 전에 반드시 백업합니다. 예를 들어 `say_last_char`와 `say_first_char`의 키를 맞바꾸려면 기존 두 줄의 등호 오른쪽 명령 이름을 서로 바꿉니다.
spk key_pageup = say_first_char
spk key_pagedown = say_last_char
spk key_pageup = say_last_char
spk key_pagedown = say_first_char
편집본을 `newmap.map` 같은 새 이름으로 저장한 뒤 다음 명령으로 sys 키맵에 적재합니다. `<version_number>`는 실제 커널 버전으로 바꾸고, 문서에서는 줄바꿈되어 보여도 실제 명령은 한 줄로 입력합니다.
/usr/src/linux-<version_number>/drivers/char/speakup/genmap newmap.map
>/speakup/keymap
이제 `speakup + PageDown`은 읽기 커서가 있는 줄의 첫 비공백 문자를, `speakup + PageUp`은 마지막 문자를 읽습니다. 새 매핑은 재부팅하거나 다른 키맵을 적재할 때까지만 유지됩니다. 부분 키맵을 적재하면 파일에 없는 모든 작업 매핑이 삭제되므로 항상 전체 맵을 사용하고 백업해야 합니다.
14. Speakup 국제화
973-1126Speakup은 화면 왼쪽 가장자리에 닿았을 때 `left`라고 말하는 것처럼 여러 상태를 음성 메시지로 알립니다. 3.1.0 이전에는 이런 메시지가 영어로 고정되었지만, 3.1.0 이상에서는 `/sys`를 통해 번역 메시지를 적재할 수 있습니다. `/speakup/i18n`의 각 파일은 한 종류의 메시지 모음을 담습니다.
| 파일 | 내용 |
|---|---|
| `announcements` | 일반 안내, 화면 가장자리 이름, 커서 추적 모드 이름 |
| `characters` | 문자별 발음 문자열 |
| `chartab` | 발화 메시지가 아닌 문자 분류표 |
| `colors` | 전경색과 배경색 이름 |
| `ctl_keys` | `say_control`이 사용하는 제어 키 이름 |
| `formatted` | 형식·폭 지정 코드가 들어 있는 메시지 |
| `function_names` | 도움말 시스템이 읽는 Speakup 함수 이름 |
| `key_names` | 도움말 시스템이 읽는 키 이름 |
| `states` | Speakup 키와 같은 키 상태 이름 |
`formatted`를 바꿀 때는 내장 형식 코드와 순서를 모두 보존해야 합니다. `function_names`, `key_names`, `states`는 도움말 문장을 조립합니다. 예를 들어 keypad 3의 `keypad 3 is character, say next.`에서 키 이름은 `key_names`, 함수 설명은 `function_names`에서 오고, `speakup keypad 3 is go to bottom edge.`의 `speakup` 상태명은 `states`에서 옵니다.
국제화 파일은 한 줄에 메시지 하나이며, 각 줄은 모음 안의 위치 번호와 메시지 텍스트로 구성됩니다. `/speakup/i18n/colors`의 기본 목록은 다음과 같습니다.
0 black
1 blue
2 green
3 cyan
4 red
5 magenta
6 yellow
7 white
8 grey
전체 메시지 모음을 바꾸려면 새 파일을 `cp`로 해당 sys 항목에 복사합니다. 개별 메시지는 `echo`로 바꿉니다. 예를 들어 색상 모음의 위치 1인 `blue`를 스페인어 `azul`로 바꾸면 다음부터 메시지 1을 `azul`로 읽습니다.
cp ~/my_colors /speakup/i18n/colors
echo '1 azul' > /speakup/i18n/colors
원문 작성 시점에는 기본 캐나다 영어 외에 프랑스어만 준비되어 있고 로그인 뒤에만 사용할 수 있었습니다. Speakup 소스를 홈 디렉터리에 풀고 새 디렉터리의 `tools/`에서 `speakup_setlocale`을 실행해 언어 번호(예: 프랑스어 `fr`)를 선택하면 필요한 파일이 i18n 디렉터리에 복사됩니다.
tar xvjf speakup-<version>.tar.bz2
`speakupconf`가 설치되어 있어야 설정을 저장할 수 있습니다. 없으면 언어가 현재 세션에는 적재되지만 Speakup을 다시 시작할 때마다 스크립트를 다시 실행해야 합니다. 언어나 문자 집합(`iso-8859-15` 또는 `UTF-8`)을 바꿀 때도 같은 절차를 반복합니다. 저장한 설정은 로그인 때 다음 명령으로 적재하거나 `~/.bashrc` 또는 `~/.bash_profile`에 넣습니다.
speakup load
관리자가 스크립트를 실행했다면 모든 사용자가 root가 고른 영어 외 언어로 바꾸고 각자 `speakupconf load`를 실행할 수 있습니다. 여러 언어를 다룬다면 관리자 또는 각 사용자가 자신의 홈 디렉터리에서 원하는 언어를 골라 `speakupconf save`까지 수행해야 하며, 이후 각 사용자의 `load`가 개인 설정을 적재합니다.
이 문서의 현재 릴리스는 서유럽 언어만 지원합니다. 서유럽 언어군 밖에서 사용하는 확장 문자 지원은 작업 중입니다.
15. Speakup 창 기능
1127-1160Speakup에서 `Window`는 사용자가 지정한 화면 영역입니다. 화면 전체를 다시 읽지 않고 특정 부분을 추적하거나, 시계·상태 줄처럼 계속 바뀌는 영역을 조용히 하는 데 유용합니다.
speakup + f2 -- Set the bounds of the window.
Speakup + f3 -- clear the current window definition.
speakup + f4 -- Toggle window silence on and off.
speakup + keypad plus -- Say the currently defined window.
창 설정은 저장할 수 없고 가상 콘솔마다 하나만 정의할 수 있으며 응용 프로그램별로 자동 정의할 수도 없습니다. 창을 만들려면 검토 키로 읽기 커서를 영역 시작점에 놓고 `speakup + F2`를 누릅니다. Speakup이 시작 행·열을 알리면 끝점으로 옮겨 다시 `speakup + F2`를 누릅니다.
여러 줄이면 끝 행·열을 알리고, 한 줄이면 지정된 화면 줄이라고 말합니다. 한 줄 전체를 창으로 만들 때는 해당 줄 아무 위치에서 `speakup + F2`를 두 번 누르면 되며 줄 끝으로 이동할 필요가 없습니다.
16. Speakup 제어 도구
1161-1227Speakup 배포본의 `tools` 디렉터리에는 사용 편의를 위한 추가 도구가 있습니다. `speakupconf`는 Speakup 공동체의 Steve Holmes가 처음 기여한 스크립트이며, 배포판이 설치하지 않았다면 `/usr/local/bin` 또는 `/usr/bin`이 권장 위치입니다. 일반 사용자도 실행할 수 있습니다.
`speakupconf`는 앞에서 설명한 `/sys` 파일을 읽고 써서 설정을 저장·적재합니다. root가 실행하면 `/etc/speakup`, 일반 사용자가 실행하면 홈 디렉터리의 `~/.speakup`을 사용하므로 콘솔 사용자마다 개인 설정을 적재할 수 있습니다. 필수 인수는 `save` 또는 `load`이고, 두 번째 인수로 다른 디렉터리를 지정할 수 있습니다.
speakupconf save
speakupconf load
`talkwith`의 초기 버전은 Speakup 공동체의 Charles Hallenbeck이 작성했습니다. root 권한이 필요하므로 배포판에 없다면 `/usr/local/sbin` 또는 `/usr/sbin`에 설치하는 것이 좋습니다. 합성기 이름을 인수로 받아 실행 중 즉시 전환하며, 다음은 DecTalk Express를 선택합니다.
talkwith dectlk
소프트웨어 합성기로 바꿀 때는 데몬도 지정합니다. `spd`는 `speechd-up`의 약자이고 다른 선택은 `espeakup`입니다.
talkwith soft espeakup
talkwith soft spd
데몬 이름 뒤 인수는 데몬에 그대로 전달됩니다. 다음 예는 espeakup에 프랑스어 기본 음성을 지정합니다. `talkwith`는 항상 root로 실행해야 하고 새 합성기를 켠 뒤 설정을 자동 적재하지 않으므로 필요하면 `speakupconf load`를 실행합니다.
talkwith espeakup --default-voice=fr
하드웨어와 소프트웨어 합성기 모두 선택 뒤 필요할 때 개인 설정을 다시 적재합니다.
GNU 자유 문서 사용 허가서 1.2: 서문
1228-1260GNU Free Documentation License, Version 1.2, 2002년 11월. 저작권은 2000·2001·2002년 Free Software Foundation, Inc.에 있습니다. 누구나 이 라이선스 문서의 축자 사본을 복제·배포할 수 있지만 변경할 수는 없습니다.
이 라이선스는 설명서·교과서·기타 기능적이고 유용한 문서를 자유라는 의미에서 자유롭게 만들기 위한 것입니다. 상업적이든 비상업적이든 수정 여부와 관계없이 누구나 실제로 복제·재배포할 자유를 보장하며, 동시에 다른 사람이 한 수정에 책임을 지우지 않으면서 저자와 출판자가 공로를 인정받을 방법을 보존합니다.
이는 파생 문서도 같은 의미로 자유로워야 하는 `copyleft` 라이선스이며 자유 소프트웨어용 GNU General Public License를 보완합니다. 자유 소프트웨어에는 소프트웨어와 같은 자유를 주는 문서가 필요하므로 설명서용으로 설계했지만, 주제나 인쇄 출판 여부와 관계없이 모든 텍스트 저작물에 쓸 수 있습니다. 특히 교육·참조 목적 저작물에 권장합니다.
1. 적용 범위와 정의
1261-1347이 라이선스는 매체와 관계없이 저작권자가 이 조건에 따른 배포를 허용한다는 고지를 붙인 설명서 또는 기타 저작물에 적용됩니다. 고지는 아래 조건으로 전 세계에서 기간 제한 없이 로열티 없이 저작물을 사용할 권리를 부여합니다.
| 용어 | 정의 |
|---|---|
| 문서(Document) | 저작권자가 이 라이선스에 따른 배포를 허용한다는 고지를 붙인 모든 설명서나 저작물입니다. 일반 공중의 각 구성원이 사용권자이며, 저작권법상 허락이 필요한 방식으로 복제·수정·배포하면 라이선스를 수락한 것으로 봅니다. |
| 수정본(Modified Version) | 문서 전체나 일부를 그대로 복제하거나 수정하거나 다른 언어로 번역해 포함한 모든 저작물입니다. |
| 부차적 섹션(Secondary Section) | 저자·출판자와 문서의 전체 주제 사이의 관계만 다루며 그 주제 자체의 설명은 포함하지 않는 이름 있는 부록 또는 앞부분 섹션입니다. |
| 불변 섹션(Invariant Sections) | 라이선스 고지에서 불변으로 지정한 부차적 섹션입니다. 부차적 섹션 정의에 맞지 않으면 불변으로 지정할 수 없고, 지정이 없으면 불변 섹션도 없습니다. |
| 표지 문구(Cover Texts) | 라이선스 고지에 앞표지 또는 뒤표지 문구로 열거한 짧은 문구입니다. 앞표지는 최대 5단어, 뒤표지는 최대 25단어입니다. |
| 투명 사본(Transparent copy) | 공개된 형식 명세를 따르고 범용 편집 도구로 곧바로 수정할 수 있으며 텍스트 포매터 입력이나 다른 포맷으로 자동 변환하기 적합한 기계 판독 사본입니다. 독자의 후속 수정을 막도록 마크업을 꾸민 사본이나 상당한 텍스트를 이미지로 담은 사본은 투명하지 않습니다. |
| 불투명 사본(Opaque copy) | 투명 사본이 아닌 사본입니다. 공개 도구로 편집할 수 없는 독점 형식이나 출력만을 위해 생성된 HTML·PostScript·PDF 등이 예입니다. |
| 표제면(Title Page) | 인쇄물에서는 표제면과 필수 내용을 알아볼 수 있게 싣는 데 필요한 뒤쪽 면을 뜻합니다. 별도 표제면이 없는 형식에서는 본문에 앞서 제목이 가장 두드러지게 나타나는 곳 주변의 텍스트를 뜻합니다. |
| 'XYZ라는 제목의 섹션' | 제목이 정확히 XYZ이거나, 다른 언어 번역 제목 뒤 괄호 안에 XYZ를 포함한 문서 하위 단위입니다. '제목 보존'은 수정 뒤에도 이 정의를 충족하게 유지하는 것입니다. |
| 보증 부인(Warranty Disclaimers) | 이 라이선스가 적용된다는 고지 옆의 보증 부인은 보증을 부인하는 범위에서만 라이선스에 참조로 포함됩니다. 그 밖의 암시는 효력이 없습니다. |
투명 사본에 적합한 형식은 마크업 없는 일반 ASCII, Texinfo 입력, LaTeX 입력, 공개 DTD를 쓰는 SGML·XML, 사람이 수정하도록 설계된 표준 준수 단순 HTML·PostScript·PDF입니다. 투명 이미지 형식에는 PNG·XCF·JPG가 있습니다. 독점 워드프로세서만 읽고 편집할 수 있는 형식, DTD나 처리 도구가 일반에 제공되지 않는 SGML·XML, 일부 워드프로세서가 출력 전용으로 생성한 HTML·PostScript·PDF는 불투명 형식입니다.
2. 축자 복제
1348-1363이 라이선스, 저작권 고지, 이 라이선스가 문서에 적용된다는 라이선스 고지를 모든 사본에 재현하고 이 라이선스 외의 조건을 전혀 추가하지 않는다면 상업적·비상업적 여부와 매체에 관계없이 문서를 복제·배포할 수 있습니다. 만든 사본의 읽기 또는 추가 복제를 방해·통제하는 기술 조치를 사용할 수 없습니다.
사본의 대가를 받을 수 있습니다. 충분히 많은 사본을 배포하면 3절 조건도 따라야 합니다. 같은 조건으로 사본을 빌려주거나 공개 전시할 수도 있습니다.
3. 대량 복제
1364-1401표지가 통상 있는 매체의 인쇄 사본을 100부 넘게 발행하고 문서의 라이선스 고지가 표지 문구를 요구하면, 앞표지에는 모든 앞표지 문구를, 뒤표지에는 모든 뒤표지 문구를 분명하고 읽을 수 있게 실어야 합니다. 두 표지는 발행자를 분명히 식별해야 하고 앞표지는 제목의 모든 단어를 같은 정도로 두드러지고 보이게 표시해야 합니다. 다른 자료를 더할 수 있으며, 제목을 보존하고 조건을 충족하는 범위에서 표지만 바꾼 복제는 나머지 면에서 축자 복제로 봅니다.
필수 문구가 너무 길면 실제 표지에 합리적으로 들어가는 만큼 목록의 앞부분부터 싣고 나머지는 인접 면에 이어 싣습니다.
불투명 사본을 100부 넘게 발행·배포하면 각 불투명 사본에 기계 판독 투명 사본을 함께 넣거나, 표준 네트워크 프로토콜로 추가 자료 없는 완전한 투명 사본을 내려받을 수 있는 위치를 각 사본 안이나 함께 제공해야 합니다. 후자를 택하면 해당 판의 마지막 불투명 사본을 공중에 배포한 때부터 최소 1년 동안 그 위치에서 접근할 수 있도록 합리적으로 신중한 조치를 해야 합니다.
의무는 아니지만 많은 사본을 재배포하기 훨씬 전에 저자에게 연락해 갱신본을 제공할 기회를 주는 것이 요청됩니다.
4. 수정
1402-1486수정본이 문서의 역할을 대신하고 사본 보유자 누구에게나 수정본의 배포·수정을 허가하도록 정확히 이 라이선스로 공개한다면, 위 2절과 3절 조건에 따라 수정본을 복제·배포할 수 있습니다. 수정본은 다음 사항을 모두 지켜야 합니다.
- A. 표제면과 표지가 있다면 문서 및 이전 판과 구별되는 제목을 사용합니다. 원 출판자가 허락한 경우에만 이전 판과 같은 제목을 쓸 수 있습니다.
- B. 표제면에 수정본의 저작 책임자 한 명 이상과 문서의 주요 저자 다섯 명 이상을 저자로 적습니다. 주요 저자가 다섯 명 미만이면 모두 적으며, 저자가 이 의무를 면제한 경우는 예외입니다.
- C. 표제면에 수정본 출판자의 이름을 출판자로 표시합니다.
- D. 문서의 모든 저작권 고지를 보존합니다.
- E. 다른 저작권 고지 옆에 수정 사항에 대한 적절한 저작권 고지를 추가합니다.
- F. 저작권 고지 직후에 아래 부록 형식으로 공중이 이 라이선스에 따라 수정본을 사용할 수 있게 하는 라이선스 고지를 넣습니다.
- G. 그 고지에 원 문서 고지의 불변 섹션 및 필수 표지 문구 전체 목록을 보존합니다.
- H. 이 라이선스의 변경되지 않은 사본을 포함합니다.
- I. `History`라는 제목의 섹션과 제목을 보존하고, 표제면에 적힌 수정본의 제목·연도·새 저자·출판자를 최소한 기록합니다. 원 문서에 해당 섹션이 없으면 원 문서 정보를 적은 섹션을 만든 뒤 수정본 항목을 더합니다.
- J. 투명 사본과 기반이 된 이전 판에 공개 접근하도록 문서가 제시한 네트워크 위치를 보존합니다. 문서보다 최소 4년 전에 출판된 저작물이거나 해당 판의 원 출판자가 허락하면 위치를 생략할 수 있습니다.
- K. `Acknowledgements` 또는 `Dedications`라는 제목의 섹션은 제목과 각 기여자 감사·헌사의 내용 및 어조를 보존합니다.
- L. 모든 불변 섹션의 본문과 제목을 바꾸지 않습니다. 절 번호나 그에 상당하는 표시는 제목의 일부로 보지 않습니다.
- M. `Endorsements`라는 제목의 기존 섹션은 삭제하며 수정본에 포함하지 않습니다.
- N. 기존 섹션의 제목을 `Endorsements`로 바꾸거나 불변 섹션의 제목과 충돌하게 바꾸지 않습니다.
- O. 모든 보증 부인을 보존합니다.
수정본에 새 앞부분 섹션이나 부록을 넣었고 그것이 부차적 섹션 자격을 가지며 문서에서 복제한 내용을 담지 않는다면 일부 또는 전부를 불변으로 지정할 수 있습니다. 수정본의 라이선스 고지에 그 제목을 추가하며 다른 모든 섹션 제목과 구별되어야 합니다.
여러 당사자가 수정본을 보증하는 내용만 담는 `Endorsements` 섹션은 새로 추가할 수 있습니다. 동료 평가 결과나 어떤 조직이 표준의 권위 있는 정의로 승인했다는 진술 등이 예입니다.
수정본의 표지 문구 목록 끝에는 앞표지용 최대 5단어 한 문구와 뒤표지용 최대 25단어 한 문구를 추가할 수 있습니다. 한 주체는 각 표지에 한 문구만 추가할 수 있고, 자신 또는 자신을 대신한 같은 주체가 이미 같은 표지에 문구를 추가했다면 이전 출판자의 명시적 허락을 받아 교체할 수 있을 뿐 새 문구를 더할 수 없습니다.
이 라이선스는 문서의 저자와 출판자의 이름을 수정본 홍보에 사용하거나 그들이 수정본을 보증한다고 주장·암시할 권한을 주지 않습니다.
5. 문서 결합
1487-15114절의 수정본 조건에 따라 이 문서를 같은 라이선스의 다른 문서와 결합할 수 있습니다. 모든 원 문서의 불변 섹션을 변경하지 않고 포함하고, 결합 저작물의 라이선스 고지에 모두 불변 섹션으로 열거하며, 모든 보증 부인을 보존해야 합니다.
결합 저작물에는 이 라이선스 한 사본만 있으면 되고, 내용까지 같은 불변 섹션 여러 개는 한 사본으로 대체할 수 있습니다. 이름은 같지만 내용이 다른 불변 섹션은 제목 끝 괄호에 알려진 원 저자·출판자 이름이나 고유 번호를 붙여 구별하고 라이선스 고지 목록도 같은 방식으로 조정합니다.
각 원 문서의 `History` 섹션은 하나의 `History`로, `Acknowledgements`와 `Dedications`도 각각 하나로 합칩니다. 모든 `Endorsements` 섹션은 삭제합니다.
6. 문서 모음
1512-1525문서와 이 라이선스로 공개된 다른 문서로 모음을 만들고, 각 문서에 있던 라이선스 사본을 모음에 한 번만 넣은 사본으로 대체할 수 있습니다. 그 밖의 모든 면에서는 각 문서의 축자 복제 규칙을 따라야 합니다.
그 모음에서 문서 하나를 추출해 개별 배포할 수도 있습니다. 추출 문서에 이 라이선스 사본을 넣고 그 문서의 축자 복제에 관한 나머지 조건을 모두 따라야 합니다.
7. 독립 저작물과의 집합
1526-1545문서 또는 그 파생물과 별개이고 독립적인 문서·저작물을 저장·배포 매체의 한 권에 함께 편집한 것을 `집합(aggregate)`이라 합니다. 다만 편집물의 저작권을 이용해 각 저작물이 허용하는 범위를 넘어 사용자의 법적 권리를 제한하지 않아야 합니다. 문서가 집합에 포함되어도 문서의 파생물이 아닌 다른 저작물에는 이 라이선스가 적용되지 않습니다.
3절의 표지 문구 조건이 해당 문서 사본에 적용되고 문서가 전체 집합의 절반보다 작다면, 표지 문구를 집합 안에서 문서 앞뒤를 감싸는 표지 또는 전자적 상당물에 둘 수 있습니다. 그렇지 않으면 집합 전체를 감싸는 인쇄 표지에 실어야 합니다.
8. 번역
1546-1566번역은 수정의 한 종류이므로 4절 조건에 따라 문서 번역본을 배포할 수 있습니다. 불변 섹션을 번역으로 대체하려면 저작권자의 특별 허가가 필요하지만, 불변 섹션 원문에 더해 일부 또는 전체 번역을 함께 포함할 수 있습니다.
이 라이선스, 문서의 모든 라이선스 고지, 보증 부인의 번역을 포함할 수 있으나 이 라이선스의 영어 원문과 해당 고지·부인의 원문도 함께 포함해야 합니다. 번역과 원문이 충돌하면 원문이 우선합니다.
문서에 `Acknowledgements`, `Dedications`, `History`라는 제목의 섹션이 있다면 4절의 제목 보존 의무와 1절 정의 때문에 실제 번역 제목을 조정해야 하는 경우가 일반적입니다.
9. 종료
1567-1577이 라이선스가 명시적으로 허용한 경우 외에는 문서를 복제·수정·재사용 허가·배포할 수 없습니다. 그 밖의 시도는 무효이며 이 라이선스에 따른 권리를 자동으로 종료합니다. 다만 사용자에게서 사본이나 권리를 받은 당사자가 조건을 계속 완전히 준수한다면 그 당사자의 라이선스는 종료되지 않습니다.
10. 향후 개정
1578-1595Free Software Foundation은 때때로 GNU Free Documentation License의 새 개정판을 발표할 수 있습니다. 새 버전은 현재 버전과 정신은 비슷하지만 새로운 문제나 우려를 다루기 위해 세부 내용이 달라질 수 있습니다. `https://www.gnu.org/copyleft/`를 참조합니다.
각 버전에는 구별되는 버전 번호가 있습니다. 문서가 특정 번호 버전 `또는 이후 버전`을 적용한다고 하면 지정 버전이나 Free Software Foundation이 초안이 아닌 형태로 발표한 이후 버전 중 하나의 조건을 선택할 수 있습니다. 문서가 버전을 지정하지 않으면 초안이 아닌 형태로 발표된 어떤 버전이든 선택할 수 있습니다.
부록: 이 라이선스를 문서에 적용하는 법
1596-1625작성한 문서에 이 라이선스를 적용하려면 라이선스 사본을 문서에 넣고 표제면 바로 뒤에 다음 저작권·라이선스 고지를 둡니다. `YEAR`와 `YOUR NAME`은 실제 연도와 이름으로 바꿉니다.
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
불변 섹션, 앞표지 문구, 뒤표지 문구가 있다면 `with...Texts.` 줄을 다음 문구로 바꾸고 각 목록을 채웁니다.
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
불변 섹션은 있지만 표지 문구가 없는 경우처럼 세 요소의 조합이 다르면 두 대안을 상황에 맞게 합칩니다. 문서에 사소하지 않은 프로그램 코드 예제가 있다면 자유 소프트웨어에서 사용할 수 있도록 GNU General Public License 같은 선택한 자유 소프트웨어 라이선스로 그 예제를 병행 공개하는 것이 권장됩니다. 이것으로 문서가 끝납니다.
요약과 해설
spkguide.txt:1-1625Speakup은 Linux 콘솔 경로에 통합된 화면 읽기 기능입니다. 하드웨어 합성기는 커널 부팅 초기부터 사용할 수 있고, Espeakup·Speech Dispatcher 같은 소프트웨어 합성기는 사용자 공간 데몬이 시작된 뒤 사용할 수 있습니다. 설정은 `/sys/accessibility/speakup` 또는 편의 링크 `/speakup`에서 읽고 쓸 수 있습니다.
일상 사용의 핵심은 Num Lock을 끈 키패드 검토 키, keypad Insert인 speakup 보조 키, 합성기별 sysfs 디렉터리입니다. 키맵·언어·창·커서 추적은 세션 성격이 강하므로 `speakupconf`로 저장·복원하고, root 전용 sysfs 항목은 의미를 확인한 뒤 다뤄야 합니다.
후반의 GNU FDL 1.2는 이 설명서의 배포 조건 자체입니다. 번역은 수정으로 취급되며 라이선스와 고지의 영어 원문도 함께 제공해야 하고 충돌 시 원문이 우선합니다. 이 페이지는 접을 수 있는 영어 원문 전체와 한국어 번역을 함께 제공해 해당 조건과 기술 문맥을 보존합니다.
부팅 구성부터 개인 설정 저장까지의 대표 흐름입니다.