Debian Codegraph @

doc/gtypist.cs.html

raw symbols SCIP
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <!-- Toto je manuál pro GNU Typist (verze 2.9.5, 18 August 2013),
4 program určený k výuce psaní na klávesnici pro několik
5 jazyků a různé klávesové rozložení.
6
7 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2008,
8 2011, 2012 Free Software Foundation, Inc.
9
10 Permission is granted to copy, distribute and/or modify this document
11 under the terms of the GNU Free Documentation License, Version 1.3 or
12 any later version published by the Free Software Foundation; with no
13 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
14 Texts. A copy of the license is included in the section entitled
15 "GNU Free Documentation License". -->
16 <!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
17 <head>
18 <title>Příručka pro GTypist</title>
19
20 <meta name="description" content="Příručka pro GTypist">
21 <meta name="keywords" content="Příručka pro GTypist">
22 <meta name="resource-type" content="document">
23 <meta name="distribution" content="global">
24 <meta name="Generator" content="makeinfo">
25 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
26 <link href="#Top" rel="start" title="Top">
27 <link href="#SEC_Contents" rel="contents" title="Table of Contents">
28 <link href="dir.html#Top" rel="up" title="(dir)">
29 <style type="text/css">
30 <!--
31 a.summary-letter {text-decoration: none}
32 blockquote.smallquotation {font-size: smaller}
33 div.display {margin-left: 3.2em}
34 div.example {margin-left: 3.2em}
35 div.indentedblock {margin-left: 3.2em}
36 div.lisp {margin-left: 3.2em}
37 div.smalldisplay {margin-left: 3.2em}
38 div.smallexample {margin-left: 3.2em}
39 div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
40 div.smalllisp {margin-left: 3.2em}
41 kbd {font-style:oblique}
42 pre.display {font-family: inherit}
43 pre.format {font-family: inherit}
44 pre.menu-comment {font-family: serif}
45 pre.menu-preformatted {font-family: serif}
46 pre.smalldisplay {font-family: inherit; font-size: smaller}
47 pre.smallexample {font-size: smaller}
48 pre.smallformat {font-family: inherit; font-size: smaller}
49 pre.smalllisp {font-size: smaller}
50 span.nocodebreak {white-space:nowrap}
51 span.nolinebreak {white-space:nowrap}
52 span.roman {font-family:serif; font-weight:normal}
53 span.sansserif {font-family:sans-serif; font-weight:normal}
54 ul.no-bullet {list-style: none}
55 -->
56 </style>
57
58
59 </head>
60
61 <body lang="cs" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
62 <h1 class="settitle" align="center">Příručka pro GTypist</h1>
63
64
65
66
67 <a name="SEC_Contents"></a>
68 <h2 class="contents-heading">Table of Contents</h2>
69
70 <div class="contents">
71
72 <ul class="no-bullet">
73 <li><a name="toc-Distribuce-1" href="#Distribuce">Distribuce</a></li>
74 <li><a name="toc-GNU-GENERAL-PUBLIC-LICENSE" href="#Kop_00edrov_00e1n_00ed">GNU GENERAL PUBLIC LICENSE</a></li>
75 <li><a name="toc-Uvod" href="#g_t_00davod">1 Úvod</a></li>
76 <li><a name="toc-Spousteni" href="#Spou_0161t_011bn_00ed">2 Spouštění</a></li>
77 <li><a name="toc-Dostupne-lekce" href="#Dostupn_00e9-lekce">3 Dostupné lekce</a></li>
78 <li><a name="toc-Pouzivani-typefortune" href="#Pou_017e_00edv_00e1n_00ed-typefortune">4 Používání typefortune</a></li>
79 <li><a name="toc-Prikazy-skriptovaciho-jazyka" href="#P_0159_00edkazy-skriptovac_00edho-jazyka">5 Příkazy skriptovacího jazyka</a></li>
80 <li><a name="toc-Vytvorte-nove-lekce" href="#Vytvo_0159te-nov_00e9-lekce">6 Vytvořte nové lekce</a>
81 <ul class="no-bullet">
82 <li><a name="toc-Ktouch-lessons-1" href="#Ktouch-lessons">6.1 Ktouch lessons</a></li>
83 <li><a name="toc-Exercises-from-fortune-1" href="#Exercises-from-fortune">6.2 Exercises from fortune</a></li>
84 <li><a name="toc-Design-patterns-for-lessons-1" href="#Design-patterns-for-lessons">6.3 Design patterns for lessons</a>
85 <ul class="no-bullet">
86 <li><a name="toc-Structure-of-lesson-files" href="#Structure-of-lesson-files">6.3.1 Structure of lesson files</a></li>
87 <li><a name="toc-Patterns-for-exercises" href="#Patterns-for-exercises">6.3.2 Patterns for exercises</a></li>
88 </ul></li>
89 </ul></li>
90 <li><a name="toc-Mod-Emacsu" href="#M_00f3d-Emacsu">7 Mód Emacsu</a>
91 <ul class="no-bullet">
92 <li><a name="toc-Promenne-prostredi" href="#Prom_011bnn_00e9-prost_0159ed_00ed">7.1 Proměnné prostředí</a></li>
93 <li><a name="toc-Chyby-a-opominuti" href="#Chyby-a-opominut_00ed">7.2 Chyby a opominutí</a></li>
94 </ul></li>
95 <li><a name="toc-Historie-GNU-Typist" href="#Historie">Appendix A Historie GNU Typist</a></li>
96 <li><a name="toc-GNU-Free-Documentation-License" href="#Kop_00edrov_00e1n_00ed-tohoto-manu_00e1lu">Appendix B GNU Free Documentation License</a></li>
97 </ul>
98 </div>
99
100
101
102 <a name="Top"></a>
103 <a name="GNU-Typist-_002d-psani-vsemi-deseti"></a>
104 <h1 class="top">GNU Typist - psaní všemi deseti</h1>
105 <p>Toto je manuál pro GNU Typist (verze 2.9.5, 18 August 2013),
106 program určený k výuce psaní na klávesnici pro několik
107 jazyků a různé klávesové rozložení.
108 </p>
109 <p>Copyright &copy; 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2008,
110 2011, 2012 Free Software Foundation, Inc.
111 </p>
112 <blockquote>
113 <p>Permission is granted to copy, distribute and/or modify this document
114 under the terms of the GNU Free Documentation License, Version 1.3 or
115 any later version published by the Free Software Foundation; with no
116 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
117 Texts. A copy of the license is included in the section entitled
118 &ldquo;GNU Free Documentation License&rdquo;.
119 </p></blockquote>
120
121
122 <p>GNU Typist je interaktivní výukový program, který vám pomůže
123 osvojit si principy správného psaní na klávesnici všemi deseti prsty.
124 Obsahuje několik lekcí pro různé typy klávesnic a různé jazyky. (Mezi
125 nimi nechybí ani čeština.) Lekce pro gtypist jsou napsány ve snadno
126 pochopitelném skriptovacím jazyku, takže je mohou uživatelé
127 modifkovat či vytvářet nové. Pokud zadáte parametr cs.typ,
128 spustíte lekce v češtině zaměřené na českou klávesnici.
129 </p>
130
131
132 <hr>
133 <a name="Distribuce"></a>
134 <a name="Distribuce-1"></a>
135 <h2 class="unnumbered">Distribuce</h2>
136
137 <p>GNU Typist (či gtypist) je <em>svobodný software</em>; to znamená, že
138 jej může za určitých podmínek každý svobodně používat a
139 dále redistribuovat. Přesné podmínky můžete nalézt v GNU
140 General Public Lincense, kterou jste obdrželi s tímto programem
141 a která následuje tuto sekci.
142 </p>
143 <p>GNU Typist můžete získat od přítele nebo z Internetu:
144 </p>
145 <dl compact="compact">
146 <dt>Hlavní distribuční web:</dt>
147 <dd><p><a href="ftp://ftp.gnu.org/gnu/gtypist/">ftp://ftp.gnu.org/gnu/gtypist/</a>
148 </p>
149 </dd>
150 <dt>Domovská stránka</dt>
151 <dd><p><a href="http://www.gnu.org/software/gtypist/gtypist.cs.html">http://www.gnu.org/software/gtypist/gtypist.cs.html</a>
152 </p>
153 </dd>
154 <dt>On-line manuál (aktualizace mezi vydáním jednotlivých verzí)</dt>
155 <dd><p><a href="http://www.gnu.org/software/gtypist/doc/">http://www.gnu.org/software/gtypist/doc/</a>
156 </p>
157 </dd>
158 <dt>Stránka vývojářů (CVS repozitář, úlohy, podpora...)</dt>
159 <dd><p><a href="http://savannah.gnu.org/projects/gtypist/">http://savannah.gnu.org/projects/gtypist/</a>
160 </p>
161 </dd>
162 <dt>Stažení GNU Typist (zdrojové kódy, binární verze, tutoriály)</dt>
163 <dd><p><a href="http://gtypist.free.fr/">http://gtypist.free.fr/</a>
164 </p>
165 </dd>
166 <dt>Obrázky</dt>
167 <dd><p><a href="http://gtypist.free.fr/screenshots/">http://gtypist.free.fr/screenshots/</a>
168 </p></dd>
169 </dl>
170
171 <hr>
172 <a name="Kop_00edrov_00e1n_00ed"></a>
173 <a name="GNU-GENERAL-PUBLIC-LICENSE"></a>
174 <h2 class="unnumbered">GNU GENERAL PUBLIC LICENSE</h2>
175 <div align="center">Version 3, 29 June 2007
176 </div>
177
178 <div class="display">
179 <pre class="display">Copyright &copy; 2007 Free Software Foundation, Inc. <a href="http://fsf.org/">http://fsf.org/</a>
180
181 Everyone is permitted to copy and distribute verbatim copies of this
182 license document, but changing it is not allowed.
183 </pre></div>
184
185 <a name="Preamble"></a>
186 <h3 class="heading">Preamble</h3>
187
188 <p>The GNU General Public License is a free, copyleft license for
189 software and other kinds of works.
190 </p>
191 <p>The licenses for most software and other practical works are designed
192 to take away your freedom to share and change the works. By contrast,
193 the GNU General Public License is intended to guarantee your freedom
194 to share and change all versions of a program&mdash;to make sure it remains
195 free software for all its users. We, the Free Software Foundation,
196 use the GNU General Public License for most of our software; it
197 applies also to any other work released this way by its authors. You
198 can apply it to your programs, too.
199 </p>
200 <p>When we speak of free software, we are referring to freedom, not
201 price. Our General Public Licenses are designed to make sure that you
202 have the freedom to distribute copies of free software (and charge for
203 them if you wish), that you receive source code or can get it if you
204 want it, that you can change the software or use pieces of it in new
205 free programs, and that you know you can do these things.
206 </p>
207 <p>To protect your rights, we need to prevent others from denying you
208 these rights or asking you to surrender the rights. Therefore, you
209 have certain responsibilities if you distribute copies of the
210 software, or if you modify it: responsibilities to respect the freedom
211 of others.
212 </p>
213 <p>For example, if you distribute copies of such a program, whether
214 gratis or for a fee, you must pass on to the recipients the same
215 freedoms that you received. You must make sure that they, too,
216 receive or can get the source code. And you must show them these
217 terms so they know their rights.
218 </p>
219 <p>Developers that use the GNU GPL protect your rights with two steps:
220 (1) assert copyright on the software, and (2) offer you this License
221 giving you legal permission to copy, distribute and/or modify it.
222 </p>
223 <p>For the developers&rsquo; and authors&rsquo; protection, the GPL clearly explains
224 that there is no warranty for this free software. For both users&rsquo; and
225 authors&rsquo; sake, the GPL requires that modified versions be marked as
226 changed, so that their problems will not be attributed erroneously to
227 authors of previous versions.
228 </p>
229 <p>Some devices are designed to deny users access to install or run
230 modified versions of the software inside them, although the
231 manufacturer can do so. This is fundamentally incompatible with the
232 aim of protecting users&rsquo; freedom to change the software. The
233 systematic pattern of such abuse occurs in the area of products for
234 individuals to use, which is precisely where it is most unacceptable.
235 Therefore, we have designed this version of the GPL to prohibit the
236 practice for those products. If such problems arise substantially in
237 other domains, we stand ready to extend this provision to those
238 domains in future versions of the GPL, as needed to protect the
239 freedom of users.
240 </p>
241 <p>Finally, every program is threatened constantly by software patents.
242 States should not allow patents to restrict development and use of
243 software on general-purpose computers, but in those that do, we wish
244 to avoid the special danger that patents applied to a free program
245 could make it effectively proprietary. To prevent this, the GPL
246 assures that patents cannot be used to render the program non-free.
247 </p>
248 <p>The precise terms and conditions for copying, distribution and
249 modification follow.
250 </p>
251 <a name="TERMS-AND-CONDITIONS"></a>
252 <h3 class="heading">TERMS AND CONDITIONS</h3>
253
254 <ol>
255 <li> Definitions.
256
257 <p>&ldquo;This License&rdquo; refers to version 3 of the GNU General Public License.
258 </p>
259 <p>&ldquo;Copyright&rdquo; also means copyright-like laws that apply to other kinds
260 of works, such as semiconductor masks.
261 </p>
262 <p>&ldquo;The Program&rdquo; refers to any copyrightable work licensed under this
263 License. Each licensee is addressed as &ldquo;you&rdquo;. &ldquo;Licensees&rdquo; and
264 &ldquo;recipients&rdquo; may be individuals or organizations.
265 </p>
266 <p>To &ldquo;modify&rdquo; a work means to copy from or adapt all or part of the work
267 in a fashion requiring copyright permission, other than the making of
268 an exact copy. The resulting work is called a &ldquo;modified version&rdquo; of
269 the earlier work or a work &ldquo;based on&rdquo; the earlier work.
270 </p>
271 <p>A &ldquo;covered work&rdquo; means either the unmodified Program or a work based
272 on the Program.
273 </p>
274 <p>To &ldquo;propagate&rdquo; a work means to do anything with it that, without
275 permission, would make you directly or secondarily liable for
276 infringement under applicable copyright law, except executing it on a
277 computer or modifying a private copy. Propagation includes copying,
278 distribution (with or without modification), making available to the
279 public, and in some countries other activities as well.
280 </p>
281 <p>To &ldquo;convey&rdquo; a work means any kind of propagation that enables other
282 parties to make or receive copies. Mere interaction with a user
283 through a computer network, with no transfer of a copy, is not
284 conveying.
285 </p>
286 <p>An interactive user interface displays &ldquo;Appropriate Legal Notices&rdquo; to
287 the extent that it includes a convenient and prominently visible
288 feature that (1) displays an appropriate copyright notice, and (2)
289 tells the user that there is no warranty for the work (except to the
290 extent that warranties are provided), that licensees may convey the
291 work under this License, and how to view a copy of this License. If
292 the interface presents a list of user commands or options, such as a
293 menu, a prominent item in the list meets this criterion.
294 </p>
295 </li><li> Source Code.
296
297 <p>The &ldquo;source code&rdquo; for a work means the preferred form of the work for
298 making modifications to it. &ldquo;Object code&rdquo; means any non-source form
299 of a work.
300 </p>
301 <p>A &ldquo;Standard Interface&rdquo; means an interface that either is an official
302 standard defined by a recognized standards body, or, in the case of
303 interfaces specified for a particular programming language, one that
304 is widely used among developers working in that language.
305 </p>
306 <p>The &ldquo;System Libraries&rdquo; of an executable work include anything, other
307 than the work as a whole, that (a) is included in the normal form of
308 packaging a Major Component, but which is not part of that Major
309 Component, and (b) serves only to enable use of the work with that
310 Major Component, or to implement a Standard Interface for which an
311 implementation is available to the public in source code form. A
312 &ldquo;Major Component&rdquo;, in this context, means a major essential component
313 (kernel, window system, and so on) of the specific operating system
314 (if any) on which the executable work runs, or a compiler used to
315 produce the work, or an object code interpreter used to run it.
316 </p>
317 <p>The &ldquo;Corresponding Source&rdquo; for a work in object code form means all
318 the source code needed to generate, install, and (for an executable
319 work) run the object code and to modify the work, including scripts to
320 control those activities. However, it does not include the work&rsquo;s
321 System Libraries, or general-purpose tools or generally available free
322 programs which are used unmodified in performing those activities but
323 which are not part of the work. For example, Corresponding Source
324 includes interface definition files associated with source files for
325 the work, and the source code for shared libraries and dynamically
326 linked subprograms that the work is specifically designed to require,
327 such as by intimate data communication or control flow between those
328 subprograms and other parts of the work.
329 </p>
330 <p>The Corresponding Source need not include anything that users can
331 regenerate automatically from other parts of the Corresponding Source.
332 </p>
333 <p>The Corresponding Source for a work in source code form is that same
334 work.
335 </p>
336 </li><li> Basic Permissions.
337
338 <p>All rights granted under this License are granted for the term of
339 copyright on the Program, and are irrevocable provided the stated
340 conditions are met. This License explicitly affirms your unlimited
341 permission to run the unmodified Program. The output from running a
342 covered work is covered by this License only if the output, given its
343 content, constitutes a covered work. This License acknowledges your
344 rights of fair use or other equivalent, as provided by copyright law.
345 </p>
346 <p>You may make, run and propagate covered works that you do not convey,
347 without conditions so long as your license otherwise remains in force.
348 You may convey covered works to others for the sole purpose of having
349 them make modifications exclusively for you, or provide you with
350 facilities for running those works, provided that you comply with the
351 terms of this License in conveying all material for which you do not
352 control copyright. Those thus making or running the covered works for
353 you must do so exclusively on your behalf, under your direction and
354 control, on terms that prohibit them from making any copies of your
355 copyrighted material outside their relationship with you.
356 </p>
357 <p>Conveying under any other circumstances is permitted solely under the
358 conditions stated below. Sublicensing is not allowed; section 10
359 makes it unnecessary.
360 </p>
361 </li><li> Protecting Users&rsquo; Legal Rights From Anti-Circumvention Law.
362
363 <p>No covered work shall be deemed part of an effective technological
364 measure under any applicable law fulfilling obligations under article
365 11 of the WIPO copyright treaty adopted on 20 December 1996, or
366 similar laws prohibiting or restricting circumvention of such
367 measures.
368 </p>
369 <p>When you convey a covered work, you waive any legal power to forbid
370 circumvention of technological measures to the extent such
371 circumvention is effected by exercising rights under this License with
372 respect to the covered work, and you disclaim any intention to limit
373 operation or modification of the work as a means of enforcing, against
374 the work&rsquo;s users, your or third parties&rsquo; legal rights to forbid
375 circumvention of technological measures.
376 </p>
377 </li><li> Conveying Verbatim Copies.
378
379 <p>You may convey verbatim copies of the Program&rsquo;s source code as you
380 receive it, in any medium, provided that you conspicuously and
381 appropriately publish on each copy an appropriate copyright notice;
382 keep intact all notices stating that this License and any
383 non-permissive terms added in accord with section 7 apply to the code;
384 keep intact all notices of the absence of any warranty; and give all
385 recipients a copy of this License along with the Program.
386 </p>
387 <p>You may charge any price or no price for each copy that you convey,
388 and you may offer support or warranty protection for a fee.
389 </p>
390 </li><li> Conveying Modified Source Versions.
391
392 <p>You may convey a work based on the Program, or the modifications to
393 produce it from the Program, in the form of source code under the
394 terms of section 4, provided that you also meet all of these
395 conditions:
396 </p>
397 <ol>
398 <li> The work must carry prominent notices stating that you modified it,
399 and giving a relevant date.
400
401 </li><li> The work must carry prominent notices stating that it is released
402 under this License and any conditions added under section 7. This
403 requirement modifies the requirement in section 4 to &ldquo;keep intact all
404 notices&rdquo;.
405
406 </li><li> You must license the entire work, as a whole, under this License to
407 anyone who comes into possession of a copy. This License will
408 therefore apply, along with any applicable section 7 additional terms,
409 to the whole of the work, and all its parts, regardless of how they
410 are packaged. This License gives no permission to license the work in
411 any other way, but it does not invalidate such permission if you have
412 separately received it.
413
414 </li><li> If the work has interactive user interfaces, each must display
415 Appropriate Legal Notices; however, if the Program has interactive
416 interfaces that do not display Appropriate Legal Notices, your work
417 need not make them do so.
418 </li></ol>
419
420 <p>A compilation of a covered work with other separate and independent
421 works, which are not by their nature extensions of the covered work,
422 and which are not combined with it such as to form a larger program,
423 in or on a volume of a storage or distribution medium, is called an
424 &ldquo;aggregate&rdquo; if the compilation and its resulting copyright are not
425 used to limit the access or legal rights of the compilation&rsquo;s users
426 beyond what the individual works permit. Inclusion of a covered work
427 in an aggregate does not cause this License to apply to the other
428 parts of the aggregate.
429 </p>
430 </li><li> Conveying Non-Source Forms.
431
432 <p>You may convey a covered work in object code form under the terms of
433 sections 4 and 5, provided that you also convey the machine-readable
434 Corresponding Source under the terms of this License, in one of these
435 ways:
436 </p>
437 <ol>
438 <li> Convey the object code in, or embodied in, a physical product
439 (including a physical distribution medium), accompanied by the
440 Corresponding Source fixed on a durable physical medium customarily
441 used for software interchange.
442
443 </li><li> Convey the object code in, or embodied in, a physical product
444 (including a physical distribution medium), accompanied by a written
445 offer, valid for at least three years and valid for as long as you
446 offer spare parts or customer support for that product model, to give
447 anyone who possesses the object code either (1) a copy of the
448 Corresponding Source for all the software in the product that is
449 covered by this License, on a durable physical medium customarily used
450 for software interchange, for a price no more than your reasonable
451 cost of physically performing this conveying of source, or (2) access
452 to copy the Corresponding Source from a network server at no charge.
453
454 </li><li> Convey individual copies of the object code with a copy of the written
455 offer to provide the Corresponding Source. This alternative is
456 allowed only occasionally and noncommercially, and only if you
457 received the object code with such an offer, in accord with subsection
458 6b.
459
460 </li><li> Convey the object code by offering access from a designated place
461 (gratis or for a charge), and offer equivalent access to the
462 Corresponding Source in the same way through the same place at no
463 further charge. You need not require recipients to copy the
464 Corresponding Source along with the object code. If the place to copy
465 the object code is a network server, the Corresponding Source may be
466 on a different server (operated by you or a third party) that supports
467 equivalent copying facilities, provided you maintain clear directions
468 next to the object code saying where to find the Corresponding Source.
469 Regardless of what server hosts the Corresponding Source, you remain
470 obligated to ensure that it is available for as long as needed to
471 satisfy these requirements.
472
473 </li><li> Convey the object code using peer-to-peer transmission, provided you
474 inform other peers where the object code and Corresponding Source of
475 the work are being offered to the general public at no charge under
476 subsection 6d.
477
478 </li></ol>
479
480 <p>A separable portion of the object code, whose source code is excluded
481 from the Corresponding Source as a System Library, need not be
482 included in conveying the object code work.
483 </p>
484 <p>A &ldquo;User Product&rdquo; is either (1) a &ldquo;consumer product&rdquo;, which means any
485 tangible personal property which is normally used for personal,
486 family, or household purposes, or (2) anything designed or sold for
487 incorporation into a dwelling. In determining whether a product is a
488 consumer product, doubtful cases shall be resolved in favor of
489 coverage. For a particular product received by a particular user,
490 &ldquo;normally used&rdquo; refers to a typical or common use of that class of
491 product, regardless of the status of the particular user or of the way
492 in which the particular user actually uses, or expects or is expected
493 to use, the product. A product is a consumer product regardless of
494 whether the product has substantial commercial, industrial or
495 non-consumer uses, unless such uses represent the only significant
496 mode of use of the product.
497 </p>
498 <p>&ldquo;Installation Information&rdquo; for a User Product means any methods,
499 procedures, authorization keys, or other information required to
500 install and execute modified versions of a covered work in that User
501 Product from a modified version of its Corresponding Source. The
502 information must suffice to ensure that the continued functioning of
503 the modified object code is in no case prevented or interfered with
504 solely because modification has been made.
505 </p>
506 <p>If you convey an object code work under this section in, or with, or
507 specifically for use in, a User Product, and the conveying occurs as
508 part of a transaction in which the right of possession and use of the
509 User Product is transferred to the recipient in perpetuity or for a
510 fixed term (regardless of how the transaction is characterized), the
511 Corresponding Source conveyed under this section must be accompanied
512 by the Installation Information. But this requirement does not apply
513 if neither you nor any third party retains the ability to install
514 modified object code on the User Product (for example, the work has
515 been installed in ROM).
516 </p>
517 <p>The requirement to provide Installation Information does not include a
518 requirement to continue to provide support service, warranty, or
519 updates for a work that has been modified or installed by the
520 recipient, or for the User Product in which it has been modified or
521 installed. Access to a network may be denied when the modification
522 itself materially and adversely affects the operation of the network
523 or violates the rules and protocols for communication across the
524 network.
525 </p>
526 <p>Corresponding Source conveyed, and Installation Information provided,
527 in accord with this section must be in a format that is publicly
528 documented (and with an implementation available to the public in
529 source code form), and must require no special password or key for
530 unpacking, reading or copying.
531 </p>
532 </li><li> Additional Terms.
533
534 <p>&ldquo;Additional permissions&rdquo; are terms that supplement the terms of this
535 License by making exceptions from one or more of its conditions.
536 Additional permissions that are applicable to the entire Program shall
537 be treated as though they were included in this License, to the extent
538 that they are valid under applicable law. If additional permissions
539 apply only to part of the Program, that part may be used separately
540 under those permissions, but the entire Program remains governed by
541 this License without regard to the additional permissions.
542 </p>
543 <p>When you convey a copy of a covered work, you may at your option
544 remove any additional permissions from that copy, or from any part of
545 it. (Additional permissions may be written to require their own
546 removal in certain cases when you modify the work.) You may place
547 additional permissions on material, added by you to a covered work,
548 for which you have or can give appropriate copyright permission.
549 </p>
550 <p>Notwithstanding any other provision of this License, for material you
551 add to a covered work, you may (if authorized by the copyright holders
552 of that material) supplement the terms of this License with terms:
553 </p>
554 <ol>
555 <li> Disclaiming warranty or limiting liability differently from the terms
556 of sections 15 and 16 of this License; or
557
558 </li><li> Requiring preservation of specified reasonable legal notices or author
559 attributions in that material or in the Appropriate Legal Notices
560 displayed by works containing it; or
561
562 </li><li> Prohibiting misrepresentation of the origin of that material, or
563 requiring that modified versions of such material be marked in
564 reasonable ways as different from the original version; or
565
566 </li><li> Limiting the use for publicity purposes of names of licensors or
567 authors of the material; or
568
569 </li><li> Declining to grant rights under trademark law for use of some trade
570 names, trademarks, or service marks; or
571
572 </li><li> Requiring indemnification of licensors and authors of that material by
573 anyone who conveys the material (or modified versions of it) with
574 contractual assumptions of liability to the recipient, for any
575 liability that these contractual assumptions directly impose on those
576 licensors and authors.
577 </li></ol>
578
579 <p>All other non-permissive additional terms are considered &ldquo;further
580 restrictions&rdquo; within the meaning of section 10. If the Program as you
581 received it, or any part of it, contains a notice stating that it is
582 governed by this License along with a term that is a further
583 restriction, you may remove that term. If a license document contains
584 a further restriction but permits relicensing or conveying under this
585 License, you may add to a covered work material governed by the terms
586 of that license document, provided that the further restriction does
587 not survive such relicensing or conveying.
588 </p>
589 <p>If you add terms to a covered work in accord with this section, you
590 must place, in the relevant source files, a statement of the
591 additional terms that apply to those files, or a notice indicating
592 where to find the applicable terms.
593 </p>
594 <p>Additional terms, permissive or non-permissive, may be stated in the
595 form of a separately written license, or stated as exceptions; the
596 above requirements apply either way.
597 </p>
598 </li><li> Termination.
599
600 <p>You may not propagate or modify a covered work except as expressly
601 provided under this License. Any attempt otherwise to propagate or
602 modify it is void, and will automatically terminate your rights under
603 this License (including any patent licenses granted under the third
604 paragraph of section 11).
605 </p>
606 <p>However, if you cease all violation of this License, then your license
607 from a particular copyright holder is reinstated (a) provisionally,
608 unless and until the copyright holder explicitly and finally
609 terminates your license, and (b) permanently, if the copyright holder
610 fails to notify you of the violation by some reasonable means prior to
611 60 days after the cessation.
612 </p>
613 <p>Moreover, your license from a particular copyright holder is
614 reinstated permanently if the copyright holder notifies you of the
615 violation by some reasonable means, this is the first time you have
616 received notice of violation of this License (for any work) from that
617 copyright holder, and you cure the violation prior to 30 days after
618 your receipt of the notice.
619 </p>
620 <p>Termination of your rights under this section does not terminate the
621 licenses of parties who have received copies or rights from you under
622 this License. If your rights have been terminated and not permanently
623 reinstated, you do not qualify to receive new licenses for the same
624 material under section 10.
625 </p>
626 </li><li> Acceptance Not Required for Having Copies.
627
628 <p>You are not required to accept this License in order to receive or run
629 a copy of the Program. Ancillary propagation of a covered work
630 occurring solely as a consequence of using peer-to-peer transmission
631 to receive a copy likewise does not require acceptance. However,
632 nothing other than this License grants you permission to propagate or
633 modify any covered work. These actions infringe copyright if you do
634 not accept this License. Therefore, by modifying or propagating a
635 covered work, you indicate your acceptance of this License to do so.
636 </p>
637 </li><li> Automatic Licensing of Downstream Recipients.
638
639 <p>Each time you convey a covered work, the recipient automatically
640 receives a license from the original licensors, to run, modify and
641 propagate that work, subject to this License. You are not responsible
642 for enforcing compliance by third parties with this License.
643 </p>
644 <p>An &ldquo;entity transaction&rdquo; is a transaction transferring control of an
645 organization, or substantially all assets of one, or subdividing an
646 organization, or merging organizations. If propagation of a covered
647 work results from an entity transaction, each party to that
648 transaction who receives a copy of the work also receives whatever
649 licenses to the work the party&rsquo;s predecessor in interest had or could
650 give under the previous paragraph, plus a right to possession of the
651 Corresponding Source of the work from the predecessor in interest, if
652 the predecessor has it or can get it with reasonable efforts.
653 </p>
654 <p>You may not impose any further restrictions on the exercise of the
655 rights granted or affirmed under this License. For example, you may
656 not impose a license fee, royalty, or other charge for exercise of
657 rights granted under this License, and you may not initiate litigation
658 (including a cross-claim or counterclaim in a lawsuit) alleging that
659 any patent claim is infringed by making, using, selling, offering for
660 sale, or importing the Program or any portion of it.
661 </p>
662 </li><li> Patents.
663
664 <p>A &ldquo;contributor&rdquo; is a copyright holder who authorizes use under this
665 License of the Program or a work on which the Program is based. The
666 work thus licensed is called the contributor&rsquo;s &ldquo;contributor version&rdquo;.
667 </p>
668 <p>A contributor&rsquo;s &ldquo;essential patent claims&rdquo; are all patent claims owned
669 or controlled by the contributor, whether already acquired or
670 hereafter acquired, that would be infringed by some manner, permitted
671 by this License, of making, using, or selling its contributor version,
672 but do not include claims that would be infringed only as a
673 consequence of further modification of the contributor version. For
674 purposes of this definition, &ldquo;control&rdquo; includes the right to grant
675 patent sublicenses in a manner consistent with the requirements of
676 this License.
677 </p>
678 <p>Each contributor grants you a non-exclusive, worldwide, royalty-free
679 patent license under the contributor&rsquo;s essential patent claims, to
680 make, use, sell, offer for sale, import and otherwise run, modify and
681 propagate the contents of its contributor version.
682 </p>
683 <p>In the following three paragraphs, a &ldquo;patent license&rdquo; is any express
684 agreement or commitment, however denominated, not to enforce a patent
685 (such as an express permission to practice a patent or covenant not to
686 sue for patent infringement). To &ldquo;grant&rdquo; such a patent license to a
687 party means to make such an agreement or commitment not to enforce a
688 patent against the party.
689 </p>
690 <p>If you convey a covered work, knowingly relying on a patent license,
691 and the Corresponding Source of the work is not available for anyone
692 to copy, free of charge and under the terms of this License, through a
693 publicly available network server or other readily accessible means,
694 then you must either (1) cause the Corresponding Source to be so
695 available, or (2) arrange to deprive yourself of the benefit of the
696 patent license for this particular work, or (3) arrange, in a manner
697 consistent with the requirements of this License, to extend the patent
698 license to downstream recipients. &ldquo;Knowingly relying&rdquo; means you have
699 actual knowledge that, but for the patent license, your conveying the
700 covered work in a country, or your recipient&rsquo;s use of the covered work
701 in a country, would infringe one or more identifiable patents in that
702 country that you have reason to believe are valid.
703 </p>
704 <p>If, pursuant to or in connection with a single transaction or
705 arrangement, you convey, or propagate by procuring conveyance of, a
706 covered work, and grant a patent license to some of the parties
707 receiving the covered work authorizing them to use, propagate, modify
708 or convey a specific copy of the covered work, then the patent license
709 you grant is automatically extended to all recipients of the covered
710 work and works based on it.
711 </p>
712 <p>A patent license is &ldquo;discriminatory&rdquo; if it does not include within the
713 scope of its coverage, prohibits the exercise of, or is conditioned on
714 the non-exercise of one or more of the rights that are specifically
715 granted under this License. You may not convey a covered work if you
716 are a party to an arrangement with a third party that is in the
717 business of distributing software, under which you make payment to the
718 third party based on the extent of your activity of conveying the
719 work, and under which the third party grants, to any of the parties
720 who would receive the covered work from you, a discriminatory patent
721 license (a) in connection with copies of the covered work conveyed by
722 you (or copies made from those copies), or (b) primarily for and in
723 connection with specific products or compilations that contain the
724 covered work, unless you entered into that arrangement, or that patent
725 license was granted, prior to 28 March 2007.
726 </p>
727 <p>Nothing in this License shall be construed as excluding or limiting
728 any implied license or other defenses to infringement that may
729 otherwise be available to you under applicable patent law.
730 </p>
731 </li><li> No Surrender of Others&rsquo; Freedom.
732
733 <p>If conditions are imposed on you (whether by court order, agreement or
734 otherwise) that contradict the conditions of this License, they do not
735 excuse you from the conditions of this License. If you cannot convey
736 a covered work so as to satisfy simultaneously your obligations under
737 this License and any other pertinent obligations, then as a
738 consequence you may not convey it at all. For example, if you agree
739 to terms that obligate you to collect a royalty for further conveying
740 from those to whom you convey the Program, the only way you could
741 satisfy both those terms and this License would be to refrain entirely
742 from conveying the Program.
743 </p>
744 </li><li> Use with the GNU Affero General Public License.
745
746 <p>Notwithstanding any other provision of this License, you have
747 permission to link or combine any covered work with a work licensed
748 under version 3 of the GNU Affero General Public License into a single
749 combined work, and to convey the resulting work. The terms of this
750 License will continue to apply to the part which is the covered work,
751 but the special requirements of the GNU Affero General Public License,
752 section 13, concerning interaction through a network will apply to the
753 combination as such.
754 </p>
755 </li><li> Revised Versions of this License.
756
757 <p>The Free Software Foundation may publish revised and/or new versions
758 of the GNU General Public License from time to time. Such new
759 versions will be similar in spirit to the present version, but may
760 differ in detail to address new problems or concerns.
761 </p>
762 <p>Each version is given a distinguishing version number. If the Program
763 specifies that a certain numbered version of the GNU General Public
764 License &ldquo;or any later version&rdquo; applies to it, you have the option of
765 following the terms and conditions either of that numbered version or
766 of any later version published by the Free Software Foundation. If
767 the Program does not specify a version number of the GNU General
768 Public License, you may choose any version ever published by the Free
769 Software Foundation.
770 </p>
771 <p>If the Program specifies that a proxy can decide which future versions
772 of the GNU General Public License can be used, that proxy&rsquo;s public
773 statement of acceptance of a version permanently authorizes you to
774 choose that version for the Program.
775 </p>
776 <p>Later license versions may give you additional or different
777 permissions. However, no additional obligations are imposed on any
778 author or copyright holder as a result of your choosing to follow a
779 later version.
780 </p>
781 </li><li> Disclaimer of Warranty.
782
783 <p>THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
784 APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
785 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM &ldquo;AS IS&rdquo; WITHOUT
786 WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
787 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
788 A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
789 PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
790 DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
791 CORRECTION.
792 </p>
793 </li><li> Limitation of Liability.
794
795 <p>IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
796 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
797 CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
798 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
799 ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
800 NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
801 LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
802 TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
803 PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
804 </p>
805 </li><li> Interpretation of Sections 15 and 16.
806
807 <p>If the disclaimer of warranty and limitation of liability provided
808 above cannot be given local legal effect according to their terms,
809 reviewing courts shall apply local law that most closely approximates
810 an absolute waiver of all civil liability in connection with the
811 Program, unless a warranty or assumption of liability accompanies a
812 copy of the Program in return for a fee.
813 </p>
814 </li></ol>
815
816 <a name="END-OF-TERMS-AND-CONDITIONS"></a>
817 <h3 class="heading">END OF TERMS AND CONDITIONS</h3>
818
819 <a name="How-to-Apply-These-Terms-to-Your-New-Programs"></a>
820 <h3 class="heading">How to Apply These Terms to Your New Programs</h3>
821
822 <p>If you develop a new program, and you want it to be of the greatest
823 possible use to the public, the best way to achieve this is to make it
824 free software which everyone can redistribute and change under these
825 terms.
826 </p>
827 <p>To do so, attach the following notices to the program. It is safest
828 to attach them to the start of each source file to most effectively
829 state the exclusion of warranty; and each file should have at least
830 the &ldquo;copyright&rdquo; line and a pointer to where the full notice is found.
831 </p>
832 <div class="smallexample">
833 <pre class="smallexample"><var>one line to give the program's name and a brief idea of what it does.</var>
834 Copyright (C) <var>year</var> <var>name of author</var>
835
836 This program is free software: you can redistribute it and/or modify
837 it under the terms of the GNU General Public License as published by
838 the Free Software Foundation, either version 3 of the License, or (at
839 your option) any later version.
840
841 This program is distributed in the hope that it will be useful, but
842 WITHOUT ANY WARRANTY; without even the implied warranty of
843 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
844 General Public License for more details.
845
846 You should have received a copy of the GNU General Public License
847 along with this program. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>.
848 </pre></div>
849
850 <p>Also add information on how to contact you by electronic and paper mail.
851 </p>
852 <p>If the program does terminal interaction, make it output a short
853 notice like this when it starts in an interactive mode:
854 </p>
855 <div class="smallexample">
856 <pre class="smallexample"><var>program</var> Copyright (C) <var>year</var> <var>name of author</var>
857 This program comes with ABSOLUTELY NO WARRANTY; for details type &lsquo;<samp>show w</samp>&rsquo;.
858 This is free software, and you are welcome to redistribute it
859 under certain conditions; type &lsquo;<samp>show c</samp>&rsquo; for details.
860 </pre></div>
861
862 <p>The hypothetical commands &lsquo;<samp>show w</samp>&rsquo; and &lsquo;<samp>show c</samp>&rsquo; should show
863 the appropriate parts of the General Public License. Of course, your
864 program&rsquo;s commands might be different; for a GUI interface, you would
865 use an &ldquo;about box&rdquo;.
866 </p>
867 <p>You should also get your employer (if you work as a programmer) or school,
868 if any, to sign a &ldquo;copyright disclaimer&rdquo; for the program, if necessary.
869 For more information on this, and how to apply and follow the GNU GPL, see
870 <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>.
871 </p>
872 <p>The GNU General Public License does not permit incorporating your
873 program into proprietary programs. If your program is a subroutine
874 library, you may consider it more useful to permit linking proprietary
875 applications with the library. If this is what you want to do, use
876 the GNU Lesser General Public License instead of this License. But
877 first, please read <a href="http://www.gnu.org/philosophy/why-not-lgpl.html">http://www.gnu.org/philosophy/why-not-lgpl.html</a>.
878 </p>
879 <hr>
880 <a name="g_t_00davod"></a>
881 <a name="Uvod"></a>
882 <h2 class="chapter">1 Úvod</h2>
883
884 <p>GNU Typist je interaktivní program pro výuku psaní na klávesnici
885 všemi deseti prsty. Obsahuje výukové lekce, cvičení i rychlostní
886 testy. Program je určen pro používání na terminálech bez grafiky.
887 Byl zkompilován na GNU/Linuxu, Unixech (Aix, OpenBSD) a také
888 na DOS/Windows (DOS 6.22, Windows 98, Windows NT).
889 </p>
890 <p>Program načítá lekce vytvořené ve snadno pochopitelném
891 skritpovacím jazyku. Je distribuován spolu s několika
892 dobrými a kompletními lekcemi, které můžete používat,
893 modifikovat, nebo psát nové. (see <a href="#Vytvo_0159te-nov_00e9-lekce">Vytvořte nové lekce</a>
894 see <a href="#P_0159_00edkazy-skriptovac_00edho-jazyka">Příkazy skriptovacího jazyka</a>).
895 </p>
896 <p>Pokud nespecifikujete příslušný soubor lekcí na příkazové řádce, bude použit
897 <samp>gtypist.typ</samp>. (Podrobnosti o cestě k souborům naleznete v sekci
898 see <a href="#Prom_011bnn_00e9-prost_0159ed_00ed">Proměnné prostředí</a>).
899 </p>
900 <p>Na horní řádce obrazovky naleznete banner programu. Na nejspodnější
901 řádce se potom nalézají různé zprávy, dotazy a další informace
902 o stavu. Řádky mezi tím jsou používány pro tutoriály, cvičení
903 a rychlostní testy.
904 </p>
905 <p>V programu jsou dva typy cvičení: drilové a rychlostní testy.
906 </p>
907 <p>V drilových vám gtypist zobrazí text v každé druhé řádce obrazovky
908 a počká, až uživatel správně opíše text do zbývajících prázdných
909 řádek.
910 Chybně zadaná písmena jsou indikována obráceným <code>^</code>,
911 nebo <code>&gt;</code>, pokud je špatně zadaným znakem konec řádky.
912 Na konci cvičení program spočítá skutečnou a užitečnou
913 rychlost v jednotkách slov za minutu. Pokud jste udělali příliš mnoho
914 chyb, cvičení se spustí znova.
915 </p>
916 <p>Není dovoleno zpětně opravovat špatně zadané znaky.
917 </p>
918 <p>V rychlostních testech zobrazuje gtypist text na obrazovce a
919 čeká, až ho uživatel přepíše tím samým. Chyby se zobrazují
920 a na konci testu se spočítá opravdová a užitečná rychlost ve
921 WPM (words per minute &ndash; slova za minutu).
922 Pokud se vyskytlo příliš mnoho chyb, test se spustí znovu.
923 Opravování chyb je povoleno, ale takto opravené chyby budou stejně
924 započítány do hodnocení.
925 </p>
926 <p>Jestli jste již udělali příliš mnoho chyb, můžete použít <tt class="key">ESC</tt>
927 a test se spustí znovu. Kdykoliv dokončíte lekci, butete dotázáni,
928 zda ji chcete opakovat.
929 </p>
930 <p>GNU Typist obsahuje i cvičení zaměřené pouze na procvičování
931 (jak drilová cvičení, tak rychlostní testy), která možná nebudete
932 muset vůbec opakovat. Nechceme ale říkat, zda se to týká zrovna
933 vás, takže se stejně budete muset snažit, jak nejlépe umíte ;-)
934 </p>
935
936
937
938
939 <p>Ve výsledcích rychlosti znamená jedno slovo pět znaků, takže
940 hrubé WPM je počet znaků v testovací oblasti dělené pěti a znovu
941 dělené počtem uplynulých minut. Co se týče faktoru chyby, který
942 WPM ovlivňuje, každá chyba je počítaná za špatné slovo.
943 </p>
944 <hr>
945 <a name="Spou_0161t_011bn_00ed"></a>
946 <a name="Spousteni"></a>
947 <h2 class="chapter">2 Spouštění</h2>
948
949 <p>Syntaxe pro spuštění GNU Typist je:
950 </p>
951 <p><code>gtypist [ parametry... ] [ script_file ]</code>
952 </p>
953 <p>Podporované parametry jsou popsány níže (pozor, dlouhé tvary
954 nejsou v DOSu podporovány).
955 </p>
956 <dl compact="compact">
957 <dt><code>-e, --error-max</code></dt>
958 <dd><p>Udává maximální procento chybovosti při zadávání textu.
959 Defaultní hodnota je 3,0. Musí být mezi 0,0 a 100,0.
960 Existuje i příkaz skriptovacího jazyka
961 (see <a href="#P_0159_00edkazy-skriptovac_00edho-jazyka">Příkazy skriptovacího jazyka</a>), který to může změnit,
962 pokud je zadané číslo menší. Pro procvičovací lekce je tato
963 hodnota ale ignorována.
964 </p>
965 </dd>
966 <dt><code>-n, --notimer</code></dt>
967 <dd><p>Normálně GNU Typist zobrazuje rychlost ve WPM (slova za minutu) jak
968 po drilových cvičeních, tak po rychlostních zkouškách. Lekce jsou ale
969 zřejmě napsané pro program, který zobrazoval rychlost pouze při rychlostních
970 testech. Abyste gtypist přinutili k takovémuto chování odpovídajícímu
971 lekcím, tedy aby nezobrazoval počet slov za minutu u drilových testů,
972 použijte tento parametr.
973 </p>
974 </dd>
975 <dt><code>-t, --term-cursor</code></dt>
976 <dd><p>gtypist si vytváří vlastní obdélníčkový kurzor, aby pomohl
977 uživateli rozlišit mezi kurzorem a označením chyb v inverzních
978 barvách. Tímto parametrem takové chování potlačíme a donutíme program
979 používat standardní kurzor terminálu.
980 </p>
981 </dd>
982 <dt><code>-f, --curs-flash</code></dt>
983 <dd><p>Hodnota tohoto parametru nastavuje blikání obdélníkového kurzoru
984 v desetinách sekund. Hodnota 0 znamená, že kurzor nebude blikat.
985 Standardní hodnota je 10, maximální 512. Toto je ignorováno, pokud
986 bylo nastaveno -t nebo &ndash;term-cursor.
987 </p>
988 </dd>
989 <dt><code>-c, --colo[u]rs</code></dt>
990 <dd><p>Normálně používá gtypist pouze normální a převrácené
991 monochromatické barvy. Tímto parametrem můžete nastavit
992 barvu popředí a pozadí na terminálech, které podporují
993 barevný výstup. Barvy jsou specifikovány jako dvě čísla
994 mezi 0 a 7. Kódy barev od 0 do 7 znamenají barvu černou,
995 červenou, zelenou, žlutou, modrou, magenta a modrozelenou
996 a bílou. Defalutní nastavení je 7,0 &ndash; bílá na černém pozadí.
997 Toto nastavení je ignorováno pokud terminál nepodporuje barvy.
998 </p>
999 </dd>
1000 <dt><code>-s, --silent</code></dt>
1001 <dd><p>Kdykoliv narazí gtypist na chybu, zapípá. Tímto nastavením
1002 můžete zvukový signál potlačit.
1003 </p>
1004 </dd>
1005 <dt><code>-q, --quiet</code></dt>
1006 <dd><p>To samé jako -s, &ndash;silent.
1007 </p>
1008 </dd>
1009 <dt><code>-w, --wpmode</code></dt>
1010 <dd><p>Tímto donutíte gtypist určitým způsobem napodobovat textový
1011 procesor, kdykoliv spouští nějaké cvičení. Mezeru na konci řádku
1012 bude brát jako korektní znak a přejde na další řádku. Pokud stisknete
1013 na konci řádky ENTER, přesune vás na následující odstavec.
1014 Vícenádobné mezery stlačí na jedinou a bude přeskakovat rozdělovací
1015 čárky na konci řádek.
1016 </p>
1017 </dd>
1018 <dt><code>-l, --start-label</code></dt>
1019 <dd><p>Tento parametr udává návěstí ve skriptovém souboru, kde
1020 gtyping začne (pro informace o návěstí
1021 viz níže skriptovací jazyk). Pokud není start_label definováno, začne
1022 se od začátku souboru.
1023 </p>
1024 </dd>
1025 <dt><code>-k, --no-skip</code></dt>
1026 <dd><p>Zakáže uživateli přeskakovat lekce nebo z nich utíkat pomocí
1027 <tt class="key">ESC ESC</tt>.
1028 </p>
1029 </dd>
1030 </dl>
1031
1032 <p>Pokud chcete spouštět gtypist ve svém rodném jazyce, musíte
1033 také vhodně nastavit proměnnou prostředí <code>LANG</code>
1034 See <a href="#Prom_011bnn_00e9-prost_0159ed_00ed">Proměnné prostředí</a>.
1035 </p>
1036 <p><strong>Příklady:</strong>
1037 </p>
1038 <p>Ke spuštění standardního anglického souboru lekcí <samp>gtypist.typ</samp>:<br>
1039 <code>gtypist</code>
1040 </p>
1041
1042 <p>Ke spuštění českých lekcí: <br>
1043 <code>gtypist cs.typ</code>
1044 </p>
1045
1046 <p>Donutíme gtypist, aby hledal lekci bar.typ v nestandardním
1047 adresáři <samp>/home/foo</samp>: <br>
1048 <code>export GTYPIST_PATH=&quot;/home/foo&quot;</code>
1049 <code>gtypist bar.typ</code>
1050 </p>
1051
1052 <p>Abychom mohli spustit lekci <samp>test.typ</samp> v adresáři <samp>/tmp</samp>,
1053 a začít na návěstí <code>TEST1</code>, v tichém módu, za použití
1054 standardního kurzoru terminálu, zadáme toto:<br>
1055 <code>gtypist -t -q -l TEST1 /tmp/test.typ</code>
1056 </p>
1057 <hr>
1058 <a name="Dostupn_00e9-lekce"></a>
1059 <a name="Dostupne-lekce"></a>
1060 <h2 class="chapter">3 Dostupné lekce</h2>
1061
1062 <p>S GNU Typist jsou dodávány tyto lekce :
1063 </p><dl compact="compact">
1064 <dt><samp>cs.typ</samp></dt>
1065 <dd><p>Soubor QWERTY kurzů v češtině (+ numerická klávesnice)
1066 </p></dd>
1067 <dt><samp>q.typ</samp></dt>
1068 <dd><p>Rychlý QWERTY kurz v angličtině
1069 </p></dd>
1070 <dt><samp>r.typ</samp></dt>
1071 <dd><p>Dlouhý QWERTY kurz v angličtině
1072 </p></dd>
1073 <dt><samp>t.typ</samp></dt>
1074 <dd><p>QWERTY výuka v angličtině
1075 </p></dd>
1076 <dt><samp>v.typ</samp></dt>
1077 <dd><p>Ještě další QWERTY v angličtině
1078 </p></dd>
1079 <dt><samp>w.typ</samp></dt>
1080 <dd><p>QWERTY opakování v angličtině
1081 </p></dd>
1082 <dt><samp>d.typ</samp></dt>
1083 <dd><p>Výuka klávesnice Dvorak v angličtině
1084 </p></dd>
1085 <dt><samp>m.typ</samp></dt>
1086 <dd><p>Drilová cvičení v angličtině
1087 </p></dd>
1088 <dt><samp>s.typ</samp></dt>
1089 <dd><p>Rychlostní testy v angličtině
1090 </p></dd>
1091 <dt><samp>n.typ</samp></dt>
1092 <dd><p>Numerická klávesnice v angličtině
1093 </p></dd>
1094 <dt><samp>gtypist.typ</samp></dt>
1095 <dd><p>Soubor všech předchozích anglických lekcí
1096 </p></dd>
1097 <dt><samp>esp.typ</samp></dt>
1098 <dd><p>Kurz QWERTY ve španělštině
1099 </p></dd>
1100 <dt><samp>kt*.typ</samp></dt>
1101 <dd><p>Toto jsou standardní lekce z Ktouch 1.0
1102 (<a href="http://ktouch.sourceforge.net">http://ktouch.sourceforge.net</a>), které byly
1103 do formátu gtypistu zkonvertovány s použitím
1104 <samp>tools/ktouch2typ.pl</samp>.
1105 </p>
1106 <p>Tyto soubory jsou ktde.typ (german.ktouch), kten.typ (english.ktouch),
1107 ktfr.typ (french.ktouch), ktlecten.typ (lecture_en.ktouch), ktno.typ
1108 (norwegian.ktouch) and ktnumber.typ (number.ktouch).
1109 </p></dd>
1110 <dt><samp>ttde.typ</samp></dt>
1111 <dd><p>To je německá lekce pro tipptrainer
1112 (<a href="http://www.pingos.schulnetz.org/tipptrainer">http://www.pingos.schulnetz.org/tipptrainer</a>), která byla
1113 zkonvertována s pomocí <samp>tools/tt2typ.pl</samp>.
1114 </p></dd>
1115 </dl>
1116
1117 <p>Pokud v těchto lekcích najdete chyby, pokud nějakou upravíte,
1118 nebo pokud napíšete lekci novou, prosím vydejte ji pod
1119 svobodnou licencí a řekněte nám o tom &ndash; můžete nám napsat
1120 mail na <a href="mailto:[email protected]">[email protected]</a>.
1121 </p>
1122 <hr>
1123 <a name="Pou_017e_00edv_00e1n_00ed-typefortune"></a>
1124 <a name="Pouzivani-typefortune"></a>
1125 <h2 class="chapter">4 Používání typefortune</h2>
1126
1127 <p>&lsquo;typefortune&rsquo; vám dovolí cvičit s textem z &lsquo;fortune&rsquo;.
1128 </p>
1129 <p><code>SYNTAX: typefortune [-dslh] [-n počet] [-o &lt;parametry_gtp&gt;]</code>
1130 </p>
1131 <dl compact="compact">
1132 <dt><code>-d</code></dt>
1133 <dd><p>Použije <code>D:</code> místo <code>S:</code>.
1134 </p>
1135 </dd>
1136 <dt><code>-s</code></dt>
1137 <dd><p>Spustí fortune s <code>-s</code>.
1138 </p>
1139 </dd>
1140 <dt><code>-l</code></dt>
1141 <dd><p>Spustí fortune s <code>-l</code>.
1142 </p>
1143 </dd>
1144 <dt><code>-n &lt;počet&gt;</code></dt>
1145 <dd><p>Cvičení &lt;počet&gt; fortunes.
1146 </p>
1147 </dd>
1148 <dt><code>-o &lt;gtypist_options&gt;</code></dt>
1149 <dd><p>Předej gtypistu nastavení ve formě <samp>option</samp> (nastavení přepínače,
1150 např. <code>-o word-processor</code>), <samp>option,value</samp> (nastavení hodnoty,
1151 např. <code>-o e,1.0</code>) kde <code>option</code> je jméno nastavení
1152 (zkrácené či dlouhé) s tím, že všechny úvodní pomlčky jsou odstraněny.
1153 Pokud uvádíte více než jeden parametr, musíte je uvést v apostrofech:
1154 <code>typefortune -n 3 -o 'silent e,5 word-processor'</code>.
1155 </p>
1156 </dd>
1157 </dl>
1158
1159 <hr>
1160 <a name="P_0159_00edkazy-skriptovac_00edho-jazyka"></a>
1161 <a name="Prikazy-skriptovaciho-jazyka"></a>
1162 <h2 class="chapter">5 Příkazy skriptovacího jazyka</h2>
1163
1164 <p>GNU Typist načítá data pro jednotlivé lekce ze skriptového
1165 souboru. Každá řádka s výjimkou komentářů a prázdných řádek
1166 má následující formát
1167 </p>
1168 <p><code>znak_příkazu : data_příkazu</code>
1169 </p>
1170
1171 <p><code>Znak příkazu</code> je jeden znak, který určuje, co bude
1172 gtypist dělat, a <code>data_příkazu</code> jsou data, se kterými
1173 bude operovat. Pokud je <code>znak_příkazu</code> mezera, znamená
1174 to, že řádka je pokračováním předchozího příkazu.
1175 Oddělovač &rsquo;:&rsquo; musí být vždy v druhém sloupci řádky.
1176 </p>
1177 <p>Řádky komentářů jsou řádky začínající znakem &rsquo;#&rsquo; a stejně
1178 jako prázdné řádky jsou ignorovány. Komentáře mohou mít
1179 jakýkoliv formát, jediným požadavkem je, aby začínaly &rsquo;#&rsquo;.
1180 Všechny ostatní řádky musí mít výše uvedený formát.
1181 </p>
1182 <p>Abyste se seznámili se základy, měli byste si přečíst See <a href="#g_t_00davod">Úvod</a>.
1183 </p>
1184 <p>Následující výčet je seznamem platných hodnot <code>znaků_příkazu</code>:
1185 </p>
1186 <dl compact="compact">
1187 <dt><code>B</code></dt>
1188 <dd><p>Tento příkaz smaže celou obrazovku. Pokud má nějaká
1189 <code>data_příkazu</code>, ta jsou zobrazena v horním jednořádkovém
1190 banneru a zůstanou tam až do zavolání následujícího příkazu <code>B</code>.
1191 Tento příkaz nesmí pokračovat na následující řádce.
1192 </p>
1193 </dd>
1194 <dt><code>T</code></dt>
1195 <dd><p>T znamená tutoriál. Příkaz může zpracovávat více řádek
1196 a to až do zaplnění obrazovky. Každá řádka příkazu je
1197 prostě vytištěna na obrazovku. Příkaz smaže obrazovku
1198 pod horním jednořádkovým bannerem. Když je zobrazování
1199 hotovo, program čeká na uživatelský vstup. Toho je také
1200 využíváno pro tisk položek menu.
1201 </p>
1202 </dd>
1203 <dt><code>*</code></dt>
1204 <dd><p>Hvědička znamená návěstí v souboru. Návěstí může být cílem pro
1205 příkazy <code>G</code>, <code>Y</code>, <code>N</code> nebo <code>F</code>. Návěstí
1206 mohou zahrnovat jakékoliv znaky včetně mezer a jsou
1207 jednořádkovým příkazem. Mezery na konci návěstí jsou ignorovány.
1208 </p>
1209 </dd>
1210 <dt><code>I</code></dt>
1211 <dd><p>Tento příkaz zobrazí stručné instrukce k drilovému či rychlostnímu
1212 testu. Je dovoleno použít pouze dvou řádek. Narozdíl od příkazu <code>T</code>
1213 se před pokračováním nečeká na stisk klávesy. Značka by tedy
1214 měla být vždy následována cvičením. Maže plochu obrazovky
1215 pro cvičení, v tomto ohledu se chová jako dvouřádkové <code>T</code>.
1216 </p>
1217 </dd>
1218 <dt><code>M</code></dt>
1219 <dd><p>Tento příkaz je nový způsob, jak vytvářet menu (od gtypistu 2.7)
1220 Zde je jeho syntax:
1221 </p><div class="example">
1222 <pre class="example">M: [UP=(LABEL|_EXIT)] &quot;název&quot;
1223 :LABEL1 &quot;popis1&quot;
1224 :LABEL2 &quot;popis2&quot;
1225 ...
1226 </pre></div>
1227
1228 <p>UP-label označuje návěstí otcovského uzlu, které definuje
1229 poslední položku menu (pokud je to _EXIT, pak ,,Konec&rdquo;,
1230 jinak bude poslední položka v menu ,,Zpět&rdquo; skákat
1231 na zadaný uzel). Tento argument je volitelný. Pokud
1232 není přítomen, použije se defaultní _EXIT.
1233 </p>
1234 <p>Název, stejně jako ostatní popis, musí být v uvozovkách (&quot;&quot;).
1235 Navíc musí mezi UP=XXX a &quot;název&quot; či mezi návěstími
1236 a jejich popisem být alespoň jedna mezera.
1237 </p>
1238 <p>Příklady hledejte v existujících lekcích.
1239 </p>
1240 </dd>
1241 <dt><code>D,d</code></dt>
1242 <dd><p>Tento příkaz se nazývá ,,drill&rdquo; a je jedním ze dvou typů
1243 cvičení.
1244 </p>
1245 <p>Je to víceřádkový příkaz. Text je zobrazován v každé druhé
1246 řádce a uživatel jej opisuje do prostoru mezi nimi.
1247 To je důvod, proč nemůžete použít více jak 11 řádek
1248 obsahu.
1249 </p>
1250 <p>Tento typ cvičení by měl být používán pouze pro cvičení
1251 prstů (např. jfjfjjf), ale může obsahovat i celá slova
1252 a věty, když jsou využívány k procvičování (písmeno, slabika)
1253 a nejedná se o opravdové texty.
1254 </p>
1255 <p>Verze s malým písmenem <code>d</code> znamená ,,pouze procvičování&rdquo;,
1256 uživatel nebude muset cvičení opakovat ani pokud udělal příliš
1257 mnoho chyb.
1258 </p>
1259 </dd>
1260 <dt><code>S,s</code></dt>
1261 <dd><p>To je druhý typ cvičení: ,,rychlostní test&rdquo;.
1262 </p>
1263 <p>Jedná se o víceřádkový příkaz. Zobrazuje svůj obsah na obrazovce
1264 a čeká, až jej uživatel přepíše tím samým textem. Proto můžete
1265 na jeden rychlostní test použít až 22 řádek. V tomto druhu testu
1266 můžete své chyby opravovat, počítadlo ve statistice je ale stále
1267 bude počítat jako chyby.
1268 </p>
1269 <p>Rychlostní testy by měly být používány pro opisování
1270 kompletních vět, textů a souborů (např. dopis, texinfo,
1271 html či tex soubor).
1272 </p>
1273 <p>Verze s malým písmenem <code>s</code> je rychlostní test
1274 ,,pouze k procvičování&rdquo;, což znamená, že ani uživatel,
1275 který udělá příliš mnoho chyb, jej nebude muset opakovat.
1276 </p>
1277 </dd>
1278 <dt><code>G</code></dt>
1279 <dd><p>Toto přinutí gtypist přeskočit na návěstí v <code>datech_příkazu</code>
1280 a pokračovat ve vyvolávání skriptu odtud. Jde o jednořádkový
1281 příkaz.
1282 </p>
1283 </dd>
1284 <dt><code>Q</code></dt>
1285 <dd><p>Tento příkaz vypíše svůj text na stavové řádce a před
1286 pokračováním čeká na klávesu <tt class="key">Y</tt> nebo <tt class="key">N</tt>.
1287 Ostatní znaky jsou ignorovány.
1288 </p>
1289 <p>Jako vedlejší efekt můžete také stisknout F-klávesu,
1290 pokud je potřeba (nyní by již neměl být tento příkaz
1291 používán pro vytváření promptu pro menu &ndash; použijte
1292 raději příkaz M).
1293 </p>
1294 </dd>
1295 <dt><code>Y</code></dt>
1296 <dd><p>Y Je podobné <code>G</code>, s výjimkou toho, že příkaz skoku
1297 je vyvolán pouze pokud odpověď na předchozí otázku <code>Q</code>
1298 byla <tt class="key">Y</tt>.
1299 </p>
1300 </dd>
1301 <dt><code>N</code></dt>
1302 <dd><p>N je podobné <code>G</code>, s výjimkou toho, že příkaz skoku
1303 je vyvolán pouze pokud odpověď na předchozí otázku <code>Q</code>
1304 byla <tt class="key">N</tt>.
1305 </p>
1306 </dd>
1307 <dt><code>K</code></dt>
1308 <dd><p><em>Tento příkaz by již neměl být používán, použijte M</em>
1309 Váže funkční klávesu na návěstí. Formát dat následujících
1310 tento příkaz musí být <code>Fklávesa:návěstí</code>, kde
1311 <code>Fklávesa</code> je číslo funkční klávesy mezi 1 a 12
1312 a <code>návěstí</code> je místo, kam se přesunout po stisku
1313 této klávesy. Hodnota návěstí NULL klávesu znefunkční.
1314 </p>
1315 <p>Pokud na terminálu nejsou dostupné funkční klávesy,
1316 mohou být místo jich použity klávesy
1317 <tt class="key">1</tt> až <tt class="key">9</tt> pro <tt class="key">F1</tt> až <tt class="key">F9</tt>, <tt class="key">0</tt> pro
1318 <tt class="key">F10</tt>, <tt class="key">A</tt> pro <tt class="key">F11</tt> a <tt class="key">S</tt> pro <tt class="key">F12</tt>.
1319 </p>
1320 <p>Jinou alternativou pro <tt class="key">F1</tt> až <tt class="key">F12</tt> jsou kombinace:
1321 <tt class="key">Ctrl-Q</tt>, <tt class="key">Ctrl-W</tt>, <tt class="key">Ctrl-E</tt>, <tt class="key">Ctrl-R</tt>,
1322 <tt class="key">Ctrl-T</tt>, <tt class="key">Ctrl-Z</tt>, <tt class="key">Ctrl-U</tt>, <tt class="key">Ctrl-I</tt>,
1323 <tt class="key">Ctrl-O</tt>, <tt class="key">Ctrl-P</tt>, <tt class="key">Ctrl-A</tt> a <tt class="key">Ctrl-S</tt>.
1324 </p>
1325 <p>To je také užitečné, pokud jsou funkční klávesy odchytávány
1326 jinými programy (například window managery).
1327 </p>
1328 </dd>
1329 <dt><code>E</code></dt>
1330 <dd><p>Tento příkaz je používán pro nastavení nejvyššího procenta
1331 chyb dovoleného pro úspěšné absolvování následující lekce
1332 (E:&lt;value&gt;%) či pro všechny lekce až do dalšího výskytu E
1333 (E:&lt;value&gt;%*).
1334 </p>
1335 <p>Pokud je nastaveno <samp>--error-max/-e</samp>, tak bute tento
1336 příkaz platit pouze tehdy, pokud je <em>přísnější</em>
1337 než hodnota specifikovaná na příkazové řádce.
1338 </p>
1339 <p><code>data_příkazu</code> se skládají z hodnoty (mezi 0.0 a 100.0)
1340 následované znakem &rsquo;%&rsquo; (toto je požadováno, aby byly skripty
1341 lépe čitelné). Existuje speciální hodnota <code>default</code>
1342 nebo <code>Default</code>, která nastavuje maximální procento chyb
1343 zpět na defaultní hodnotu.
1344 </p>
1345 </dd>
1346 <dt><code>F</code></dt>
1347 <dd><p>Tento příkaz může být použit k nastavení návěstí
1348 (v <code>data_příkazu</code>), kam bude uživatel muset
1349 jít, pokud úspěšně neprojde cvičením.
1350 </p>
1351 <p>Tento příkaz se většinou vztahuje pouze k následujícímu
1352 cvičení, ale pokud na konec <code>dat_příkazu</code>
1353 vložíte &rsquo;*&rsquo;, můžete jej tak učinit trvale platným.
1354 </p>
1355 <p>Pokud je návěstí NULL, pak příkaz návěstí resetuje.
1356 </p>
1357 </dd>
1358 <dt><code>X</code></dt>
1359 <dd><p>Tento příkaz přinutí gtypist vyskočit. Je to jednořádkový
1360 příkaz. Jakékoliv <code>data_příkazu</code> jsou ignorována.
1361 Jiný způsob, jakým může dojít k opuštění programu,
1362 je když gtypist dojde na konec souboru (takže tam můžete
1363 také umístit návěstí a odkazovat na něj příkazem <code>G</code>)
1364 </p>
1365 </dd>
1366 </dl>
1367
1368
1369 <p>Prohlédněte si malý příklad skriptu, který demonstruje
1370 dostupné příkazy (soubor lekce <samp>tinydemo.typ</samp>):
1371 </p>
1372 <div class="example">
1373 <pre class="example"># Malý příklad
1374 B: Demonstrace tutoriálu
1375 *:LOOP
1376 K:1:QDONE
1377 T:Zde je malý příklad skriptu pro lekci.
1378 :Lepší příklad můžete nalézt v souboru
1379 :demo.typ, který je dodáván s GNU Typist.
1380 I:Tady je drilové cvičení:
1381 D:asdf ghjkl;
1382 I:A tady je zas rychlostní test:
1383 S:qwe rt yu iop
1384 *:QDONE
1385 Q:Stačilo to již? [Y/N]
1386 N:LOOP
1387 X:
1388 </pre></div>
1389
1390 <hr>
1391 <a name="Vytvo_0159te-nov_00e9-lekce"></a>
1392 <a name="Vytvorte-nove-lekce"></a>
1393 <h2 class="chapter">6 Vytvořte nové lekce</h2>
1394
1395 <p>This section provides guidelines and hints for creating new lessons
1396 (or improving existing ones).
1397 </p>
1398
1399
1400 <hr>
1401 <a name="Ktouch-lessons"></a>
1402 <a name="Ktouch-lessons-1"></a>
1403 <h3 class="section">6.1 Ktouch lessons</h3>
1404
1405 <p>A very easy way to write lessons is to write them in the format
1406 that <code>ktouch</code> uses, and then convert it to a gtypist lesson
1407 using <code>tools/ktouch2typ.pl</code>. This will take care of writing
1408 &ldquo;jump-tables&rdquo;, a menu and a bit more.
1409 </p>
1410 <p>The ktouch-format consists only of lessons, which are preceded by
1411 their names, and separated by blank lines and/or comments (# at the
1412 beginning of the line). So the first non-blank, non-comment line in
1413 the file is the name of the first lesson, and the first lesson
1414 consists of all the lines up to the next comment or blank line. After
1415 the separator (comment or blank line) the name of the second lesson
1416 follows and so on.
1417 </p>
1418 <p>This is an example of a three-lesson ktouch file (excerpts from the
1419 first three lessons of german.ktouch):
1420 </p><div class="example">
1421 <pre class="example">#
1422 # Deutsche Training-Datei für KTouch
1423 #
1424
1425 Grundstellung
1426 f f f f f f fff fff fff f f f f f f fff fff fff f f f f f f f fff
1427 j j j j j j jjj jjj jjj j j j j j j jjj jjj jjj j j j j j j j jjj
1428 fff jjj fff jjj jjj fff jjj fff fjf fjf fjf jfj jfj jfj fjf jfjfj
1429
1430 Grundstellung
1431 fff jjj ddd kkk aaa ööö fff jjj ddd kkk aaa ööö fff jjj ddd kkkff
1432 fda jkö fda jkö fda jkö fda jkö fda jkö fda jkö fda jkö fda jköfd
1433 s s s s s s sss sss sss s s s s s s sss sss sss s s s s s s s sss
1434
1435 #Zwei wichtige Vokale: e und i
1436 e und i
1437 asdf ölkj fdsa jklö asdf ölkj fdsa jklö asdf ölkj fdsa jklö asdfö
1438 das dass lös fad dass lös als dass las lös fad dass als dass dass
1439 ded ded ded dej dek del deö ded deö del dek dej ded dej dek delde
1440 </pre></div>
1441
1442 <p>Once you are done, use <code>tools/ktouch2typ.pl</code> to convert the
1443 file: &lsquo;<samp>ktouch2typ.pl lesson.ktouch</samp>&rsquo; converts <samp>lesson.ktouch</samp>
1444 to <samp>lesson.typ</samp>. It is important that the input file ends in
1445 &ldquo;.ktouch&rdquo;, otherwise <code>ktouch2typ.pl</code> will skip it. Warning:
1446 this will overwrite <samp>lesson.typ</samp> without asking you !
1447 </p>
1448 <p>You can customize the number of lines that <code>ktouch2typ.pl</code>
1449 uses for each drill by modifying the relevant variable in
1450 <samp>tools/ktouch2typ.pl</samp>.
1451 </p>
1452 <p>Obviously, the disadvantage of this is that you cannot make use of all
1453 of gtypist&rsquo;s features (but the output file is very readable, so you
1454 can edit it to use more of gtypist&rsquo;s features).
1455 </p>
1456 <hr>
1457 <a name="Exercises-from-fortune"></a>
1458 <a name="Exercises-from-fortune-1"></a>
1459 <h3 class="section">6.2 Exercises from fortune</h3>
1460
1461 <p>Using <samp>gtypist-mode.el</samp> you can quickly create lessons with text
1462 from the program <code>fortune</code> (or the emacs-internal
1463 <code>yow</code> if <code>fortune</code> isn&rsquo;t available, as is usually the
1464 case on Windows).
1465 </p>
1466 <p>Once you installed <samp>gtypist-mode.el</samp>
1467 (see <a href="#M_00f3d-Emacsu">Mód Emacsu</a>), you can open a file
1468 with it &ldquo;.typ&rdquo; extension and run <kbd>C-c C-f</kbd> to create a drill
1469 (<code>D:</code> by default, use <kbd>C-u</kbd> or <kbd>C-u C-u</kbd> prefix to
1470 change).
1471 </p>
1472 <hr>
1473 <a name="Design-patterns-for-lessons"></a>
1474 <a name="Design-patterns-for-lessons-1"></a>
1475 <h3 class="section">6.3 Design patterns for lessons</h3>
1476
1477 <a name="Structure-of-lesson-files"></a>
1478 <h4 class="subsection">6.3.1 Structure of lesson files</h4>
1479
1480 <ul>
1481 <li> use mixture of drills and speed tests (this is more fun for the user)
1482 </li><li> use some &ldquo;practice-only&rdquo; exercises (d:/s:) (possibly mixed with
1483 &ldquo;real&rdquo; exercises) followed by a &ldquo;final test&rdquo;.
1484 <samp>esp.typ</samp> uses this scheme.
1485
1486 </li></ul>
1487
1488 <a name="Patterns-for-exercises"></a>
1489 <h4 class="subsection">6.3.2 Patterns for exercises</h4>
1490
1491 <ul>
1492 <li> when introducing a new key, start out by mixing other (known) keys
1493 of the same finger in with the new key in the first drill(s).
1494 Here is an example (from <samp>t.typ</samp>, line 237):
1495 <div class="example">
1496 <pre class="example">I:Use your J-finger for the H key.
1497 *:_T_R_L23
1498 D:jjj jhj jjj jhj jjj jhj
1499 </pre></div>
1500 </li><li> use &rsquo;word, word.&rsquo; repeatedly to practice ,/.
1501 </li></ul>
1502
1503
1504 <hr>
1505 <a name="M_00f3d-Emacsu"></a>
1506 <a name="Mod-Emacsu"></a>
1507 <h2 class="chapter">7 Mód Emacsu</h2>
1508
1509 <p>gtypist now comes with an Emacs major-mode which does
1510 syntax-highlighting, indentation and has some convenient commands for
1511 counting labels, a goto-label-command, inserting properly centered
1512 banners, special comments and a bit more.
1513 </p>
1514 <p>Copy this file from <samp>tools/gtypist-mode.el</samp> to wherever you put
1515 your local elisp files (e.g. <samp>~/elisp</samp>) and put this in your
1516 <samp>~/.emacs</samp> (adapt path!):
1517 </p>
1518 <div class="lisp">
1519 <pre class="lisp">(autoload 'gtypist-mode &quot;~/elisp/gtypist-mode&quot;)
1520 </pre></div>
1521
1522 <p>or put it in <code>load-path</code> (&lsquo;<samp>make install</samp>&rsquo; in the
1523 sources should take care of this for GNU Emacs, or if you
1524 are using the Debian package, it installs it here for you)
1525 and use this instead:
1526 </p>
1527 <div class="lisp">
1528 <pre class="lisp">(autoload 'gtypist-mode &quot;gtypist-mode&quot;)
1529 </pre></div>
1530
1531 <p><strong>and</strong> add this to your <samp>~/.emacs</samp>:
1532 </p>
1533 <div class="lisp">
1534 <pre class="lisp">(setq auto-mode-alist
1535 (cons '(&quot;\\.typ\\'&quot; . gtypist-mode) auto-mode-alist))
1536 </pre></div>
1537
1538
1539 <p>All this is also mentioned in the README-section of
1540 <samp>tools/gtypist-mode.el</samp>.
1541 </p>
1542 <p>Here are the commands along with the keybindings:
1543 </p>
1544 <dl compact="compact">
1545 <dt><kbd>C-c C-i, M-x gtypist-mode-info</kbd></dt>
1546 <dd><p>This shows gtypist&rsquo;s texinfo-documentation, starting at node
1547 &ldquo;Script file commands&rdquo; (see <a href="#P_0159_00edkazy-skriptovac_00edho-jazyka">Příkazy skriptovacího jazyka</a>). With prefix,
1548 start at the top-node.
1549 </p>
1550 </dd>
1551 <dt><kbd>C-c M-g, M-x gtypist-mode-goto-label</kbd></dt>
1552 <dd><p>Query for a label to go to (with completion).
1553 </p>
1554 </dd>
1555 <dt><kbd>C-c C-l, M-x gtypist-mode-next-label</kbd></dt>
1556 <dd><p>This command inserts the next label in a numbered sequence of labels.
1557 For example, if you insert
1558 </p><div class="example">
1559 <pre class="example">*:SERIES1_L1
1560 </pre></div>
1561 <p>and hit <kbd>C-c C-l</kbd> then gtypist-mode will insert
1562 </p><div class="example">
1563 <pre class="example">*:SERIES1_L2
1564 </pre></div>
1565
1566 </dd>
1567 <dt><kbd>C-c C-b, M-x gtypist-mode-insert-banner</kbd></dt>
1568 <dd><p>This command inserts a centered <code>B:</code> command. It&rsquo;s centered on
1569 66 columns because &ldquo;gtypist &lt;version&gt;&rdquo; is in the right corner
1570 (prompts for content).
1571 </p>
1572 </dd>
1573 <dt><kbd>C-c C-r, M-x gtypist-mode-insert-hrule</kbd></dt>
1574 <dd><p>Inserts a horizontal rule (comment) consisting of dashes.
1575 </p>
1576 </dd>
1577 <dt><kbd>C-c C-n, M-x gtypist-mode-new-lesson</kbd></dt>
1578 <dd><p>Insert the comments (header) and a label to start a new lesson
1579 (prompts for name).
1580 </p>
1581 </dd>
1582 <dt><kbd>C-c C-f, M-x gtypist-mode-fortune-to-drill</kbd></dt>
1583 <dd><p>Insert a drill (<code>D:</code>) with text from <code>fortune</code> (or
1584 <code>yow</code> if <code>fortune</code> isn&rsquo;t available). Use <kbd>C-u</kbd>
1585 prefix to get <code>S:</code>, and <kbd>C-u C-u</kbd> to get <code>d:</code>.
1586 </p>
1587 </dd>
1588 </dl>
1589
1590 <p>Run <kbd>C-h m</kbd> for a complete list of commands and their keybindings.
1591 </p>
1592 <p>If you find bugs or if you think there&rsquo;s something else this mode could
1593 do, please write to <a href="mailto:[email protected]">[email protected]</a>.
1594 </p>
1595 <hr>
1596 <a name="Prom_011bnn_00e9-prost_0159ed_00ed"></a>
1597 <a name="Promenne-prostredi"></a>
1598 <h3 class="section">7.1 Proměnné prostředí</h3>
1599 <p>GNU Typist používá tyto proměnné prostředí:
1600 </p>
1601 <dl compact="compact">
1602 <dt><code>LANG</code></dt>
1603 <dd>
1604 <p>GNU Typist nabízí Native Language Support (NLS) s podporou
1605 knihovny gettext. To znamená, že pokud to váš systém podoruje,
1606 můžete si vybrat jazyk, ve kterém chcete zobrazovat hlášky gtypistu.
1607 Momentálně jsou k dispozici angličtina, španělština, němčina,
1608 finština a čeština. K použití konkrétní NLS je třeba nastavit
1609 proměnnou prostředí LANG na odpovídající LL_CC kombinaci,
1610 kde LL je dvouznakový kód jazyka podle ISO 639 a CC je dvoupísmenný
1611 znak země podle ISO 3166 (např. es_ES pro Španělsko nebo de_DE
1612 pro Německo). Na některých systémech budete muset asi nastavit
1613 na tu samou hodnotu i proměnnou LANGUAGE.
1614 </p>
1615 <p>Pokud chcete přeložit zprávy do nějakého jiného jazyka, nebo pokud
1616 chcete něco opravit, ozvěte se prosím na
1617 <a href="mailto:[email protected]">[email protected]</a>.
1618 </p>
1619
1620 </dd>
1621 <dt><code>GTYPIST_PATH</code></dt>
1622 <dd><p>Seznam adresářů, kde bude program hledovat skriptovací soubory.
1623 Dodržuje standardní způsob specifikace adresářů, to znamená
1624 seznam adresářů oddělených znaky &rsquo;:&rsquo;. GNU Typist se při spuštění
1625 nejprve pokusí skript spustit z aktuálního adresáře a poté
1626 bude hledat v adresářích specifikovaných proměnnou <code>GTYPIST_PATH</code>.
1627 Nakonec se podívá do adresáře vytvořeného při instalaci.
1628 (Např. <samp>/usr/local/share/gtypist</samp> nebo <samp>/usr/share/gtypist</samp>).
1629 </p>
1630 </dd>
1631 <dt><code>TERM</code></dt>
1632 <dd><p>Tuto proměnnou používá knihovna curses k určení obrazovky.
1633 </p>
1634 </dd>
1635 <dt><code>TERMINFO</code></dt>
1636 <dd><p>Tento parametr budete muset změnit, pokud jsou adresáře s
1637 <code>terminfo</code> rozdílné na systému, kde byl gtypist kompilován
1638 a na systému, kde má fungovat. Například na starších
1639 distribucích Slackware je terminfo umístěno v
1640 <samp>/usr/lib/terminfo</samp>. Na RedHat Linuxu je v
1641 <samp>/usr/share/terminfo</samp>. Pokud si program stěžuje
1642 na typ terminálu a má správně nastavenou hodnotu
1643 <code>TERM</code>, zkuste toto.
1644 </p>
1645 </dd>
1646 </dl>
1647
1648 <hr>
1649 <a name="Chyby-a-opominut_00ed"></a>
1650 <a name="Chyby-a-opominuti"></a>
1651 <h3 class="section">7.2 Chyby a opominutí</h3>
1652
1653 <p>GNU Typist se nijak nesnaží minimalizovat výstup na terminál.
1654 Speciálně blikající kurzor může působit hodně pohybu. Pokud
1655 by to byl problém, použijte kurzor terminálu.
1656 </p>
1657 <p>V rychlostních testech není možné používat backspace a delete
1658 za začátkem nové řádky nebo po klávese TAB. To je kvůli zjednodušení
1659 aktualizace obrazovky.
1660 </p>
1661 <p>Barevné módy zřejmě nepracují dobře s UnixWare. Někdy
1662 nejsou správně zobrazeny převrácené barvy. To se týká některých
1663 typů terminálů a xterminálů.
1664 </p>
1665 <hr>
1666 <a name="Historie"></a>
1667 <a name="Historie-GNU-Typist"></a>
1668 <h2 class="appendix">Appendix A Historie GNU Typist</h2>
1669
1670 <ul>
1671 <li> Původní program byl napsán pro VAX/VMS BASIC někým z Harris
1672 Corp (Ft. Lauderdale, FL).
1673 </li><li> D. Jason Penney <a href="mailto:[email protected]">[email protected]</a> jej přepsal pro Microsoft BASICA
1674 </li><li> D. Jason Penney <a href="mailto:[email protected]">[email protected]</a> jej přepsal pro C s knihovnou curses
1675 </li><li> Simon Baldwin <a href="mailto:[email protected]">[email protected]</a> přepsal verzi D. Jason Penneyho,
1676 jeho vylepšení jsou popsána v souboru NEWS (mezi verzí 2.2 a 2.2b).
1677 On je také držitelem copyrightu na GNU Typist
1678 (gtypist je distribuovaný pod podmínkami GNU GPL).
1679 Simon také napsal verzi Typistu v Javě, kterou původně nazýval
1680 JTypist, ale nyní se jmenuje Typist:
1681 <a href="http://www.geocities.com/simon_baldwin/typist/">http://www.geocities.com/simon_baldwin/typist/</a>
1682 </li><li> Since 1997, Ben Armstrong <a href="mailto:[email protected]">[email protected]</a>
1683 pomohl opravováním chyb a udržování balíčku pro Debian
1684 (podívejte se na
1685 <a href="http://packages.debian.org/gtypist">http://packages.debian.org/gtypist</a>).
1686 </li><li> V roce 2000 se Vladimir Támara <a href="mailto:[email protected]t">[email protected]</a> a
1687 Igor Támara <a href="mailto:[email protected]t">[email protected]</a> stali maintainery verze
1688 v C. Před listopadem 2000 byl GNU Typist spravován jako součást
1689 projektu Structio.
1690 </li><li> Listopad 2000, program byl přijat do GNU! Byl přejmenován na GNU Typist
1691 (také gtypist).
1692 </li><li> V květnu 2001 se stal novým maintainerem
1693 Michael Opdenacker <a href="mailto:[email protected]">[email protected]</a>,
1694 který se také naučil psát na klávesnici s gtypistem.
1695 Vývoj projektu nyní probíhá na
1696 <a href="http://savannah.gnu.org/projects/gtypist/">http://savannah.gnu.org/projects/gtypist/</a>.
1697 </li><li> V červnu 2001 se k projektu připojil
1698 Felix Natter <a href="mailto:[email protected]">[email protected]</a>
1699 a výrazně mu přispěl portováním
1700 lekcí z jiných tutoriálů, vylepšením pomocných utilit,
1701 nových možností tutoriálů a módem pro Emacs.
1702 </li></ul>
1703
1704 <hr>
1705 <a name="Kop_00edrov_00e1n_00ed-tohoto-manu_00e1lu"></a>
1706 <a name="GNU-Free-Documentation-License"></a>
1707 <h2 class="appendix">Appendix B GNU Free Documentation License</h2>
1708 <div align="center">Version 1.2, November 2002
1709 </div>
1710
1711 <div class="display">
1712 <pre class="display">Copyright &copy; 2000,2001,2002 Free Software Foundation, Inc.
1713 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
1714
1715 Everyone is permitted to copy and distribute verbatim copies
1716 of this license document, but changing it is not allowed.
1717 </pre></div>
1718
1719 <ol>
1720 <li> PREAMBLE
1721
1722 <p>The purpose of this License is to make a manual, textbook, or other
1723 functional and useful document <em>free</em> in the sense of freedom: to
1724 assure everyone the effective freedom to copy and redistribute it,
1725 with or without modifying it, either commercially or noncommercially.
1726 Secondarily, this License preserves for the author and publisher a way
1727 to get credit for their work, while not being considered responsible
1728 for modifications made by others.
1729 </p>
1730 <p>This License is a kind of &ldquo;copyleft&rdquo;, which means that derivative
1731 works of the document must themselves be free in the same sense. It
1732 complements the GNU General Public License, which is a copyleft
1733 license designed for free software.
1734 </p>
1735 <p>We have designed this License in order to use it for manuals for free
1736 software, because free software needs free documentation: a free
1737 program should come with manuals providing the same freedoms that the
1738 software does. But this License is not limited to software manuals;
1739 it can be used for any textual work, regardless of subject matter or
1740 whether it is published as a printed book. We recommend this License
1741 principally for works whose purpose is instruction or reference.
1742 </p>
1743 </li><li> APPLICABILITY AND DEFINITIONS
1744
1745 <p>This License applies to any manual or other work, in any medium, that
1746 contains a notice placed by the copyright holder saying it can be
1747 distributed under the terms of this License. Such a notice grants a
1748 world-wide, royalty-free license, unlimited in duration, to use that
1749 work under the conditions stated herein. The &ldquo;Document&rdquo;, below,
1750 refers to any such manual or work. Any member of the public is a
1751 licensee, and is addressed as &ldquo;you&rdquo;. You accept the license if you
1752 copy, modify or distribute the work in a way requiring permission
1753 under copyright law.
1754 </p>
1755 <p>A &ldquo;Modified Version&rdquo; of the Document means any work containing the
1756 Document or a portion of it, either copied verbatim, or with
1757 modifications and/or translated into another language.
1758 </p>
1759 <p>A &ldquo;Secondary Section&rdquo; is a named appendix or a front-matter section
1760 of the Document that deals exclusively with the relationship of the
1761 publishers or authors of the Document to the Document&rsquo;s overall
1762 subject (or to related matters) and contains nothing that could fall
1763 directly within that overall subject. (Thus, if the Document is in
1764 part a textbook of mathematics, a Secondary Section may not explain
1765 any mathematics.) The relationship could be a matter of historical
1766 connection with the subject or with related matters, or of legal,
1767 commercial, philosophical, ethical or political position regarding
1768 them.
1769 </p>
1770 <p>The &ldquo;Invariant Sections&rdquo; are certain Secondary Sections whose titles
1771 are designated, as being those of Invariant Sections, in the notice
1772 that says that the Document is released under this License. If a
1773 section does not fit the above definition of Secondary then it is not
1774 allowed to be designated as Invariant. The Document may contain zero
1775 Invariant Sections. If the Document does not identify any Invariant
1776 Sections then there are none.
1777 </p>
1778 <p>The &ldquo;Cover Texts&rdquo; are certain short passages of text that are listed,
1779 as Front-Cover Texts or Back-Cover Texts, in the notice that says that
1780 the Document is released under this License. A Front-Cover Text may
1781 be at most 5 words, and a Back-Cover Text may be at most 25 words.
1782 </p>
1783 <p>A &ldquo;Transparent&rdquo; copy of the Document means a machine-readable copy,
1784 represented in a format whose specification is available to the
1785 general public, that is suitable for revising the document
1786 straightforwardly with generic text editors or (for images composed of
1787 pixels) generic paint programs or (for drawings) some widely available
1788 drawing editor, and that is suitable for input to text formatters or
1789 for automatic translation to a variety of formats suitable for input
1790 to text formatters. A copy made in an otherwise Transparent file
1791 format whose markup, or absence of markup, has been arranged to thwart
1792 or discourage subsequent modification by readers is not Transparent.
1793 An image format is not Transparent if used for any substantial amount
1794 of text. A copy that is not &ldquo;Transparent&rdquo; is called &ldquo;Opaque&rdquo;.
1795 </p>
1796 <p>Examples of suitable formats for Transparent copies include plain
1797 <small>ASCII</small> without markup, Texinfo input format, LaTeX input
1798 format, <acronym>SGML</acronym> or <acronym>XML</acronym> using a publicly available
1799 <acronym>DTD</acronym>, and standard-conforming simple <acronym>HTML</acronym>,
1800 PostScript or <acronym>PDF</acronym> designed for human modification. Examples
1801 of transparent image formats include <acronym>PNG</acronym>, <acronym>XCF</acronym> and
1802 <acronym>JPG</acronym>. Opaque formats include proprietary formats that can be
1803 read and edited only by proprietary word processors, <acronym>SGML</acronym> or
1804 <acronym>XML</acronym> for which the <acronym>DTD</acronym> and/or processing tools are
1805 not generally available, and the machine-generated <acronym>HTML</acronym>,
1806 PostScript or <acronym>PDF</acronym> produced by some word processors for
1807 output purposes only.
1808 </p>
1809 <p>The &ldquo;Title Page&rdquo; means, for a printed book, the title page itself,
1810 plus such following pages as are needed to hold, legibly, the material
1811 this License requires to appear in the title page. For works in
1812 formats which do not have any title page as such, &ldquo;Title Page&rdquo; means
1813 the text near the most prominent appearance of the work&rsquo;s title,
1814 preceding the beginning of the body of the text.
1815 </p>
1816 <p>A section &ldquo;Entitled XYZ&rdquo; means a named subunit of the Document whose
1817 title either is precisely XYZ or contains XYZ in parentheses following
1818 text that translates XYZ in another language. (Here XYZ stands for a
1819 specific section name mentioned below, such as &ldquo;Acknowledgements&rdquo;,
1820 &ldquo;Dedications&rdquo;, &ldquo;Endorsements&rdquo;, or &ldquo;History&rdquo;.) To &ldquo;Preserve the Title&rdquo;
1821 of such a section when you modify the Document means that it remains a
1822 section &ldquo;Entitled XYZ&rdquo; according to this definition.
1823 </p>
1824 <p>The Document may include Warranty Disclaimers next to the notice which
1825 states that this License applies to the Document. These Warranty
1826 Disclaimers are considered to be included by reference in this
1827 License, but only as regards disclaiming warranties: any other
1828 implication that these Warranty Disclaimers may have is void and has
1829 no effect on the meaning of this License.
1830 </p>
1831 </li><li> VERBATIM COPYING
1832
1833 <p>You may copy and distribute the Document in any medium, either
1834 commercially or noncommercially, provided that this License, the
1835 copyright notices, and the license notice saying this License applies
1836 to the Document are reproduced in all copies, and that you add no other
1837 conditions whatsoever to those of this License. You may not use
1838 technical measures to obstruct or control the reading or further
1839 copying of the copies you make or distribute. However, you may accept
1840 compensation in exchange for copies. If you distribute a large enough
1841 number of copies you must also follow the conditions in section 3.
1842 </p>
1843 <p>You may also lend copies, under the same conditions stated above, and
1844 you may publicly display copies.
1845 </p>
1846 </li><li> COPYING IN QUANTITY
1847
1848 <p>If you publish printed copies (or copies in media that commonly have
1849 printed covers) of the Document, numbering more than 100, and the
1850 Document&rsquo;s license notice requires Cover Texts, you must enclose the
1851 copies in covers that carry, clearly and legibly, all these Cover
1852 Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
1853 the back cover. Both covers must also clearly and legibly identify
1854 you as the publisher of these copies. The front cover must present
1855 the full title with all words of the title equally prominent and
1856 visible. You may add other material on the covers in addition.
1857 Copying with changes limited to the covers, as long as they preserve
1858 the title of the Document and satisfy these conditions, can be treated
1859 as verbatim copying in other respects.
1860 </p>
1861 <p>If the required texts for either cover are too voluminous to fit
1862 legibly, you should put the first ones listed (as many as fit
1863 reasonably) on the actual cover, and continue the rest onto adjacent
1864 pages.
1865 </p>
1866 <p>If you publish or distribute Opaque copies of the Document numbering
1867 more than 100, you must either include a machine-readable Transparent
1868 copy along with each Opaque copy, or state in or with each Opaque copy
1869 a computer-network location from which the general network-using
1870 public has access to download using public-standard network protocols
1871 a complete Transparent copy of the Document, free of added material.
1872 If you use the latter option, you must take reasonably prudent steps,
1873 when you begin distribution of Opaque copies in quantity, to ensure
1874 that this Transparent copy will remain thus accessible at the stated
1875 location until at least one year after the last time you distribute an
1876 Opaque copy (directly or through your agents or retailers) of that
1877 edition to the public.
1878 </p>
1879 <p>It is requested, but not required, that you contact the authors of the
1880 Document well before redistributing any large number of copies, to give
1881 them a chance to provide you with an updated version of the Document.
1882 </p>
1883 </li><li> MODIFICATIONS
1884
1885 <p>You may copy and distribute a Modified Version of the Document under
1886 the conditions of sections 2 and 3 above, provided that you release
1887 the Modified Version under precisely this License, with the Modified
1888 Version filling the role of the Document, thus licensing distribution
1889 and modification of the Modified Version to whoever possesses a copy
1890 of it. In addition, you must do these things in the Modified Version:
1891 </p>
1892 <ol>
1893 <li> Use in the Title Page (and on the covers, if any) a title distinct
1894 from that of the Document, and from those of previous versions
1895 (which should, if there were any, be listed in the History section
1896 of the Document). You may use the same title as a previous version
1897 if the original publisher of that version gives permission.
1898
1899 </li><li> List on the Title Page, as authors, one or more persons or entities
1900 responsible for authorship of the modifications in the Modified
1901 Version, together with at least five of the principal authors of the
1902 Document (all of its principal authors, if it has fewer than five),
1903 unless they release you from this requirement.
1904
1905 </li><li> State on the Title page the name of the publisher of the
1906 Modified Version, as the publisher.
1907
1908 </li><li> Preserve all the copyright notices of the Document.
1909
1910 </li><li> Add an appropriate copyright notice for your modifications
1911 adjacent to the other copyright notices.
1912
1913 </li><li> Include, immediately after the copyright notices, a license notice
1914 giving the public permission to use the Modified Version under the
1915 terms of this License, in the form shown in the Addendum below.
1916
1917 </li><li> Preserve in that license notice the full lists of Invariant Sections
1918 and required Cover Texts given in the Document&rsquo;s license notice.
1919
1920 </li><li> Include an unaltered copy of this License.
1921
1922 </li><li> Preserve the section Entitled &ldquo;History&rdquo;, Preserve its Title, and add
1923 to it an item stating at least the title, year, new authors, and
1924 publisher of the Modified Version as given on the Title Page. If
1925 there is no section Entitled &ldquo;History&rdquo; in the Document, create one
1926 stating the title, year, authors, and publisher of the Document as
1927 given on its Title Page, then add an item describing the Modified
1928 Version as stated in the previous sentence.
1929
1930 </li><li> Preserve the network location, if any, given in the Document for
1931 public access to a Transparent copy of the Document, and likewise
1932 the network locations given in the Document for previous versions
1933 it was based on. These may be placed in the &ldquo;History&rdquo; section.
1934 You may omit a network location for a work that was published at
1935 least four years before the Document itself, or if the original
1936 publisher of the version it refers to gives permission.
1937
1938 </li><li> For any section Entitled &ldquo;Acknowledgements&rdquo; or &ldquo;Dedications&rdquo;, Preserve
1939 the Title of the section, and preserve in the section all the
1940 substance and tone of each of the contributor acknowledgements and/or
1941 dedications given therein.
1942
1943 </li><li> Preserve all the Invariant Sections of the Document,
1944 unaltered in their text and in their titles. Section numbers
1945 or the equivalent are not considered part of the section titles.
1946
1947 </li><li> Delete any section Entitled &ldquo;Endorsements&rdquo;. Such a section
1948 may not be included in the Modified Version.
1949
1950 </li><li> Do not retitle any existing section to be Entitled &ldquo;Endorsements&rdquo; or
1951 to conflict in title with any Invariant Section.
1952
1953 </li><li> Preserve any Warranty Disclaimers.
1954 </li></ol>
1955
1956 <p>If the Modified Version includes new front-matter sections or
1957 appendices that qualify as Secondary Sections and contain no material
1958 copied from the Document, you may at your option designate some or all
1959 of these sections as invariant. To do this, add their titles to the
1960 list of Invariant Sections in the Modified Version&rsquo;s license notice.
1961 These titles must be distinct from any other section titles.
1962 </p>
1963 <p>You may add a section Entitled &ldquo;Endorsements&rdquo;, provided it contains
1964 nothing but endorsements of your Modified Version by various
1965 parties&mdash;for example, statements of peer review or that the text has
1966 been approved by an organization as the authoritative definition of a
1967 standard.
1968 </p>
1969 <p>You may add a passage of up to five words as a Front-Cover Text, and a
1970 passage of up to 25 words as a Back-Cover Text, to the end of the list
1971 of Cover Texts in the Modified Version. Only one passage of
1972 Front-Cover Text and one of Back-Cover Text may be added by (or
1973 through arrangements made by) any one entity. If the Document already
1974 includes a cover text for the same cover, previously added by you or
1975 by arrangement made by the same entity you are acting on behalf of,
1976 you may not add another; but you may replace the old one, on explicit
1977 permission from the previous publisher that added the old one.
1978 </p>
1979 <p>The author(s) and publisher(s) of the Document do not by this License
1980 give permission to use their names for publicity for or to assert or
1981 imply endorsement of any Modified Version.
1982 </p>
1983 </li><li> COMBINING DOCUMENTS
1984
1985 <p>You may combine the Document with other documents released under this
1986 License, under the terms defined in section 4 above for modified
1987 versions, provided that you include in the combination all of the
1988 Invariant Sections of all of the original documents, unmodified, and
1989 list them all as Invariant Sections of your combined work in its
1990 license notice, and that you preserve all their Warranty Disclaimers.
1991 </p>
1992 <p>The combined work need only contain one copy of this License, and
1993 multiple identical Invariant Sections may be replaced with a single
1994 copy. If there are multiple Invariant Sections with the same name but
1995 different contents, make the title of each such section unique by
1996 adding at the end of it, in parentheses, the name of the original
1997 author or publisher of that section if known, or else a unique number.
1998 Make the same adjustment to the section titles in the list of
1999 Invariant Sections in the license notice of the combined work.
2000 </p>
2001 <p>In the combination, you must combine any sections Entitled &ldquo;History&rdquo;
2002 in the various original documents, forming one section Entitled
2003 &ldquo;History&rdquo;; likewise combine any sections Entitled &ldquo;Acknowledgements&rdquo;,
2004 and any sections Entitled &ldquo;Dedications&rdquo;. You must delete all
2005 sections Entitled &ldquo;Endorsements.&rdquo;
2006 </p>
2007 </li><li> COLLECTIONS OF DOCUMENTS
2008
2009 <p>You may make a collection consisting of the Document and other documents
2010 released under this License, and replace the individual copies of this
2011 License in the various documents with a single copy that is included in
2012 the collection, provided that you follow the rules of this License for
2013 verbatim copying of each of the documents in all other respects.
2014 </p>
2015 <p>You may extract a single document from such a collection, and distribute
2016 it individually under this License, provided you insert a copy of this
2017 License into the extracted document, and follow this License in all
2018 other respects regarding verbatim copying of that document.
2019 </p>
2020 </li><li> AGGREGATION WITH INDEPENDENT WORKS
2021
2022 <p>A compilation of the Document or its derivatives with other separate
2023 and independent documents or works, in or on a volume of a storage or
2024 distribution medium, is called an &ldquo;aggregate&rdquo; if the copyright
2025 resulting from the compilation is not used to limit the legal rights
2026 of the compilation&rsquo;s users beyond what the individual works permit.
2027 When the Document is included in an aggregate, this License does not
2028 apply to the other works in the aggregate which are not themselves
2029 derivative works of the Document.
2030 </p>
2031 <p>If the Cover Text requirement of section 3 is applicable to these
2032 copies of the Document, then if the Document is less than one half of
2033 the entire aggregate, the Document&rsquo;s Cover Texts may be placed on
2034 covers that bracket the Document within the aggregate, or the
2035 electronic equivalent of covers if the Document is in electronic form.
2036 Otherwise they must appear on printed covers that bracket the whole
2037 aggregate.
2038 </p>
2039 </li><li> TRANSLATION
2040
2041 <p>Translation is considered a kind of modification, so you may
2042 distribute translations of the Document under the terms of section 4.
2043 Replacing Invariant Sections with translations requires special
2044 permission from their copyright holders, but you may include
2045 translations of some or all Invariant Sections in addition to the
2046 original versions of these Invariant Sections. You may include a
2047 translation of this License, and all the license notices in the
2048 Document, and any Warranty Disclaimers, provided that you also include
2049 the original English version of this License and the original versions
2050 of those notices and disclaimers. In case of a disagreement between
2051 the translation and the original version of this License or a notice
2052 or disclaimer, the original version will prevail.
2053 </p>
2054 <p>If a section in the Document is Entitled &ldquo;Acknowledgements&rdquo;,
2055 &ldquo;Dedications&rdquo;, or &ldquo;History&rdquo;, the requirement (section 4) to Preserve
2056 its Title (section 1) will typically require changing the actual
2057 title.
2058 </p>
2059 </li><li> TERMINATION
2060
2061 <p>You may not copy, modify, sublicense, or distribute the Document except
2062 as expressly provided for under this License. Any other attempt to
2063 copy, modify, sublicense or distribute the Document is void, and will
2064 automatically terminate your rights under this License. However,
2065 parties who have received copies, or rights, from you under this
2066 License will not have their licenses terminated so long as such
2067 parties remain in full compliance.
2068 </p>
2069 </li><li> FUTURE REVISIONS OF THIS LICENSE
2070
2071 <p>The Free Software Foundation may publish new, revised versions
2072 of the GNU Free Documentation License from time to time. Such new
2073 versions will be similar in spirit to the present version, but may
2074 differ in detail to address new problems or concerns. See
2075 <a href="http://www.gnu.org/copyleft/">http://www.gnu.org/copyleft/</a>.
2076 </p>
2077 <p>Each version of the License is given a distinguishing version number.
2078 If the Document specifies that a particular numbered version of this
2079 License &ldquo;or any later version&rdquo; applies to it, you have the option of
2080 following the terms and conditions either of that specified version or
2081 of any later version that has been published (not as a draft) by the
2082 Free Software Foundation. If the Document does not specify a version
2083 number of this License, you may choose any version ever published (not
2084 as a draft) by the Free Software Foundation.
2085 </p></li></ol>
2086
2087 <a name="ADDENDUM_003a-How-to-use-this-License-for-your-documents"></a>
2088 <h3 class="heading">ADDENDUM: How to use this License for your documents</h3>
2089
2090 <p>To use this License in a document you have written, include a copy of
2091 the License in the document and put the following copyright and
2092 license notices just after the title page:
2093 </p>
2094 <div class="smallexample">
2095 <pre class="smallexample"> Copyright (C) <var>year</var> <var>your name</var>.
2096 Permission is granted to copy, distribute and/or modify this document
2097 under the terms of the GNU Free Documentation License, Version 1.2
2098 or any later version published by the Free Software Foundation;
2099 with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
2100 Texts. A copy of the license is included in the section entitled ``GNU
2101 Free Documentation License''.
2102 </pre></div>
2103
2104 <p>If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
2105 replace the &ldquo;with&hellip;Texts.&rdquo; line with this:
2106 </p>
2107 <div class="smallexample">
2108 <pre class="smallexample"> with the Invariant Sections being <var>list their titles</var>, with
2109 the Front-Cover Texts being <var>list</var>, and with the Back-Cover Texts
2110 being <var>list</var>.
2111 </pre></div>
2112
2113 <p>If you have Invariant Sections without Cover Texts, or some other
2114 combination of the three, merge those two alternatives to suit the
2115 situation.
2116 </p>
2117 <p>If your document contains nontrivial examples of program code, we
2118 recommend releasing these examples in parallel under your choice of
2119 free software license, such as the GNU General Public License,
2120 to permit their use in free software.
2121 </p>
2122
2123 <hr>
2124
2125
2126
2127 </body>
2128 </html>