Date: Wed, 24 Jul 2013 23:55:31 +0000 (UTC) From: Warren Block <wblock@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r42427 - head/en_US.ISO8859-1/books/fdp-primer/editor-config Message-ID: <201307242355.r6ONtVTa064936@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wblock Date: Wed Jul 24 23:55:30 2013 New Revision: 42427 URL: http://svnweb.freebsd.org/changeset/doc/42427 Log: Whitespace-only fixes. Translators, please ignore. Modified: head/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml Modified: head/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml Wed Jul 24 23:52:05 2013 (r42426) +++ head/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml Wed Jul 24 23:55:30 2013 (r42427) @@ -85,16 +85,17 @@ augroup END</programlisting> <filename role="package">editors/nano-devel</filename>.</para> <sect2 id="editor-config-nano-config"> - <title>Configuration</title> + <title>Configuration</title> <para>Copy the sample <acronym>XML</acronym> syntax highlight file to the user's home directory:</para> - <screen>&prompt.user; <userinput>cp /usr/local/share/nano/xml.nanorc ~/.nanorc</userinput></screen> + <screen>&prompt.user; <userinput>cp /usr/local/share/nano/xml.nanorc ~/.nanorc</userinput></screen> - <para>Add these lines to the new <filename>~/.nanorc</filename>.</para> + <para>Add these lines to the new + <filename>~/.nanorc</filename>.</para> - <programlisting># trailing whitespace + <programlisting># trailing whitespace color ,blue "[[:space:]]+$" # multiples of eight spaces at the start a line # (after zero or more tabs) should be a tab @@ -106,26 +107,29 @@ color ,red "^(([ ]{2})+|(TAB+))*[ ]{1}[^ # lines longer than 70 characters color ,yellow "^(.{71})|(TAB.{63})|(TAB{2}.{55})|(TAB{3}.{47}).+$"</programlisting> - <para>Process the file to create embedded tabs:</para> + <para>Process the file to create embedded tabs:</para> - <screen>&prompt.user; <userinput>perl -i'' -pe 's/TAB/\t/g' ~/.nanorc</userinput></screen> + <screen>&prompt.user; <userinput>perl -i'' -pe 's/TAB/\t/g' ~/.nanorc</userinput></screen> </sect2> + <sect2 id="editor-config-nano-use"> <title>Use</title> - <para>Specify additional helpful options when running the - editor:</para> - <screen>&prompt.user; <userinput>nano -AKipwz -r 70 -T8 <replaceable>chapter.xml</replaceable></userinput></screen> + <para>Specify additional helpful options when running the + editor:</para> + + <screen>&prompt.user; <userinput>nano -AKipwz -r 70 -T8 <replaceable>chapter.xml</replaceable></userinput></screen> - <para>Users of &man.csh.1; can define an alias in - <filename>~/.cshrc</filename> to automate these options:</para> + <para>Users of &man.csh.1; can define an alias in + <filename>~/.cshrc</filename> to automate these + options:</para> - <programlisting>alias nano "nano -AKipwz -r 70 -T8"</programlisting> + <programlisting>alias nano "nano -AKipwz -r 70 -T8"</programlisting> - <para>After the alias is defined, the options will be added - automatically:</para> + <para>After the alias is defined, the options will be added + automatically:</para> - <screen>&prompt.user; <userinput>nano <replaceable>chapter.xml</replaceable></userinput></screen> + <screen>&prompt.user; <userinput>nano <replaceable>chapter.xml</replaceable></userinput></screen> </sect2> </sect1> </chapter>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307242355.r6ONtVTa064936>