From: "Jan Kundrat" <jkt@lark.gentoo.org>
To: gentoo-doc-cvs@lists.gentoo.org
Subject: [gentoo-doc-cvs] cvs commit: nano-basics-guide.xml
Date: Thu, 5 Jan 2006 21:19:26 +0000 [thread overview]
Message-ID: <200601052119.k05LJQNT019159@robin.gentoo.org> (raw)
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>
--
gentoo-doc-cvs@gentoo.org mailing list
next reply other threads:[~2006-01-05 21:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-05 21:19 Jan Kundrat [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-05-19 20:48 [gentoo-doc-cvs] cvs commit: nano-basics-guide.xml Sven Vermeulen
2006-01-29 19:03 Jan Kundrat
2006-01-05 21:21 Jan Kundrat
2006-01-05 21:08 Jan Kundrat
2005-12-31 16:33 Xavier Neys
2005-12-31 16:32 Xavier Neys
2005-09-13 12:00 Lukasz Damentko
2005-08-03 22:20 Xavier Neys
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200601052119.k05LJQNT019159@robin.gentoo.org \
--to=jkt@lark.gentoo.org \
--cc=docs-team@lists.gentoo.org \
--cc=gentoo-doc-cvs@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox