From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EucWK-0002Lh-33 for garchives@archives.gentoo.org; Thu, 05 Jan 2006 21:19:40 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k05LJSjS022760; Thu, 5 Jan 2006 21:19:28 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k05LJQNT019159 for ; Thu, 5 Jan 2006 21:19:27 GMT Message-Id: <200601052119.k05LJQNT019159@robin.gentoo.org> Received: from lark.gentoo.osuosl.org ([140.211.166.177] helo=lark.gentoo.org) by smtp.gentoo.org with smtp (Exim 4.54) id 1EucW6-00059h-Rw for gentoo-doc-cvs@lists.gentoo.org; Thu, 05 Jan 2006 21:19:26 +0000 Received: by lark.gentoo.org (sSMTP sendmail emulation); Thu, 5 Jan 2006 21:19:26 +0000 From: "Jan Kundrat" Date: Thu, 5 Jan 2006 21:19:26 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: nano-basics-guide.xml Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: 3e2692c8-8b2c-465b-a8ac-f0cc3df2ac12 X-Archives-Hash: fb0a372888062d46d09cc6dd92c38318 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 @@ - + @@ -51,8 +51,8 @@

-Nano is a modeless editor so you can start typing immediately to insert text. -If you are editing a configuration file like /etc/fstab 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 /etc/fstab use the -w switch, for example:

@@ -62,7 +62,8 @@ 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. @@ -72,11 +73,11 @@

-If you want to save the changes you've made, press Ctrl+O. To exit -nano, type Ctrl+X. If you ask nano to exit from a modified file, -it will ask you if you want to save it. Just press N in case you don't, -or Y in case you do. It will then ask you for a filename. Just type it -in and press Enter. +If you want to save the changes you've made, press Ctrl+O. To exit nano, +type Ctrl+X. If you ask nano to exit from a modified file, it will ask +you if you want to save it. Just press N in case you don't, or Y +in case you do. It will then ask you for a filename. Just type it in and press +Enter.

@@ -92,21 +93,21 @@

-To cut a single line, you use Ctrl+K (hold down Ctrl and -then press K). The line disappears. To paste it, you simply -move the cursor to where you want to paste it and punch Ctrl+U. -The line reappears. To move multiple lines, simply cut them with several -Ctrl+Ks in a row, then paste them with a single Ctrl+U. -The whole paragraph appears wherever you want it. +To cut a single line, you use Ctrl+K (hold down Ctrl and then +press K). The line disappears. To paste it, you simply move the cursor +to where you want to paste it and punch Ctrl+U. The line reappears. To +move multiple lines, simply cut them with several Ctrl+Ks in a row, then +paste them with a single Ctrl+U. The whole paragraph appears wherever you +want it.

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 Ctrl+6 +Move the cursor to the beginning of the text you want to cut. Hit Ctrl+6 (or Alt+A). 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 Ctrl+6 again. Press Ctrl+K to cut the marked text. -Use Ctrl+U to paste it. +simply hit Ctrl+6 again. Press Ctrl+K to cut the marked text. Use +Ctrl+U to paste it.

@@ -122,10 +123,9 @@

-In nano's help texts the Ctrl-key is represented by a caret (^), -so Ctrl+W is shown as ^W, and so on. The Alt-key is -represented by an M (from "Meta"), so Alt+W is shown as -M-W. +In nano's help texts the Ctrl-key is represented by a caret (^), so +Ctrl+W is shown as ^W, and so on. The Alt-key is represented by +an M (from "Meta"), so Alt+W is shown as M-W. @@ -135,8 +135,7 @@

-If you're interested in tweaking nano, be sure to read -/etc/nanorc. +If you're interested in tweaking nano, be sure to read /etc/nanorc.

-- gentoo-doc-cvs@gentoo.org mailing list