summaryrefslogtreecommitdiffstats
path: root/doc/ksysv/index.docbook
blob: 4d5dbda5a716d493a53199fab715382482823245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" 
"dtd/kdex.dtd" [
  <!ENTITY kappname "&ksysv;">
  <!ENTITY package "tdeadmin">
  <!ENTITY % addindex "IGNORE">
  <!ENTITY % English "INCLUDE" > <!-- change language only here -->
]>

<book lang="&language;">
<bookinfo>
<title>The &ksysv; Handbook</title>
<authorgroup>
<author>
<firstname>Peter</firstname>
<surname>Putzer</surname>
<affiliation>
<address><email>[email protected]</email></address>
</affiliation>
</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>

<date>2001-03-21</date>
<releaseinfo>1.03.06</releaseinfo>

<copyright>
<year>1998</year>
<year>2000</year>
<year>2001</year>
<holder>Peter Putzer</holder>
</copyright>

<legalnotice>&FDLNotice;</legalnotice>

<abstract>
<para>&ksysv; is a graphical editor for the SysV style init
configuration.</para>
</abstract>

<keywordset>
<keyword>KDE</keyword>
<keyword>KSysV</keyword>
<keyword>Runlevel</keyword>
<keyword>Runlevel editor</keyword>
<keyword>System V init</keyword>
</keywordset>
</bookinfo>

<chapter id="Introduction">
<title>Introduction</title>

<para>
Welcome to the &kde; System V Init Editor, commonly known (and hereafter
referenced) as &ksysv;. This section introduces a few concepts and explains what
you can do with &ksysv;.
</para>

</chapter>

<chapter id="what-is-sysv-init">
<title>A Brief Description of System V Init</title>

<para>
The following explanation is <quote>borrowed</quote> from
<application>tksysv</application> (an inspiration for &ksysv;):
</para>

<para>
System V init is fast becoming the standard in the &Linux; world to
control the startup of software at boot time. This is because it is
arguably easier to use and more powerful and flexible than the
traditional <acronym>BSD</acronym> init.
</para>

<para>
I won't go into the history here (mainly because I don't know it :-).
</para>

<para>
The init binary is located in <filename class="directory">/sbin</filename> and
not <filename class="directory">/etc</filename>. This is important as one might
try and upgrade a machine to System V init without re-installing and
reformatting. The &Linux; kernel looks in <filename
class="directory">/etc</filename> for its init first, so you must make sure and
delete your old init from there if any.
</para>

<para>SysV init also differs from <acronym>BSD</acronym> init in that
the config files are in a subfolder of <filename
class="directory">/etc</filename> instead of residing directly in
<filename class="directory">/etc</filename>. This folder is called
<filename class="directory">rc.d</filename>. In there you will find
<filename>rc.sysinit</filename> and the following folders:
</para>

<itemizedlist>
<listitem>
<para>
<filename class="directory">init.d/</filename>
</para>
</listitem>
<listitem>
<para>
<filename class="directory">rc0.d/</filename>
</para>
</listitem>
<listitem>
<para>
<filename class="directory">rc1.d/</filename>
</para>
</listitem>
<listitem>
<para>
<filename class="directory">rc2.d/</filename>
</para>
</listitem>
<listitem>
<para>
<filename class="directory">rc3.d/</filename>
</para>
</listitem>
<listitem>
<para>
<filename class="directory">rc4.d/</filename>
</para>
</listitem>
<listitem>
<para>
<filename class="directory">rc5.d/</filename>
</para>
</listitem>
<listitem>
<para>
<filename class="directory">rc6.d</filename>
</para>
</listitem>
</itemizedlist>

<para>
<filename class="directory">init.d</filename> contains a bunch of
scripts. Basically, you need one script for each service you may need to
start at boot time or when entering another runlevel. Services include
things like networking, <acronym>NFS</acronym>, &Sendmail;, httpd,&etc;
Services do not include things like <command>setserial</command> that
must only be run once and then exited.  Things like that should go in
the file <filename>rc.local</filename>.
</para>

<para>
<filename>rc.local</filename> should be in <filename
class="directory">/etc/rc.d</filename> if you want one. Most systems
include one even though it doesn't do much. You can also include an
<filename>rc.serial</filename> in <filename
class="directory">/etc/rc.d</filename> if you need to do serial port
specific things at boot time.
</para>

<para>The chain of events is as follows: </para>

<orderedlist>
<listitem>
<para>
The kernel looks in several places for init and runs the first one it
finds.
</para> 
</listitem>
<listitem>
<para>
init runs <filename>/etc/rc.d/rc.sysinit</filename>.
</para>
</listitem>
<listitem>
<para>
<filename>rc.sysinit</filename> does a bunch of necessary things and then runs
<filename>rc.serial</filename> (if it exists)
</para>
</listitem>
<listitem>
<para>
init runs <filename>rc.local</filename>
</para>
</listitem>
<listitem>
<para>
init runs all the scripts for the default runlevel
</para>
</listitem>
</orderedlist>


<para>
The default runlevel is decided in
<filename>/etc/inittab</filename>. You should have a line close to the
top like:
</para>

<screen>id:3:initdefault:</screen>

<para>
From this, you'd look in the second column and see that the default
runlevel is 3, as should be the case for most systems. If you want to
change it, you can edit <filename>/etc/inittab</filename> by hand and
change the 3. Be very careful when you are messing with the inittab. If
you do mess up, you can get in to fix it by rebooting and doing:
</para>

<screen><computeroutput>LILO boot:</computeroutput> <userinput>linux single</userinput></screen>

<para>
This <emphasis>should</emphasis> allow you to boot into single user mode
so you can fix it.  </para>

<para>
Now, how does it run all the right scripts? If you do an
<userinput><command>ls</command> <option>-l</option></userinput> on
<filename class="directory">rc3.d</filename>, you might see something
like:
</para>


<screen>lrwxrwxrwx 1 root root 13 13:11 S10network -&gt; ../init.d/network 
lrwxrwxrwx 1 root root 16 13:11 S30syslog -&gt; ../init.d/syslog 
lrwxrwxrwx 1 root root 14 13:32 S40cron -&gt; ../init.d/cron
lrwxrwxrwx 1 root root 14 13:11 S50inet -&gt; ../init.d/inet
lrwxrwxrwx 1 root root 13 13:11 S60nfs -&gt; ../init.d/nfs
lrwxrwxrwx 1 root root 15 13:11 S70nfsfs -&gt; ../init.d/nfsfs
lrwxrwxrwx 1 root root 18 13:11 S75keytable -&gt; ../init.d/keytable
lrwxrwxrwx 1 root root 23 13:11 S80sendmail -&gt; ../init.d/sendmail.init
lrwxrwxrwx 1 root root 18 13:11 S90lpd -&gt; ../init.d/lpd.init
lrwxrwxrwx 1 root root 11 13:11 S99local -&gt; ../rc.local</screen>

<para>
What you'll notice is that there are no real files in the folder.
Everything there is a link to one of the scripts in the <filename
class="directory">init.d</filename> folder.
</para>

<para>
The links also have an <literal>S</literal> and a number at the
beginning. The <literal>S</literal> means to start this particular
script and a <literal>K</literal> would mean to stop it. The number is
just there for ordering purposes. Init will start all the services based
on the order they appear. You can duplicate numbers, but it will only
confuse you somewhat. You just need to use a two digit number only,
along with an upper case <literal>S</literal> or <literal>K</literal> to
start or stop the services you need to.
</para>

<para>
How does it start and stop services? Simple. Each of the scripts is
written to accept an argument which can be <option>start</option> and
<option>stop</option>. You can execute those scripts by hand in fact
with a command like:
</para>

<screen><userinput><command>/etc/rc.d/init.d/httpd.init</command> <option>stop</option></userinput></screen>

<para>
To stop the httpd server. Init just reads the name and if it has a
<literal>K</literal>, it calls the script with the <option>stop</option>
argument. If it has an <option>S</option> it calls the script with a
<option>start</option> argument.  </para>


<sect1 id="why-all-the-runlevels">
<title>Why All These Runlevels ?</title>

<para>
Some people want an easy way to setup machines to be multi-purpose. I
could have a <quote>server</quote> runlevel that just runs httpd,
sendmail, networking, &etc; Then I could have a <quote>user</quote>
runlevel that runs <application>tdm</application>, networking, &etc;
</para>

</sect1>

</chapter>

<chapter id="onscreen-fundamentals">
<title>Onscreen Fundamentals</title>

<para>
Here you learn how to use &ksysv;, which shouldn't be hard since it was
designed to be as user-friendly as possible.
</para>

<sect1 id="mouse">
<title>Mouse</title>

<para>
Using &ksysv; with a mouse or other pointing device is easy: just drag
an entry from the <guilabel> Available Services</guilabel> area onto one
of the six runlevels to start (or resp. stop) it in that runlevel.
</para>

<para>
You can also move scripts between runlevels, or change the position in a
given runlevel, by dragging it around. Doing so removes the entry from
its original runlevel (or position). This doesn't happen when you drag
an entry from the <guilabel>Available Services</guilabel> area.
</para>

<note>
<para>
Entries are moved when you drag them to a new area. To copy a service to
a different runlevel, you have to select <guimenuitem>Copy</guimenuitem>
from the <guimenu>Edit</guimenu> or context menu and
<guimenuitem>Paste</guimenuitem> it in the target runlevel.
</para>
</note>

<para>
The <quote>sorting number</quote> of an entry sometimes cannot be
calculated.  In such a case you have to edit the sorting numbers of
surrounding entries before re-trying to insert the service.
</para>

<note>
<para>
Sorting numbers can range from 00 to 99, but no higher.
</para>
</note>

<para>
You can delete entries by dragging them onto the <guiicon>Trash
Can</guiicon> area (symbolized by an icon depicting a garbage bin).
</para>

<warning>
<para>
Currently there is <emphasis>no</emphasis> way to recover items dragged
onto the <guiicon>Trash Can</guiicon>, so be careful!
</para>
</warning>

</sect1>

<sect1 id="keyboard">
<title>Keyboard</title>

<para>
You can use the <keycap>Tab</keycap> key to switch focus between
different panels (<guilabel>Available Services</guilabel>,
<guilabel>Runlevel 1 Start</guilabel>, <guilabel>Runlevel 1
Stop</guilabel>, &etc;) and the cursor keys to move the selection up and
down.
</para>

<para>
To move an entry to a different runlevel, <guimenuitem>Cut</guimenuitem>
it to the clipboard (using <keycombo action="simul">&Ctrl;
<keycap>X</keycap></keycombo> and <guimenuitem>Paste</guimenuitem> it in
the target runlevel (with <keycombo action="simul">&Ctrl;
<keycap>V</keycap></keycombo>).
</para>

<para>
To manually change an entries sorting number or name, press
<keycap>Enter</keycap> to open the properties dialog. Use the
<keycap>Tab</keycap> key to switch between different fields. Close the
dialog by pressing <keycap>Enter</keycap> to accept the modifications,
or press <keycap>Esc</keycap> to cancel any changes.
</para>

</sect1>

<sect1 id="the-menu-entries">
<title>The Menu Entries</title>

<para>
A one by one description of &ksysv;'s menu.
</para>

<sect2>
<title>The <guimenu>File</guimenu> menu</title>

<para>
Because of the danger of data loss, all menu entries under
<guimenu>File</guimenu> ask for confirmation before doing their work.
</para>

<variablelist>
<varlistentry>
<term>
<menuchoice>
<guimenu>File</guimenu>
<guimenuitem>Revert Configuration...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
Forget any changes you have made, and revert to the last saved configuration.
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl; <keycap>O</keycap></keycombo>
</shortcut>
<guimenu>File</guimenu>
<guimenuitem>Open...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Open a previously saved configuration.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl; <keycap>S</keycap></keycombo>
</shortcut>
<guimenu>File</guimenu>
<guimenuitem>Save Configuration</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Make your changes permanent.</action>  Saving does not generate any
backup files, so use with care.
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<guimenu>File</guimenu>
<guimenuitem>Save As...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Save a copy of your new configuration.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl; <keycap>L</keycap></keycombo>
</shortcut>
<guimenu>File</guimenu>
<guimenuitem>Save Log...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Save a log</action> <!-- FIXME: find out what the log is of.  Assume -->
<!-- changes made, but best check -->
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl; <keycap>P</keycap></keycombo>
</shortcut>
<guimenu>File</guimenu>
<guimenuitem>Print Log...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Print a copy of the log.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl; <keycap>Q</keycap></keycombo>
</shortcut>
<guimenu>File</guimenu>
<guimenuitem>Quit</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Quit</action> &ksysv;.
</para>
</listitem>
</varlistentry>
</variablelist>

</sect2>

<sect2>
<title>The <guimenu>Edit</guimenu> menu</title>

<variablelist>
<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl; <keycap>Z</keycap></keycombo>
</shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Undo</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Undo the last unsaved change made.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl; <keycap>Shift</keycap>
<keycap>Z</keycap></keycombo>
</shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Redo</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Redo the last item undone.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl; <keycap>X</keycap></keycombo>
</shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Cut</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Cut the currently selected service to the clipboard.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl; <keycap>C</keycap></keycombo>
</shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Copy</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Copy the selected entry to the clipboard, without removing it from its
original position.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl; <keycap>V</keycap></keycombo>
</shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Paste</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Paste the content of the clipboard at the current cursor
position.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<guimenu>Edit</guimenu>
<guimenuitem>Properties</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Open the properties dialog for the selected item.</action>
</para>
</listitem>
</varlistentry>
</variablelist>

</sect2>

<sect2>
<title>The <guimenu>Tools</guimenu> menu</title>

<variablelist>
<varlistentry>
<term>
<menuchoice>
<guimenu>Tools</guimenu>
<guimenuitem>Start Service...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Start the selected service</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<guimenu>Tools</guimenu>
<guimenuitem>Stop Service...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Stop the selected service</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<guimenu>Tools</guimenu>
<guimenuitem>Restart Service...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Restart the selected service.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<guimenu>Tools</guimenu>
<guimenuitem>Edit Service...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Edit the selected service</action><!-- FIXME: Add some more "meat" to 
-->
<!-- this one! -->
</para>
</listitem>
</varlistentry>
</variablelist>

</sect2>

<sect2>
<title>The <guimenu>Settings</guimenu> menu</title>

<variablelist>
<varlistentry>
<term>
<menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Show Toolbar</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Toggle on and off display of the toolbar.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Show Statusbar</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Toggle on and off display of the statusbar.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Show Log</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Toggle on and off the display of the log window</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Save Settings</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Save your current settings.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Configure Key bindings...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Customize the default keybindings.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Configure Toolbars...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Customize the toolbar.</action>
</para>
</listitem>
</varlistentry>

<varlistentry>
<term>
<menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Configure SysV-Init Editor...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Customize the behavior</action> of &ksysv;
</para>
</listitem>
</varlistentry>
</variablelist>

</sect2>

<sect2>
<title>The <guimenu>Help</guimenu> menu</title>

&help.menu.documentation;

</sect2>

</sect1>

</chapter>

<chapter id="Configuration">
<title>Configuration</title>

<para>
All options are saved in
<filename>$<envar>TDEHOME</envar>/share/config/ksysvrc</filename>. Defaults
are taken from the global file
(<filename>$<envar>TDEDIR</envar>/share/config/ksysvrc</filename>), if
available, or else generated within &ksysv;. Changes to the defaults
are stored in your local <filename>ksysvrc</filename>.
</para>

<sect1 id="recognized-sections">
<title>Recognized Sections</title>

<para>
Recognized sections and keys plus their default values.
</para>

<sect2>
<title>&lsqb;Path Settings&rsqb;</title>

<segmentedlist>
<segtitle>Keyword</segtitle>
<segtitle>Default</segtitle>
<segtitle>Description</segtitle>
<seglistitem>
<seg>ScriptPath</seg>
<seg><filename class="directory">/etc/rc.d/init.d</filename></seg>
<seg>Path to the scripts used for starting and stopping services.</seg>
</seglistitem>

<seglistitem>
<seg>RunlevelPath</seg>
<seg><filename class="directory">/etc/rc.d</filename></seg>
<seg>Path to the runlevel subfolders.</seg>
</seglistitem>

</segmentedlist>

</sect2>

<sect2>
<title>&lsqb;Colors&rsqb;</title>


<segmentedlist>
<segtitle>Keyword</segtitle>
<segtitle>Default</segtitle>
<segtitle>Description</segtitle>
<seglistitem>
<seg>Changed</seg>
<seg>red</seg>
<seg>Color used for changed entries</seg>
</seglistitem>

<seglistitem>
<seg>New</seg>
<seg>blue</seg>
<seg>Color used for new entries</seg>
</seglistitem>

</segmentedlist>

</sect2>

<sect2>
<title>&lsqb;Geometry&rsqb;</title>

<segmentedlist>
<segtitle>Keyword</segtitle>
<segtitle>Default</segtitle>
<segtitle>Description</segtitle>
<seglistitem>
<seg>Width</seg>
<seg></seg>
<seg>Width of &ksysv;'s window</seg>
</seglistitem>

<seglistitem>
<seg>Height</seg>
<seg></seg>
<seg>Height of &ksysv;'s</seg>
</seglistitem>
</segmentedlist>

</sect2>

<sect2>
<title>&lsqb;Other Settings&rsqb;</title>

<segmentedlist>
<segtitle>Keyword</segtitle>
<segtitle>Default</segtitle>
<segtitle>Description</segtitle>
<seglistitem>
<seg>ToolBar</seg>
<seg>true</seg>
<seg>If the toolbar is enabled or not</seg>
</seglistitem>

<seglistitem>
<seg>StatusBar</seg>
<seg>true</seg>
<seg>If the statusbar is enabled or not</seg>
</seglistitem>

<seglistitem>
<seg>ShowLog</seg>
<seg>true</seg>
<seg>If the log window is shown or not</seg>
</seglistitem>

<seglistitem>
<seg>PanningFactor</seg>
<seg>80</seg>
<seg>100 - PanningFactor = percentage of window reserved for the logfile
display</seg>
</seglistitem>
</segmentedlist>

</sect2>

</sect1>

</chapter>

<chapter id="questions-and-answers">
<title>Questions and Answers</title>

<qandaset>
<qandaentry>
<question>
<para>
I played around with the default runlevel, and now my machine reboots
all the time. What can I do?
</para>
</question>
<answer>
<para>
Enter <userinput>linux single</userinput> at the
<acronym>LILO</acronym> prompt, and press <keycap>Enter</keycap> to
boot into single user mode.  Edit the file
<filename>/etc/inittab</filename> and change to the default runlevel
to something sane. <literal>3</literal> should normally be safe.
</para>
</answer>
</qandaentry>

<qandaentry>
<question>
<para>
My Machine <quote>halts</quote> just after booting
</para>
</question>
<answer>
<para>
See Question 1, above.
</para>
</answer>
</qandaentry>

<qandaentry>
<question>
<para>
I scheduled some services to be run in runlevel X using &ksysv;, so why
aren't they working?
</para>
</question>

<answer>
<para>
If you're using SuSE or Delix (DLD) distributions, you also have to edit
a distribution specific file in <filename
class="directory">/etc</filename>.  Please have a look at the manual of
your distribution for details.
</para>
<para>
<note>
<para>
The approach to starting services used by the above mentioned
distributions makes configuration of services easy for the proprietary
configuration tools these distributions provide, but it is unfortunately
non-standard.  The &ksysv; authors plan to write a generic extension for
this approach some time in the future, but don't hold your breath.
</para>
</note>
</para>
<para>
If you're using a different distribution, please check you have all the
config files needed by the service, and whether they are in the correct
locations.  Some daemons for example <application>Apache</application>,
(<acronym>aka</acronym> <command>httpd</command>) just die silently if
their configuration files are missing or misconfigured.
</para>
</answer>
</qandaentry>

</qandaset>

</chapter>

<chapter id="standard-runlevels">
<title>Standard semantics of Runlevels</title>

<para>
These vary by distribution, so this is an incomplete list of the most
common &Linux; distributions.  If you have additional distributions,
please email the author and have the information added to this manual.
</para>

<variablelist>
<varlistentry>
<term>&RedHat;</term>
<listitem>
<variablelist>
<varlistentry>
<term>Runlevel 0:</term>
<listitem>
<para>
halt (shuts down the machine)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Runlevel 1:</term>
<listitem>
<para>
Single user mode.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Runlevel 2:</term>
<listitem>
<para>
Multi user text only, without <acronym>NFS</acronym>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Runlevel 3:</term>
<listitem>
<para>
Multi user text-only, with full networking.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Runlevel 4:</term>
<listitem>
<para>
Not used.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Runlevel 5:</term>
<listitem>
<para>
Multi user X11 with full networking.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Runlevel 6:</term>
<listitem>
<para>
Reboot
</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
</variablelist>

</chapter>

<chapter id="credits">
<title>License and Credits</title>
<para>&ksysv;  Copyright &copy; 1997-1998 Peter Putzer</para>

<itemizedlist>
<listitem>
<para>
Peter Putzer, <email>[email protected]</email> - Developer
</para>
</listitem>
</itemizedlist>

<para>
Documentation:
</para>

<itemizedlist>
<listitem>
<para>Peter Putzer, <email>[email protected]</email> - Original content </para>
</listitem>
<listitem><para>Eric Bischoff, <email>[email protected]</email> - Editor
</para>
</listitem>
</itemizedlist>
<!-- TRANS:CREDIT_FOR_TRANSLATORS -->
 
&underFDL;
&underGPL;

</chapter>

<appendix id="installation">
<title>Installation</title>

&install.intro.documentation;
&install.compile.documentation;
</appendix>

</book>