wok diff nano/stuff/nano.patch @ rev 25438
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 01 11:12:31 2022 +0000 (2022-09-01) |
parents | f9a21d0369a2 |
children |
line diff
1.1 --- a/nano/stuff/nano.patch Wed Mar 25 16:00:27 2015 +0200 1.2 +++ b/nano/stuff/nano.patch Thu Sep 01 11:12:31 2022 +0000 1.3 @@ -1,9 +1,9 @@ 1.4 --- ./etc/nanorc 1.5 +++ ./etc/nanorc 1.6 @@ -1,10 +1,6 @@ 1.7 --## Sample initialization file for GNU nano. 1.8 -+## /etc/nanorc: system-wide initialization file for GNU nano 1.9 -+## ~/.nanorc for personal config file. 1.10 +-## Sample initialization file for nano. 1.11 ++## /etc/nanorc: system-wide initialization file for nano. 1.12 ++## ~/.nanorc: personal config file. 1.13 ## 1.14 -## Please note that you must have configured nano with --enable-nanorc 1.15 -## for this file to be read! Also note that this file should not be in 1.16 @@ -13,16 +13,16 @@ 1.17 ## To make sure an option is disabled, use "unset <option>". 1.18 ## 1.19 ## For the options that take parameters, the default value is given. 1.20 -@@ -57,7 +53,7 @@ 1.21 +@@ -58,7 +54,7 @@ 1.22 # set fill -8 1.23 1.24 - ## Enable ~/.nano_history for saving and reading search/replace strings. 1.25 + ## Remember the used search/replace strings for the next session. 1.26 -# set historylog 1.27 +set historylog 1.28 1.29 - ## Enable vim-style lock-files. This is just to let a vim user know you 1.30 - ## are editing a file [s]he is trying to edit and vice versa. There are 1.31 -@@ -76,7 +72,7 @@ 1.32 + ## Make the justify command kill whitespace at the end of lines. 1.33 + # set justifytrim 1.34 +@@ -80,7 +76,7 @@ 1.35 ## mouse clicks can be used to place the cursor, set the mark (with a 1.36 ## double click), and execute shortcuts. The mouse will work in the X 1.37 ## Window System, and on the console when gpm is running. 1.38 @@ -31,7 +31,7 @@ 1.39 1.40 ## Switch on multiple file buffers (inserting a file will put it into 1.41 ## a separate buffer). 1.42 -@@ -157,7 +153,7 @@ 1.43 +@@ -159,7 +155,7 @@ 1.44 # set suspend 1.45 1.46 ## Use this tab size instead of the default; it must be greater than 0. 1.47 @@ -40,9 +40,9 @@ 1.48 1.49 ## Convert typed tabs to spaces. 1.50 # set tabstospaces 1.51 -@@ -245,3 +241,136 @@ 1.52 +@@ -249,3 +245,151 @@ 1.53 1.54 - ## Set this if your backspace key sends Del most of the time. 1.55 + ## Set this if your Backspace key sends Del most of the time. 1.56 # bind Del backspace all 1.57 + 1.58 + 1.59 @@ -50,6 +50,9 @@ 1.60 +## Assembler 1.61 +# include "/usr/share/nano/asm.nanorc" 1.62 + 1.63 ++## Autoconf 1.64 ++# include "/usr/share/nano/autoconf.nanorc" 1.65 ++ 1.66 +## AWK 1.67 +# include "/usr/share/nano/awk.nanorc" 1.68 + 1.69 @@ -71,6 +74,9 @@ 1.70 +## Default 1.71 +include "/usr/share/nano/default.nanorc" 1.72 + 1.73 ++## Emacs Lisp 1.74 ++# include "/usr/share/nano/elisp.nanorc" 1.75 ++ 1.76 +## Fortran 90/95 1.77 +# include "/usr/share/nano/fortran.nanorc" 1.78 + 1.79 @@ -83,6 +89,9 @@ 1.80 +## Groff 1.81 +# include "/usr/share/nano/groff.nanorc" 1.82 + 1.83 ++## Guile Scheme 1.84 ++# include "/usr/share/nano/guile.nanorc" 1.85 ++ 1.86 +## HTML 1.87 +# include "/usr/share/nano/html.nanorc" 1.88 + 1.89 @@ -102,7 +111,7 @@ 1.90 +include "/usr/share/nano/makefile.nanorc" 1.91 + 1.92 +## Manpages 1.93 -+# include "/usr/share/nano/man.nanorc" 1.94 ++include "/usr/share/nano/man.nanorc" 1.95 + 1.96 +## Magicpoint presentations 1.97 +# include "/usr/share/nano/mgp.nanorc" 1.98 @@ -113,6 +122,9 @@ 1.99 +## Nanorc files 1.100 +include "/usr/share/nano/nanorc.nanorc" 1.101 + 1.102 ++## nftables 1.103 ++# include "/usr/share/nano/nftables.nanorc" 1.104 ++ 1.105 +## C/C++/Obj-C 1.106 +# include "/usr/share/nano/objc.nanorc" 1.107 + 1.108 @@ -131,6 +143,9 @@ 1.109 +## PO files 1.110 +include "/usr/share/nano/po.nanorc" 1.111 + 1.112 ++## PostgreSQL 1.113 ++# include "/usr/share/nano/postgresql.nanorc" 1.114 ++ 1.115 +## POV-Ray 1.116 +# include "/usr/share/nano/pov.nanorc" 1.117 + 1.118 @@ -187,4 +202,4 @@ 1.119 +syntax "sh" "\.sh$" "receipt" 1.120 header "^#!.*((ba|da|k|pdk)?sh[-0-9_]*|openrc-run|runscript)" 1.121 magic "(POSIX|Bourne.*) shell script text" 1.122 - 1.123 + linter dash -n