wok-undigest rev 980

nano: up 2.3.1 (devel)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 13 15:38:28 2013 +0000 (2013-04-13)
parents 4b2ec7157c97
children 1e31f31599bc
files nano/description.txt nano/receipt nano/stuff/nano.desktop nano/stuff/nano.png nano/stuff/nanorc
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nano/description.txt	Sat Apr 13 15:38:28 2013 +0000
     1.3 @@ -0,0 +1,2 @@
     1.4 +The Nano package contains a small, simple text editor which aims to replace
     1.5 +Pico, the default editor in the Pine package.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/nano/receipt	Sat Apr 13 15:38:28 2013 +0000
     2.3 @@ -0,0 +1,45 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="nano"
     2.7 +VERSION="2.3.1"
     2.8 +CATEGORY="utilities"
     2.9 +SHORT_DESC="GNU Nano Text Editor"
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +WEB_SITE="http://www.nano-editor.org/"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WGET_URL="http://ftp.gnu.org/gnu/nano/$TARBALL"
    2.14 +TAGS="console text-editor"
    2.15 +HOST_ARCH="i486 arm"
    2.16 +
    2.17 +TRACKER="http://sourcewell.berlios.de/appbyid.php?id=1733"
    2.18 +VERSION_NOTE="latest development"
    2.19 +
    2.20 +DEPENDS="ncursesw"
    2.21 +SUGGESTED="gpm enchant"
    2.22 +BUILD_DEPENDS="ncursesw-dev"
    2.23 +
    2.24 +export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib"
    2.25 +
    2.26 +# Rules to configure and make the package.
    2.27 +compile_rules()
    2.28 +{
    2.29 +	./configure \
    2.30 +		--sysconfdir=/etc \
    2.31 +		--localstatedir=/var \
    2.32 +		--enable-utf8 \
    2.33 +		$CONFIGURE_ARGS &&
    2.34 +	make &&
    2.35 +	make install
    2.36 +}
    2.37 +
    2.38 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.39 +genpkg_rules()
    2.40 +{
    2.41 +	mkdir -p \
    2.42 +		$fs/etc \
    2.43 +		$fs/usr/share
    2.44 +	cp -a $install/usr/bin $fs/usr
    2.45 +	cp -a $install/usr/share/nano $fs/usr/share
    2.46 +	# Config file.
    2.47 +	cp $stuff/nanorc $fs/etc
    2.48 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/nano/stuff/nano.desktop	Sat Apr 13 15:38:28 2013 +0000
     3.3 @@ -0,0 +1,12 @@
     3.4 +[Desktop Entry]
     3.5 +Type=Application
     3.6 +Name=GNU Nano Text Editor
     3.7 +Name[fr]=Editeur GNU Nano
     3.8 +Name[ru]=Текстовый редактор GNU Nano
     3.9 +Comment=Advanced text editor
    3.10 +Comment[fr]=Editeur de texte avançé
    3.11 +Comment[ru]=Консольный текстовый редактор
    3.12 +Exec=/usr/bin/terminal -e nano
    3.13 +Icon=nano
    3.14 +Terminal=false
    3.15 +Categories=Utility;TextEditor;
     4.1 Binary file nano/stuff/nano.png has changed
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/nano/stuff/nanorc	Sat Apr 13 15:38:28 2013 +0000
     5.3 @@ -0,0 +1,273 @@
     5.4 +## /etc/nanorc: system-wide initialization file for GNU nano
     5.5 +## Well know text editor on SliTaz GNU/linux. ~/.nanorc for 
     5.6 +## personal config file.
     5.7 +##
     5.8 +## To make sure a value is not enabled, use "unset <option>"
     5.9 +##
    5.10 +## For the options that take parameters, the default value is given.
    5.11 +## Other options are unset by default.
    5.12 +##
    5.13 +## Quotes inside string parameters don't have to be escaped with
    5.14 +## backslashes.  The last double quote in the string will be treated as
    5.15 +## its end.  For example, for the "brackets" option, ""')>]}" will match
    5.16 +## ", ', ), >, ], and }.
    5.17 +
    5.18 +## Use auto-indentation.
    5.19 +# set autoindent
    5.20 +
    5.21 +## Backup files to filename~.
    5.22 +# set backup
    5.23 +
    5.24 +## The directory to put unique backup files in.
    5.25 +# set backupdir ""
    5.26 +
    5.27 +## Do backwards searches by default.
    5.28 +# set backwards
    5.29 +
    5.30 +## Use bold text instead of reverse video text.
    5.31 +# set boldtext
    5.32 +
    5.33 +## The characters treated as closing brackets when justifying
    5.34 +## paragraphs.  They cannot contain blank characters.  Only closing
    5.35 +## punctuation, optionally followed by closing brackets, can end
    5.36 +## sentences.
    5.37 +##
    5.38 +# set brackets ""')>]}"
    5.39 +
    5.40 +## Do case sensitive searches by default.
    5.41 +# set casesensitive
    5.42 +
    5.43 +## Constantly display the cursor position in the statusbar.  Note that
    5.44 +## this overrides "quickblank".
    5.45 +# set const
    5.46 +
    5.47 +## Use cut to end of line by default.
    5.48 +# set cut
    5.49 +
    5.50 +## Set the line length for wrapping text and justifying paragraphs.
    5.51 +## If fill is 0 or less, the line length will be the screen width less
    5.52 +## this number.
    5.53 +##
    5.54 +# set fill -8
    5.55 +
    5.56 +## Enable ~/.nano_history for saving and reading search/replace strings.
    5.57 +set historylog
    5.58 +
    5.59 +## The opening and closing brackets that can be found by bracket
    5.60 +## searches.  They cannot contain blank characters.  The former set must
    5.61 +## come before the latter set, and both must be in the same order.
    5.62 +##
    5.63 +# set matchbrackets "(<[{)>]}"
    5.64 +
    5.65 +## Use the blank line below the titlebar as extra editing space.
    5.66 +# set morespace
    5.67 +
    5.68 +## Enable mouse support, if available for your system.  When enabled,
    5.69 +## mouse clicks can be used to place the cursor, set the mark (with a
    5.70 +## double click), and execute shortcuts.  The mouse will work in the X
    5.71 +## Window System, and on the console when gpm is running.
    5.72 +##
    5.73 +set mouse
    5.74 +
    5.75 +## Allow multiple file buffers (inserting a file will put it into a
    5.76 +## separate buffer).  You must have configured with --enable-multibuffer
    5.77 +## for this to work.
    5.78 +##
    5.79 +# set multibuffer
    5.80 +
    5.81 +## Don't convert files from DOS/Mac format.
    5.82 +# set noconvert
    5.83 +
    5.84 +## Don't follow symlinks when writing files.
    5.85 +# set nofollow
    5.86 +
    5.87 +## Don't display the helpful shortcut lists at the bottom of the screen.
    5.88 +# set nohelp
    5.89 +
    5.90 +## Don't add newlines to the ends of files.
    5.91 +# set nonewlines
    5.92 +
    5.93 +## Don't wrap text at all.
    5.94 +# set nowrap
    5.95 +
    5.96 +## Set operating directory.  nano will not read or write files outside
    5.97 +## this directory and its subdirectories.  Also, the current directory
    5.98 +## is changed to here, so any files are inserted from this dir.  A blank
    5.99 +## string means the operating directory feature is turned off.
   5.100 +##
   5.101 +# set operatingdir ""
   5.102 +
   5.103 +## Preserve the XON and XOFF keys (^Q and ^S).
   5.104 +# set preserve
   5.105 +
   5.106 +## The characters treated as closing punctuation when justifying
   5.107 +## paragraphs.  They cannot contain blank characters.  Only closing
   5.108 +## punctuation, optionally followed by closing brackets, can end
   5.109 +## sentences.
   5.110 +##
   5.111 +# set punct "!.?"
   5.112 +
   5.113 +## Do quick statusbar blanking.  Statusbar messages will disappear after
   5.114 +## 1 keystroke instead of 26.  Note that "const" overrides this.
   5.115 +##
   5.116 +# set quickblank
   5.117 +
   5.118 +## The email-quote string, used to justify email-quoted paragraphs.
   5.119 +## This is an extended regular expression if your system supports them,
   5.120 +## otherwise a literal string.  Default:
   5.121 +# set quotestr "^([ 	]*[#:>\|}])+"
   5.122 +## if you have extended regular expression support, otherwise:
   5.123 +# set quotestr "> "
   5.124 +
   5.125 +## Fix Backspace/Delete confusion problem.
   5.126 +# set rebinddelete
   5.127 +
   5.128 +## Fix numeric keypad key confusion problem.
   5.129 +# set rebindkeypad
   5.130 +
   5.131 +## Do extended regular expression searches by default.
   5.132 +# set regexp
   5.133 +
   5.134 +## Make the Home key smarter.  When Home is pressed anywhere but at the
   5.135 +## very beginning of non-whitespace characters on a line, the cursor
   5.136 +## will jump to that beginning (either forwards or backwards).  If the
   5.137 +## cursor is already at that position, it will jump to the true
   5.138 +## beginning of the line.
   5.139 +# set smarthome
   5.140 +
   5.141 +## Use smooth scrolling as the default.
   5.142 +# set smooth
   5.143 +
   5.144 +## Use this spelling checker instead of the internal one.  This option
   5.145 +## does not properly have a default value.
   5.146 +##
   5.147 +# set speller "aspell -x -c"
   5.148 +
   5.149 +## Allow nano to be suspended.
   5.150 +# set suspend
   5.151 +
   5.152 +## Use this tab size instead of the default; it must be greater than 0.
   5.153 +# set tabsize 8
   5.154 +
   5.155 +## Convert typed tabs to spaces.
   5.156 +# set tabstospaces
   5.157 +
   5.158 +## Save automatically on exit, don't prompt.
   5.159 +# set tempfile
   5.160 +
   5.161 +## Disallow file modification.  Why would you want this in an rcfile? ;)
   5.162 +# set view
   5.163 +
   5.164 +## The two single-column characters used to display the first characters
   5.165 +## of tabs and spaces.  187 in ISO 8859-1 (0000BB in Unicode) and 183 in
   5.166 +## ISO-8859-1 (0000B7 in Unicode) seem to be good values for these.
   5.167 +# set whitespace "  "
   5.168 +
   5.169 +## Detect word boundaries more accurately by treating punctuation
   5.170 +## characters as parts of words.
   5.171 +# set wordbounds
   5.172 +
   5.173 +
   5.174 +## Color setup
   5.175 +##
   5.176 +## Format:
   5.177 +##
   5.178 +## syntax "short description" ["filename regex" ...]
   5.179 +##
   5.180 +## The "none" syntax is reserved; specifying it on the command line is
   5.181 +## the same as not having a syntax at all.  The "default" syntax is
   5.182 +## special: it takes no filename regexes, and applies to files that
   5.183 +## don't match any other syntax's filename regexes.
   5.184 +##
   5.185 +## color foreground,background "regex" ["regex"...]
   5.186 +## or
   5.187 +## icolor foreground,background "regex" ["regex"...]
   5.188 +##
   5.189 +## "color" will do case sensitive matches, while "icolor" will do case
   5.190 +## insensitive matches.
   5.191 +##
   5.192 +## Valid colors: white, black, red, blue, green, yellow, magenta, cyan.
   5.193 +## For foreground colors, you may use the prefix "bright" to get a
   5.194 +## stronger highlight.
   5.195 +##
   5.196 +## To use multi-line regexes, use the start="regex" end="regex"
   5.197 +## [start="regex" end="regex"...] format.
   5.198 +##
   5.199 +## If your system supports transparency, not specifying a background
   5.200 +## color will use a transparent color.  If you don't want this, be sure
   5.201 +## to set the background color to black or white.
   5.202 +##
   5.203 +## If you wish, you may put your syntaxes in separate files.  You can
   5.204 +## make use of such files (which can only include "syntax", "color", and
   5.205 +## "icolor" commands) as follows:
   5.206 +##
   5.207 +## include "/path/to/syntax_file.nanorc"
   5.208 +##
   5.209 +## Unless otherwise noted, the name of the syntax file (without the
   5.210 +## ".nanorc" extension) should be the same as the "short description"
   5.211 +## name inside that file.  These names are kept fairly short to make
   5.212 +## them easier to remember and faster to type using nano's -Y option.
   5.213 +##
   5.214 +## All regexes should be extended regular expressions.
   5.215 +
   5.216 +
   5.217 +## Nanorc files
   5.218 +include "/usr/share/nano/nanorc.nanorc"
   5.219 +
   5.220 +## C/C++
   5.221 +include "/usr/share/nano/c.nanorc"
   5.222 +
   5.223 +## Config file - By SliTaz
   5.224 +syntax "conf" "\.?conf$"
   5.225 +## Keywords
   5.226 +icolor brightgreen "="
   5.227 +## Comments
   5.228 +icolor cyan "^[[:space:]]*#.*$"
   5.229 +
   5.230 +## HTML - With modification for SliTaz.
   5.231 +#include "/usr/share/nano/html.nanorc"
   5.232 +syntax "HTML" "\.html$"
   5.233 +color brightblue start="<" end=">"
   5.234 +color red "&[^; 	]*;"
   5.235 +color brightwhite start="<!DOCTYPE" end=">" start="<title>" end="</title>" start="<!--" end="-->"  
   5.236 +color brightcyan start="<meta" end=">" start="<link" end=">"
   5.237 +color brightyellow "<p>|</p>|<pre>|</pre>|<li>|</li>"
   5.238 +color yellow "<ul>|</ul>|<hr>|<hr />"
   5.239 +color brightred "href=|name=|rel=|http-equiv=|content=|title=|type|style"
   5.240 +color brightgreen "<h1>|</h1>|<h2>|</h2>|<h3>|</h3>|<h4>|</h4>|<h5>|</h5>|<h6>|</h6>"
   5.241 +
   5.242 +## TeX
   5.243 +include "/usr/share/nano/tex.nanorc"
   5.244 +
   5.245 +## Quoted emails (under e.g. mutt)
   5.246 +include "/usr/share/nano/mutt.nanorc"
   5.247 +
   5.248 +## Patch files
   5.249 +include "/usr/share/nano/patch.nanorc"
   5.250 +
   5.251 +## Manpages
   5.252 +# include "/usr/share/nano/man.nanorc"
   5.253 +
   5.254 +## Groff
   5.255 +# include "/usr/share/nano/groff.nanorc"
   5.256 +
   5.257 +## Perl
   5.258 +# include "/usr/share/nano/perl.nanorc"
   5.259 +
   5.260 +## Python
   5.261 +# include "/usr/share/nano/python.nanorc"
   5.262 +
   5.263 +## Ruby
   5.264 +# include "/usr/share/nano/ruby.nanorc"
   5.265 +
   5.266 +## Java
   5.267 +# include "/usr/share/nano/java.nanorc"
   5.268 +
   5.269 +## Assembler
   5.270 +# include "/usr/share/nano/asm.nanorc"
   5.271 +
   5.272 +## Bourne shell scripts
   5.273 +include "/usr/share/nano/sh.nanorc"
   5.274 +
   5.275 +## POV-Ray
   5.276 +# include "/usr/share/nano/pov.nanorc"