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 1Esjf9-0008Qp-Ga for garchives@archives.gentoo.org; Sat, 31 Dec 2005 16:32:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBVGWpeK031033; Sat, 31 Dec 2005 16:32:52 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 jBVGWpkv000839 for ; Sat, 31 Dec 2005 16:32:51 GMT Message-Id: <200512311632.jBVGWpkv000839@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 1Esjf0-0003AU-Gg for gentoo-doc-cvs@lists.gentoo.org; Sat, 31 Dec 2005 16:32:50 +0000 Received: by lark.gentoo.org (sSMTP sendmail emulation); Sat, 31 Dec 2005 16:32:50 +0000 From: "Xavier Neys" Date: Sat, 31 Dec 2005 16:32:50 +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: 4fbb0be0-6e04-49db-8270-cbb444ac89af X-Archives-Hash: 2aebc263e2e44f6d5ccb93b6a2a42450 neysx 05/12/31 16:32:50 Modified: xml/htdocs/doc/en nano-basics-guide.xml Log: #117080 Fixed inconsistent representation of Ctrl-key Revision Changes Path 1.18 +24 -18 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.18&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.18&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.17&r2=1.18&cvsroot=gentoo Index: nano-basics-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/nano-basics-guide.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- nano-basics-guide.xml 13 Sep 2005 12:00:00 -0000 1.17 +++ nano-basics-guide.xml 31 Dec 2005 16:32:50 -0000 1.18 @@ -1,5 +1,5 @@ - + @@ -62,7 +62,7 @@ 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 other bad things. +file. Failure to do so may keep your system from booting or cause other bad things. @@ -73,14 +73,14 @@

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 a modified file, +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 accidentally confirmed that you want to save the file, but you actually +If you accidentally confirmed that you want to save the file but you actually don't, you can always cancel by pressing Ctrl+C when you're prompted for a filename.

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

-To cut a single line line you use ^K. You simply hold down CTRL -and k at the same time. The line disappears. To paste it you simply -move the cursor to where you want to paste and punch ^U (CTRL u) -on your keyboard. BAM! The line reappears. Suppose you need to move a whole -paragraph. To move multiple lines simply cut each line one at a time, and then -paste. BAM! 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 need to mark the text. -Move the cursor to the beginning of the text you want to cut. Hit ^^ -(that's ctrl ^ or ctrl 6). Now move your cursor to the end of -the text you want to cut. The desired text should be highlighted now. If need -to cancel your text marking simply hit ^^ again. Click ^K to cut -the text. Use ^U to paste it. BAM! Now that's cooking. +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 +(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.

@@ -117,10 +117,16 @@

Searching for a string is easy as long as you think "WhereIs" instead of -"Search". Simple hit ^W (CTRL w) and type in your search -string. Like I said, easy. +"Search". Simply hit Ctrl+W, type in your search string, and +press Enter. To search for the same string again, hit Alt+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. + +
-- gentoo-doc-cvs@gentoo.org mailing list