jkt 06/01/05 21:19:26 Modified: xml/htdocs/doc/en nano-basics-guide.xml Log: coding style fixes - word wrapping, *no content change*
Revision Changes Path 1.21 +23 -24 xml/htdocs/doc/en/nano-basics-guide.xml 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 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 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 Index: nano-basics-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/nano-basics-guide.xml,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- nano-basics-guide.xml 5 Jan 2006 21:08:19 -0000 1.20 +++ nano-basics-guide.xml 5 Jan 2006 21:19:26 -0000 1.21 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nano-basics-guide.xml,v 1.20 2006/01/05 21:08:19 jkt Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nano-basics-guide.xml,v 1.21 2006/01/05 21:19:26 jkt Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/nano-basics-guide.xml"> @@ -51,8 +51,8 @@ </pre> <p> -Nano is a modeless editor so you can start typing immediately to insert text. -If you are editing a configuration file like <path>/etc/fstab</path> use the -w +Nano is a modeless editor so you can start typing immediately to insert text. If +you are editing a configuration file like <path>/etc/fstab</path> use the -w switch, for example: </p> @@ -62,7 +62,8 @@ <warn> It is very, very important that you use the -w switch when opening a config -file. Failure to do so may keep your system from booting or cause other bad things. +file. Failure to do so may keep your system from booting or cause other bad +things. </warn> </body> @@ -72,11 +73,11 @@ <body> <p> -If you want to save the changes you've made, press <c>Ctrl+O</c>. To exit -nano, type <c>Ctrl+X</c>. If you ask nano to exit from a modified file, -it will ask you if you want to save it. Just press <c>N</c> in case you don't, -or <c>Y</c> in case you do. It will then ask you for a filename. Just type it -in and press <c>Enter</c>. +If you want to save the changes you've made, press <c>Ctrl+O</c>. To exit nano, +type <c>Ctrl+X</c>. If you ask nano to exit from a modified file, it will ask +you if you want to save it. Just press <c>N</c> in case you don't, or <c>Y</c> +in case you do. It will then ask you for a filename. Just type it in and press +<c>Enter</c>. </p> <p> @@ -92,21 +93,21 @@ <body> <p> -To cut a single line, you use <c>Ctrl+K</c> (hold down <c>Ctrl</c> and -then press <c>K</c>). The line disappears. To paste it, you simply -move the cursor to where you want to paste it and punch <c>Ctrl+U</c>. -The line reappears. To move multiple lines, simply cut them with several -<c>Ctrl+K</c>s in a row, then paste them with a single <c>Ctrl+U</c>. -The whole paragraph appears wherever you want it. +To cut a single line, you use <c>Ctrl+K</c> (hold down <c>Ctrl</c> and then +press <c>K</c>). The line disappears. To paste it, you simply move the cursor +to where you want to paste it and punch <c>Ctrl+U</c>. The line reappears. To +move multiple lines, simply cut them with several <c>Ctrl+K</c>s in a row, then +paste them with a single <c>Ctrl+U</c>. The whole paragraph appears wherever you +want it. </p> <p> If you need a little more fine-grained control, then you have to mark the text. -Move the cursor to the beginning of the text you want to cut. Hit <c>Ctrl+6</c> +Move the cursor to the beginning of the text you want to cut. Hit <c>Ctrl+6</c> (or <c>Alt+A</c>). Now move your cursor to the end of the text you want to cut: the marked text gets highlighted. If you need to cancel your text marking, -simply hit <c>Ctrl+6</c> again. Press <c>Ctrl+K</c> to cut the marked text. -Use <c>Ctrl+U</c> to paste it. +simply hit <c>Ctrl+6</c> again. Press <c>Ctrl+K</c> to cut the marked text. Use +<c>Ctrl+U</c> to paste it. </p> </body> @@ -122,10 +123,9 @@ </p> <note> -In nano's help texts the Ctrl-key is represented by a caret (<c>^</c>), -so <c>Ctrl+W</c> is shown as <c>^W</c>, and so on. The Alt-key is -represented by an <c>M</c> (from "Meta"), so <c>Alt+W</c> is shown as -<c>M-W</c>. +In nano's help texts the Ctrl-key is represented by a caret (<c>^</c>), so +<c>Ctrl+W</c> is shown as <c>^W</c>, and so on. The Alt-key is represented by +an <c>M</c> (from "Meta"), so <c>Alt+W</c> is shown as <c>M-W</c>. </note> </body> @@ -135,8 +135,7 @@ <body> <p> -If you're interested in tweaking nano, be sure to read -<path>/etc/nanorc</path>. +If you're interested in tweaking nano, be sure to read <path>/etc/nanorc</path>. </p> </body> -- [email protected] mailing list
