diff --git a/doc/faq.html b/doc/faq.html index 781bf149..cccbcaee 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -45,7 +45,7 @@

4.1. Alt+Up does nothing on a Linux console. How can I make it scroll?
4.2. How can I make Ctrl+Shift+Left/Right select words on urxvt?
- 4.3. Ack! My numeric keypad's keys don't work properly when NumLock is off! What can I do?
+ 4.3. How do I remove an unwanted Byte Order Mark?
4.4. With what keystroke can I paste text from the clipboard into nano?
4.5. How do I select text for or paste text from the clipboard when nano's mouse support is turned on?
4.6. When I paste text into a document, each line gets indented further than the last. Why? And how can I stop this?
@@ -219,8 +219,9 @@ URxvt.keysym.S-Page_Up: \033[5;2~ URxvt.keysym.S-Page_Down: \033[6;2~

Then run xrdb ~/.Xresources and restart your urxvt terminal. Now Ctrl+Shift+Left and Ctrl+Shift+Right will select words, Alt+Up and Alt+Down will scroll the text without moving the cursor, and several such things more.

-

4.3. Ack! My numeric keypad's keys don't work properly when NumLock is off! What can I do?

-

You can use the -K or --rawsequences option on the command line, or add the line set rawsequences to your .nanorc. However, nano's mouse support will be disabled if you do any of these things.

+

4.3. How do I remove an unwanted Byte Order Mark?

+

To check whether a file contains a Byte Order Mark (BOM), open the file and type Ctrl+Home. If there is a BOM, the status bar will tell you so. Now type Delete to remove the BOM, and ^S to save the file.

+

If you've accidentally deleted a Byte Order Mark from a file that needs it, and you want to restore it, then type: Ctrl+Home Alt+V feff Enter. Verify that the BOM is back with Ctrl+Home, and save the file with ^S. (Note that on Unix, files should not contain a BOM.)

4.4. With what keystroke can I paste text from the clipboard into nano?

In most desktop environments Shift+Insert pastes the contents of the clipboard.

4.5. How do I select text for or paste text from the clipboard when nano's mouse support is turned on?