1 |
jkt 06/01/05 21:19:26 |
2 |
|
3 |
Modified: xml/htdocs/doc/en nano-basics-guide.xml |
4 |
Log: |
5 |
coding style fixes - word wrapping, *no content change* |
6 |
|
7 |
Revision Changes Path |
8 |
1.21 +23 -24 xml/htdocs/doc/en/nano-basics-guide.xml |
9 |
|
10 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/nano-basics-guide.xml?rev=1.21&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
11 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/nano-basics-guide.xml?rev=1.21&content-type=text/plain&cvsroot=gentoo |
12 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/nano-basics-guide.xml.diff?r1=1.20&r2=1.21&cvsroot=gentoo |
13 |
|
14 |
Index: nano-basics-guide.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/nano-basics-guide.xml,v |
17 |
retrieving revision 1.20 |
18 |
retrieving revision 1.21 |
19 |
diff -u -r1.20 -r1.21 |
20 |
--- nano-basics-guide.xml 5 Jan 2006 21:08:19 -0000 1.20 |
21 |
+++ nano-basics-guide.xml 5 Jan 2006 21:19:26 -0000 1.21 |
22 |
@@ -1,5 +1,5 @@ |
23 |
<?xml version='1.0' encoding="UTF-8"?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nano-basics-guide.xml,v 1.20 2006/01/05 21:08:19 jkt Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nano-basics-guide.xml,v 1.21 2006/01/05 21:19:26 jkt Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide link="/doc/en/nano-basics-guide.xml"> |
29 |
@@ -51,8 +51,8 @@ |
30 |
</pre> |
31 |
|
32 |
<p> |
33 |
-Nano is a modeless editor so you can start typing immediately to insert text. |
34 |
-If you are editing a configuration file like <path>/etc/fstab</path> use the -w |
35 |
+Nano is a modeless editor so you can start typing immediately to insert text. If |
36 |
+you are editing a configuration file like <path>/etc/fstab</path> use the -w |
37 |
switch, for example: |
38 |
</p> |
39 |
|
40 |
@@ -62,7 +62,8 @@ |
41 |
|
42 |
<warn> |
43 |
It is very, very important that you use the -w switch when opening a config |
44 |
-file. Failure to do so may keep your system from booting or cause other bad things. |
45 |
+file. Failure to do so may keep your system from booting or cause other bad |
46 |
+things. |
47 |
</warn> |
48 |
|
49 |
</body> |
50 |
@@ -72,11 +73,11 @@ |
51 |
<body> |
52 |
|
53 |
<p> |
54 |
-If you want to save the changes you've made, press <c>Ctrl+O</c>. To exit |
55 |
-nano, type <c>Ctrl+X</c>. If you ask nano to exit from a modified file, |
56 |
-it will ask you if you want to save it. Just press <c>N</c> in case you don't, |
57 |
-or <c>Y</c> in case you do. It will then ask you for a filename. Just type it |
58 |
-in and press <c>Enter</c>. |
59 |
+If you want to save the changes you've made, press <c>Ctrl+O</c>. To exit nano, |
60 |
+type <c>Ctrl+X</c>. If you ask nano to exit from a modified file, it will ask |
61 |
+you if you want to save it. Just press <c>N</c> in case you don't, or <c>Y</c> |
62 |
+in case you do. It will then ask you for a filename. Just type it in and press |
63 |
+<c>Enter</c>. |
64 |
</p> |
65 |
|
66 |
<p> |
67 |
@@ -92,21 +93,21 @@ |
68 |
<body> |
69 |
|
70 |
<p> |
71 |
-To cut a single line, you use <c>Ctrl+K</c> (hold down <c>Ctrl</c> and |
72 |
-then press <c>K</c>). The line disappears. To paste it, you simply |
73 |
-move the cursor to where you want to paste it and punch <c>Ctrl+U</c>. |
74 |
-The line reappears. To move multiple lines, simply cut them with several |
75 |
-<c>Ctrl+K</c>s in a row, then paste them with a single <c>Ctrl+U</c>. |
76 |
-The whole paragraph appears wherever you want it. |
77 |
+To cut a single line, you use <c>Ctrl+K</c> (hold down <c>Ctrl</c> and then |
78 |
+press <c>K</c>). The line disappears. To paste it, you simply move the cursor |
79 |
+to where you want to paste it and punch <c>Ctrl+U</c>. The line reappears. To |
80 |
+move multiple lines, simply cut them with several <c>Ctrl+K</c>s in a row, then |
81 |
+paste them with a single <c>Ctrl+U</c>. The whole paragraph appears wherever you |
82 |
+want it. |
83 |
</p> |
84 |
|
85 |
<p> |
86 |
If you need a little more fine-grained control, then you have to mark the text. |
87 |
-Move the cursor to the beginning of the text you want to cut. Hit <c>Ctrl+6</c> |
88 |
+Move the cursor to the beginning of the text you want to cut. Hit <c>Ctrl+6</c> |
89 |
(or <c>Alt+A</c>). Now move your cursor to the end of the text you want to cut: |
90 |
the marked text gets highlighted. If you need to cancel your text marking, |
91 |
-simply hit <c>Ctrl+6</c> again. Press <c>Ctrl+K</c> to cut the marked text. |
92 |
-Use <c>Ctrl+U</c> to paste it. |
93 |
+simply hit <c>Ctrl+6</c> again. Press <c>Ctrl+K</c> to cut the marked text. Use |
94 |
+<c>Ctrl+U</c> to paste it. |
95 |
</p> |
96 |
|
97 |
</body> |
98 |
@@ -122,10 +123,9 @@ |
99 |
</p> |
100 |
|
101 |
<note> |
102 |
-In nano's help texts the Ctrl-key is represented by a caret (<c>^</c>), |
103 |
-so <c>Ctrl+W</c> is shown as <c>^W</c>, and so on. The Alt-key is |
104 |
-represented by an <c>M</c> (from "Meta"), so <c>Alt+W</c> is shown as |
105 |
-<c>M-W</c>. |
106 |
+In nano's help texts the Ctrl-key is represented by a caret (<c>^</c>), so |
107 |
+<c>Ctrl+W</c> is shown as <c>^W</c>, and so on. The Alt-key is represented by |
108 |
+an <c>M</c> (from "Meta"), so <c>Alt+W</c> is shown as <c>M-W</c>. |
109 |
</note> |
110 |
|
111 |
</body> |
112 |
@@ -135,8 +135,7 @@ |
113 |
<body> |
114 |
|
115 |
<p> |
116 |
-If you're interested in tweaking nano, be sure to read |
117 |
-<path>/etc/nanorc</path>. |
118 |
+If you're interested in tweaking nano, be sure to read <path>/etc/nanorc</path>. |
119 |
</p> |
120 |
|
121 |
</body> |
122 |
|
123 |
|
124 |
|
125 |
-- |
126 |
gentoo-doc-cvs@g.o mailing list |