1 |
neysx 05/12/31 16:32:50 |
2 |
|
3 |
Modified: xml/htdocs/doc/en nano-basics-guide.xml |
4 |
Log: |
5 |
#117080 Fixed inconsistent representation of Ctrl-key |
6 |
|
7 |
Revision Changes Path |
8 |
1.18 +24 -18 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.18&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.18&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.17&r2=1.18&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.17 |
18 |
retrieving revision 1.18 |
19 |
diff -u -r1.17 -r1.18 |
20 |
--- nano-basics-guide.xml 13 Sep 2005 12:00:00 -0000 1.17 |
21 |
+++ nano-basics-guide.xml 31 Dec 2005 16:32:50 -0000 1.18 |
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.17 2005/09/13 12:00:00 rane Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nano-basics-guide.xml,v 1.18 2005/12/31 16:32:50 neysx Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide link="/doc/en/nano-basics-guide.xml"> |
29 |
@@ -62,7 +62,7 @@ |
30 |
|
31 |
<warn> |
32 |
It is very, very important that you use the -w switch when opening a config |
33 |
-file. Failure to do so may keep your system from booting or other bad things. |
34 |
+file. Failure to do so may keep your system from booting or cause other bad things. |
35 |
</warn> |
36 |
|
37 |
</body> |
38 |
@@ -73,14 +73,14 @@ |
39 |
|
40 |
<p> |
41 |
If you want to save the changes you've made, press <c>Ctrl+O</c>. To exit |
42 |
-<c>nano</c>, type <c>Ctrl+X</c>. If you ask <c>nano</c> to exit a modified file, |
43 |
+nano, type <c>Ctrl+X</c>. If you ask nano to exit from a modified file, |
44 |
it will ask you if you want to save it. Just press <c>N</c> in case you don't, |
45 |
or <c>Y</c> in case you do. It will then ask you for a filename. Just type it |
46 |
in and press <c>Enter</c>. |
47 |
</p> |
48 |
|
49 |
<p> |
50 |
-If you accidentally confirmed that you want to save the file, but you actually |
51 |
+If you accidentally confirmed that you want to save the file but you actually |
52 |
don't, you can always cancel by pressing <c>Ctrl+C</c> when you're prompted for |
53 |
a filename. |
54 |
</p> |
55 |
@@ -92,21 +92,21 @@ |
56 |
<body> |
57 |
|
58 |
<p> |
59 |
-To cut a single line line you use <c>^K</c>. You simply hold down <c>CTRL</c> |
60 |
-and <c>k</c> at the same time. The line disappears. To paste it you simply |
61 |
-move the cursor to where you want to paste and punch <c>^U</c> (<c>CTRL u</c>) |
62 |
-on your keyboard. BAM! The line reappears. Suppose you need to move a whole |
63 |
-paragraph. To move multiple lines simply cut each line one at a time, and then |
64 |
-paste. BAM! The whole paragraph appears wherever you want it. |
65 |
+To cut a single line, you use <c>Ctrl+K</c> (hold down <c>Ctrl</c> and |
66 |
+then press <c>K</c>). The line disappears. To paste it, you simply |
67 |
+move the cursor to where you want to paste it and punch <c>Ctrl+U</c>. |
68 |
+The line reappears. To move multiple lines, simply cut them with several |
69 |
+<c>Ctrl+K</c>s in a row, then paste them with a single <c>Ctrl+U</c>. |
70 |
+The whole paragraph appears wherever you want it. |
71 |
</p> |
72 |
|
73 |
<p> |
74 |
-If you need a little more fine grained control then you need to mark the text. |
75 |
-Move the cursor to the beginning of the text you want to cut. Hit <c>^^</c> |
76 |
-(that's <c>ctrl ^</c> or <c>ctrl 6</c>). Now move your cursor to the end of |
77 |
-the text you want to cut. The desired text should be highlighted now. If need |
78 |
-to cancel your text marking simply hit <c>^^</c> again. Click <c>^K</c> to cut |
79 |
-the text. Use <c>^U</c> to paste it. BAM! Now that's cooking. |
80 |
+If you need a little more fine-grained control, then you have to mark the text. |
81 |
+Move the cursor to the beginning of the text you want to cut. Hit <c>Ctrl+6</c> |
82 |
+(or <c>Alt+A</c>). Now move your cursor to the end of the text you want to cut: |
83 |
+the marked text gets highlighted. If you need to cancel your text marking, |
84 |
+simply hit <c>Ctrl+6</c> again. Press <c>Ctrl+K</c> to cut the marked text. |
85 |
+Use <c>Ctrl+U</c> to paste it. |
86 |
</p> |
87 |
|
88 |
</body> |
89 |
@@ -117,10 +117,16 @@ |
90 |
|
91 |
<p> |
92 |
Searching for a string is easy as long as you think <e>"WhereIs"</e> instead of |
93 |
-<e>"Search"</e>. Simple hit <c>^W</c> (<c>CTRL w</c>) and type in your search |
94 |
-string. Like I said, easy. |
95 |
+<e>"Search"</e>. Simply hit <c>Ctrl+W</c>, type in your search string, and |
96 |
+press <c>Enter</c>. To search for the same string again, hit <c>Alt+W</c>. |
97 |
</p> |
98 |
|
99 |
+<note> |
100 |
+In nano's help texts the Ctrl-key is represented by a caret (^), |
101 |
+so <c>Ctrl+W</c> is shown as <c>^W</c>, and so on. The Alt-key is |
102 |
+represented by an M (from "Meta"), so <c>Alt+W</c> is shown as <c>M-W</c>. |
103 |
+</note> |
104 |
+ |
105 |
</body> |
106 |
</section> |
107 |
<section> |
108 |
|
109 |
|
110 |
|
111 |
-- |
112 |
gentoo-doc-cvs@g.o mailing list |