wok diff nano/stuff/nano.patch @ rev 19064
Add: Warenhaus Typenhebel Font. An imitation of an old type writer.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Apr 21 00:25:41 2016 -0300 (2016-04-21) |
parents | |
children | 80053dcc1c1d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nano/stuff/nano.patch Thu Apr 21 00:25:41 2016 -0300 1.3 @@ -0,0 +1,190 @@ 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 + ## 1.11 +-## Please note that you must have configured nano with --enable-nanorc 1.12 +-## for this file to be read! Also note that this file should not be in 1.13 +-## DOS or Mac format, and that characters specially interpreted by the 1.14 +-## shell should not be escaped here. 1.15 +-## 1.16 + ## To make sure an option is disabled, use "unset <option>". 1.17 + ## 1.18 + ## For the options that take parameters, the default value is given. 1.19 +@@ -57,7 +53,7 @@ 1.20 + # set fill -8 1.21 + 1.22 + ## Enable ~/.nano_history for saving and reading search/replace strings. 1.23 +-# set historylog 1.24 ++set historylog 1.25 + 1.26 + ## Enable vim-style lock-files. This is just to let a vim user know you 1.27 + ## are editing a file [s]he is trying to edit and vice versa. There are 1.28 +@@ -76,7 +72,7 @@ 1.29 + ## mouse clicks can be used to place the cursor, set the mark (with a 1.30 + ## double click), and execute shortcuts. The mouse will work in the X 1.31 + ## Window System, and on the console when gpm is running. 1.32 +-# set mouse 1.33 ++set mouse 1.34 + 1.35 + ## Switch on multiple file buffers (inserting a file will put it into 1.36 + ## a separate buffer). 1.37 +@@ -157,7 +153,7 @@ 1.38 + # set suspend 1.39 + 1.40 + ## Use this tab size instead of the default; it must be greater than 0. 1.41 +-# set tabsize 8 1.42 ++set tabsize 4 1.43 + 1.44 + ## Convert typed tabs to spaces. 1.45 + # set tabstospaces 1.46 +@@ -245,3 +241,136 @@ 1.47 + 1.48 + ## Set this if your backspace key sends Del most of the time. 1.49 + # bind Del backspace all 1.50 ++ 1.51 ++ 1.52 ++ 1.53 ++## Assembler 1.54 ++# include "/usr/share/nano/asm.nanorc" 1.55 ++ 1.56 ++## AWK 1.57 ++# include "/usr/share/nano/awk.nanorc" 1.58 ++ 1.59 ++## C/C++ 1.60 ++include "/usr/share/nano/c.nanorc" 1.61 ++ 1.62 ++## Changelogs 1.63 ++# include "/usr/share/nano/changelog.nanorc" 1.64 ++ 1.65 ++## CMake 1.66 ++# include "/usr/share/nano/cmake.nanorc" 1.67 ++ 1.68 ++## CSS 1.69 ++include "/usr/share/nano/css.nanorc" 1.70 ++ 1.71 ++## Apt's sources.list 1.72 ++# include "/usr/share/nano/debian.nanorc" 1.73 ++ 1.74 ++## Default 1.75 ++include "/usr/share/nano/default.nanorc" 1.76 ++ 1.77 ++## Fortran 90/95 1.78 ++# include "/usr/share/nano/fortran.nanorc" 1.79 ++ 1.80 ++## Gentoo ebuilds/eclasses 1.81 ++# include "/usr/share/nano/gentoo.nanorc" 1.82 ++ 1.83 ++## Go 1.84 ++# include "/usr/share/nano/go.nanorc" 1.85 ++ 1.86 ++## Groff 1.87 ++# include "/usr/share/nano/groff.nanorc" 1.88 ++ 1.89 ++## HTML 1.90 ++# include "/usr/share/nano/html.nanorc" 1.91 ++ 1.92 ++## Java 1.93 ++# include "/usr/share/nano/java.nanorc" 1.94 ++ 1.95 ++## Javascript 1.96 ++include "/usr/share/nano/javascript.nanorc" 1.97 ++ 1.98 ++## JSON 1.99 ++# include "/usr/share/nano/json.nanorc" 1.100 ++ 1.101 ++## Lua 1.102 ++# include "/usr/share/nano/lua.nanorc" 1.103 ++ 1.104 ++## Makefiles 1.105 ++include "/usr/share/nano/makefile.nanorc" 1.106 ++ 1.107 ++## Manpages 1.108 ++# include "/usr/share/nano/man.nanorc" 1.109 ++ 1.110 ++## Magicpoint presentations 1.111 ++# include "/usr/share/nano/mgp.nanorc" 1.112 ++ 1.113 ++## Quoted emails (under e.g. mutt) 1.114 ++include "/usr/share/nano/mutt.nanorc" 1.115 ++ 1.116 ++## Nanorc files 1.117 ++include "/usr/share/nano/nanorc.nanorc" 1.118 ++ 1.119 ++## C/C++/Obj-C 1.120 ++# include "/usr/share/nano/objc.nanorc" 1.121 ++ 1.122 ++## OCaml 1.123 ++# include "/usr/share/nano/ocaml.nanorc" 1.124 ++ 1.125 ++## Patch files 1.126 ++include "/usr/share/nano/patch.nanorc" 1.127 ++ 1.128 ++## Perl 1.129 ++# include "/usr/share/nano/perl.nanorc" 1.130 ++ 1.131 ++## PHP 1.132 ++include "/usr/share/nano/php.nanorc" 1.133 ++ 1.134 ++## PO files 1.135 ++include "/usr/share/nano/po.nanorc" 1.136 ++ 1.137 ++## POV-Ray 1.138 ++# include "/usr/share/nano/pov.nanorc" 1.139 ++ 1.140 ++## Python 1.141 ++include "/usr/share/nano/python.nanorc" 1.142 ++ 1.143 ++## Ruby 1.144 ++# include "/usr/share/nano/ruby.nanorc" 1.145 ++ 1.146 ++## Bourne shell scripts 1.147 ++include "/usr/share/nano/sh.nanorc" 1.148 ++ 1.149 ++## RPM spec files 1.150 ++# include "/usr/share/nano/spec.nanorc" 1.151 ++ 1.152 ++## Tcl files 1.153 ++# include "/usr/share/nano/tcl.nanorc" 1.154 ++ 1.155 ++## TeX files 1.156 ++# include "/usr/share/nano/tex.nanorc" 1.157 ++ 1.158 ++## Texinfo files 1.159 ++# include "/usr/share/nano/texinfo.nanorc" 1.160 ++ 1.161 ++## XML files 1.162 ++include "/usr/share/nano/xml.nanorc" 1.163 ++ 1.164 ++ 1.165 ++## Config file - By SliTaz 1.166 ++syntax "conf" "\.?conf$" 1.167 ++## Keywords 1.168 ++icolor brightgreen "=" 1.169 ++## Comments 1.170 ++icolor cyan "^[[:space:]]*#.*$" 1.171 ++ 1.172 ++## HTML - With modification for SliTaz. 1.173 ++syntax "HTML" "\.html$" 1.174 ++color brightblue start="<" end=">" 1.175 ++color red "&[^; ]*;" 1.176 ++color brightwhite start="<!DOCTYPE" end=">" start="<title>" end="</title>" start="<!--" end="-->" 1.177 ++color brightcyan start="<meta" end=">" start="<link" end=">" 1.178 ++color brightyellow "<p>|</p>|<pre>|</pre>|<li>|</li>" 1.179 ++color yellow "<ul>|</ul>|<hr>|<hr />" 1.180 ++color brightred "href=|name=|rel=|http-equiv=|content=|title=|type|style" 1.181 ++color brightgreen "<h1>|</h1>|<h2>|</h2>|<h3>|</h3>|<h4>|</h4>|<h5>|</h5>|<h6>|</h6>" 1.182 ++ 1.183 + 1.184 +--- ./usr/share/nano/sh.nanorc 1.185 ++++ ./usr/share/nano/sh.nanorc 1.186 +@@ -1,6 +1,6 @@ 1.187 + ## Here is an example for Bourne shell scripts. 1.188 + 1.189 +-syntax "sh" "\.sh$" 1.190 ++syntax "sh" "\.sh$" "receipt" 1.191 + header "^#!.*((ba|da|k|pdk)?sh[-0-9_]*|openrc-run|runscript)" 1.192 + magic "(POSIX|Bourne.*) shell script text" 1.193 +