Skip to content

Commit fbe043f

Browse files
author
Git for Windows Build Agent
committed
Update 1 package
nano (8.3-1 -> 8.4-1) Signed-off-by: Git for Windows Build Agent <[email protected]>
1 parent ebaabad commit fbe043f

File tree

68 files changed

+38
-31
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+38
-31
lines changed

etc/nanorc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
## as the line number to go to in that file.
5555
# set colonparsing
5656

57-
## Constantly display the cursor position in the status bar or minibar.
57+
## Constantly report the cursor position, in the status bar or minibar.
5858
# set constantshow
5959

6060
## Use cut-from-cursor-to-end-of-line by default.
@@ -133,7 +133,7 @@
133133
# set preserve
134134

135135
## The characters treated as closing punctuation when justifying paragraphs.
136-
## This may not contain blank characters. Only these closing punctuations,
136+
## This may not contain blank characters. Only these terminating characters,
137137
## optionally followed by closing brackets, can end sentences.
138138
# set punct "!.?"
139139

@@ -224,9 +224,9 @@ set promptcolor lightwhite,grey
224224
set statuscolor bold,white,green
225225
set errorcolor bold,white,red
226226
set spotlightcolor black,lightyellow
227-
set selectedcolor lightwhite,magenta
227+
set selectedcolor lightwhite,#804
228228
set stripecolor ,#444
229-
set scrollercolor cyan
229+
set scrollercolor slate,#222
230230
set numbercolor cyan
231231
set keycolor cyan
232232
set functioncolor green

usr/bin/nano.exe

-36 Bytes
Binary file not shown.

usr/bin/rnano.exe

-36 Bytes
Binary file not shown.

usr/share/doc/nano/faq.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ <h3><a href="#4">4. Running</a></h3>
4545
<blockquote><p>
4646
<a href="#4.1">4.1. Alt+Up does nothing on a Linux console. How can I make it scroll?</a><br>
4747
<a href="#4.2">4.2. How can I make Ctrl+Shift+Left/Right select words on urxvt?</a><br>
48-
<a href="#4.3">4.3. Ack! My numeric keypad's keys don't work properly when NumLock is off! What can I do?</a><br>
48+
<a href="#4.3">4.3. How do I remove an unwanted Byte Order Mark?</a><br>
4949
<a href="#4.4">4.4. With what keystroke can I paste text from the clipboard into nano?</a><br>
5050
<a href="#4.5">4.5. How do I select text for or paste text from the clipboard when nano's mouse support is turned on?</a><br>
5151
<a href="#4.6">4.6. When I paste text into a document, each line gets indented further than the last. Why? And how can I stop this?</a><br>
5252
<a href="#4.7">4.7. When I paste from Windows into a remote nano, nano rewraps the lines. What gives?</a><br>
5353
<a href="#4.8">4.8. I've compiled nano with color support, but I don't see any color when I run it!</a><br>
54-
<a href="#4.9">4.9. How do I make nano my default editor (in Pine, mutt, etc.)?</a><br>
54+
<a href="#4.9">4.9. How do I make nano my default editor (in Pine, mutt, git, ...)?</a><br>
5555
</p></blockquote>
5656
<h3><a href="#5">5. Internationalization</a></h3>
5757
<blockquote><p>
@@ -92,7 +92,7 @@ <h3 id="1.2">1.2. What is the history behind nano?</h3>
9292
<h3 id="1.3">1.3. Why the name change from TIP?</h3>
9393
<blockquote><p>On January 10, 2000, TIP was officially renamed to nano because of a namespace conflict with another program called 'tip'. The original 'tip' program &quot;establishes a full duplex terminal connection to a remote host&quot;, and was included with many older Unix systems (and newer ones like Solaris). The conflict was not noticed at first because there is no 'tip' utility included with most GNU/Linux distributions (where nano was developed).</p></blockquote>
9494
<h3 id="1.4">1.4. What is the current version of nano?</h3>
95-
<blockquote><p>The current version of nano <i>should</i> be <b>8.3</b>. Of course, you should always check the <a href="https://nano-editor.org/">nano homepage</a> to see what the latest and greatest version is.</p></blockquote>
95+
<blockquote><p>The current version of nano <i>should</i> be <b>8.4</b>. Of course, you should always check the <a href="https://nano-editor.org/">nano homepage</a> to see what the latest and greatest version is.</p></blockquote>
9696
<h3 id="1.5">1.5. I want to read the man page without having to download the program!</h3>
9797
<blockquote><p>Jeez, demanding, aren't we? Okay, look <a href="https://nano-editor.org/dist/latest/nano.1.html">here</a>.</p></blockquote>
9898
<hr width="100%">
@@ -219,8 +219,9 @@ <h3 id="4.2">4.2. How can I make Ctrl+Shift+Left/Right select words on urxvt?</h
219219
URxvt.keysym.S-Page_Up: \033[5;2~
220220
URxvt.keysym.S-Page_Down: \033[6;2~</pre>
221221
<p>Then run <b>xrdb ~/.Xresources</b> and restart your urxvt terminal. Now <b>Ctrl+Shift+Left</b> and <b>Ctrl+Shift+Right</b> will select words, <b>Alt+Up</b> and <b>Alt+Down</b> will scroll the text without moving the cursor, and several such things more.</p></blockquote>
222-
<h3 id="4.3">4.3. Ack! My numeric keypad's keys don't work properly when NumLock is off! What can I do?</h3>
223-
<blockquote><p>You can use the <b>-K</b> or <b>--rawsequences</b> option on the command line, or add the line <b>set rawsequences</b> to your .nanorc. However, nano's mouse support will be disabled if you do any of these things.</p></blockquote>
222+
<h3 id="4.3">4.3. How do I remove an unwanted Byte Order Mark?</h3>
223+
<blockquote><p>To check whether a file contains a Byte Order Mark (BOM), open the file and type <b>Ctrl+Home</b>. If there is a BOM, the status bar will tell you so. Now type <b>Delete</b> to remove the BOM, and <b>^S</b> to save the file.</p>
224+
<p>If you've accidentally deleted a Byte Order Mark from a file that needs it, and you want to restore it, then type: <b>Ctrl+Home Alt+V feff Enter</b>. Verify that the BOM is back with <b>Ctrl+Home</b>, and save the file with <b>^S</b>. (Note that on Unix, files should not contain a BOM.)</p></blockquote>
224225
<h3 id="4.4">4.4. With what keystroke can I paste text from the clipboard into nano?</h3>
225226
<blockquote><p>In most desktop environments <b>Shift+Insert</b> pastes the contents of the clipboard.</p></blockquote>
226227
<h3 id="4.5">4.5. How do I select text for or paste text from the clipboard when nano's mouse support is turned on?</h3>
@@ -233,19 +234,20 @@ <h3 id="4.7">4.7. When I paste from Windows into a remote nano, nano rewraps the
233234
<p><i>Update:</i> Since version 4.8, nano ignores linefeed characters in a paste (when your terminal understands <a href="https://en.wikipedia.org/wiki/Bracketed-paste">bracketed pastes</a>), so you no longer need the above workaround.</p></blockquote>
234235
<h3 id="4.8">4.8. I've compiled nano with color support, but I don't see any color when I run it!</h3>
235236
<blockquote><p>If you want nano to actually use color, you have to specify the color configurations you want it to use in your .nanorc. Several example configurations are in the <b>syntax/</b> subdirectory of the nano source, which are normally installed to <b>/usr/local/share/nano/</b>. To enable all of them, uncomment the line <b># include "/usr/local/share/nano/*.nanorc"</b> in your nanorc. See also section <a href="#3.9">3.9</a>.</p></blockquote>
236-
<h3 id="4.9">4.9. How do I make nano my default editor (in Pine, mutt, etc.)?</h3>
237+
<h3 id="4.9">4.9. How do I make nano my default editor (in Pine, mutt, git, ...)?</h3>
237238
<blockquote><p>You need to make nano your $EDITOR. If you want this to be saved, you should put a line like this in your <b>.bashrc</b> if you use bash (or <b>.zshrc</b> if you believe in zsh):</p>
238239
<p class="indented"><b>export EDITOR=/usr/local/bin/nano</b></p>
239-
<p>or, if you use tcsh, put this in your <b>.cshrc</b> file:</p>
240-
<p class="indented"><b>setenv EDITOR /usr/local/bin/nano</b></p>
241240
<p>Change /usr/local/bin/nano to wherever nano is installed on your system. Type &quot;which nano&quot; to find out. This will not take effect until the next time you log in. So log out and back in again.</p>
242241
<p>Then, on top of that, if you use Pine, you must go into setup (type <b>S</b> at the main menu), and then configure (type <b>C</b>). Hit Enter on the lines that say:</p>
243242
<p class="indented"><b>[ ] enable-alternate-editor-cmd</b><br>
244243
<b>[ ] enable-alternate-editor-implicitly</b></p>
245244
<p>Then exit (<b>E</b>) and select Yes (<b>Y</b>).</p>
246245
<p>If you're a mutt user, you should see an effect immediately the next time you log in. No further configuration is needed. However, if you want to let people know you use nano to compose your email messages, you can put a line like this in your <b>.muttrc</b>:</p>
247246
<p class="indented"><b>my_hdr X-Composer: nano-x.y</b></p>
248-
<p>Again, replace x.y with the version of nano you use.</p></blockquote>
247+
<p>Again, replace x.y with the version of nano you use.</p>
248+
<p>To use nano to edit your git commit messages, you can run:</p>
249+
<p class="indented"><b>git config --global core.editor "nano --guide=74 --nohelp +1"</b></p>
250+
<p>Note the <b>+1</b> at the end — it makes nano start always at the top of the edit window. The guidestripe helps you keep the text within a reasonable width.</blockquote>
249251
<hr width="100%">
250252

251253
<h1 id="5">5. Internationalization</h1>

usr/share/doc/nano/nano.html

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

usr/share/info/nano.info.gz

-1 Bytes
Binary file not shown.
-236 Bytes
Binary file not shown.
161 Bytes
Binary file not shown.
1.51 KB
Binary file not shown.
-239 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)