Файловый менеджер - Редактировать - /home/lakoyani/lakoyani.com.fj/nano.tar
Назад
python.nanorc 0000644 00000001017 14711163014 0007264 0 ustar 00 ## Here is an example for Python. ## syntax "python" "\.py$" header "^#!.*/python[-0-9._]*" icolor brightblue "def [0-9A-Z_]+" color brightcyan "\<(and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield)\>" color brightgreen "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}" color brightgreen "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}" color brightgreen start=""""[^"]" end=""""" start="'''[^']" end="'''" color brightred "#.*$" asm.nanorc 0000644 00000001450 14711163014 0006524 0 ustar 00 ## Here is an example for assembler. ## syntax "asm" "\.(S|s|asm)$" magic "[Aa]ssembl(y|er)" color red "\<[A-Z_]{2,}\>" color brightgreen "\.(data|subsection|text)" color green "\.(align|file|globl|global|hidden|section|size|type|weak)" color brightyellow "\.(ascii|asciz|byte|double|float|hword|int|long|short|single|struct|word)" icolor brightred "^[[:space:]]*[.0-9A-Z_]*:" color brightcyan "^[[:space:]]*#[[:space:]]*(define|undef|include|ifn?def|endif|elif|else|if|warning|error)" ## Highlight strings (note: VERY resource intensive) color brightyellow "<[^= ]*>" ""(\\.|[^"])*"" color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" ## Highlight comments color brightblue "//.*" color brightblue start="/\*" end="\*/" ## Highlight trailing whitespace color ,green "[[:space:]]+$" mutt.nanorc 0000644 00000000137 14711163014 0006736 0 ustar 00 ## Here is an example for quoted emails (under e.g. mutt). ## syntax "mutt" color green "^>.*" ocaml.nanorc 0000644 00000001427 14711163014 0007043 0 ustar 00 # OCaml sample nanorc # syntax "ocaml" "\.mli?$" #uid color red "\<[A-Z][0-9a-z_]{2,}\>" #declarations color green "\<(let|val|method|in|and|rec|private|virtual|constraint)\>" #structure items color red "\<(type|open|class|module|exception|external)\>" #patterns color blue "\<(fun|function|functor|match|try|with)\>" #patterns-modifiers color yellow "\<(as|when|of)\>" #conditions color cyan "\<(if|then|else)\>" #blocs color magenta "\<(begin|end|object|struct|sig|for|while|do|done|to|downto)\>" #constantes color green "\<(true|false)\>" #modules/classes color green "\<(include|inherit|initializer)\>" #expr modifiers color yellow "\<(new|ref|mutable|lazy|assert|raise)\>" #comments color white start="\(\*" end="\*\)" #strings (no multiline handling yet) color brightblack ""[^\"]*"" nanorc.nanorc 0000644 00000002143 14711163014 0007224 0 ustar 00 ## Here is an example for nanorc files. ## syntax "nanorc" "\.?nanorc$" ## Possible errors and parameters icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$" ## Keywords icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|poslog|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|speller|suspend|suspendenable|tabsize|tabstospaces|tempfile|undo|view|whitespace|wordbounds)\>" icolor green "^[[:space:]]*(set|unset|include|syntax|header|magic)\>" ## Colors icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>" icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)=" ## Strings icolor white ""(\\.|[^"])*"" ## Comments icolor brightblue "^[[:space:]]*#.*$" icolor cyan "^[[:space:]]*##.*$" html.nanorc 0000644 00000000227 14711163014 0006711 0 ustar 00 ## Here is a short example for HTML. ## syntax "html" "\.html$" magic "HTML document text" color blue start="<" end=">" color red "&[^;[[:space:]]]*;" tex.nanorc 0000644 00000000215 14711163014 0006542 0 ustar 00 ## Here is a short example for TeX files. ## syntax "tex" "\.tex$" icolor green "\\.|\\[A-Z]*" color magenta "[{}]" color blue "(^|[^\])%.*" cmake.nanorc 0000644 00000001474 14711163014 0007032 0 ustar 00 ## CMake syntax highlighter for GNU Nano ## syntax "cmake" "(CMakeLists\.txt|\.cmake)$" icolor green "^[[:space:]]*[A-Z0-9_]+" icolor brightyellow "^[[:space:]]*(include|include_directories|include_external_msproject)\>" icolor brightgreen "^[[:space:]]*\<((else|end)?if|else|(end)?while|(end)?foreach|break)\>" color brightgreen "\<(NOT|COMMAND|POLICY|TARGET|EXISTS|IS_(DIRECTORY|ABSOLUTE)|DEFINED)\>[[:space:]]" color brightgreen "[[:space:]]\<(OR|AND|IS_NEWER_THAN|MATCHES|(STR|VERSION_)?(LESS|GREATER|EQUAL))\>[[:space:]]" icolor brightred "^[[:space:]]*\<((end)?(function|macro)|return)" icolor cyan start="\$(\{|ENV\{)" end="\}" color magenta "\<(APPLE|UNIX|WIN32|CYGWIN|BORLAND|MINGW|MSVC(_IDE|60|71|80|90)?)\>" icolor brightblue "^([[:space:]]*)?#.*" icolor brightblue "[[:space:]]#.*" color ,green "[[:space:]]+$" tcl.nanorc 0000644 00000004076 14711163014 0006535 0 ustar 00 syntax "tcl" "\.tcl$" ## Standard Tcl [info commands] color green "\<(after|append|array|auto_execok|auto_import|auto_load|auto_load_index|auto_qualify|binary|break|case|catch|cd|clock|close|concat|continue|encoding|eof|error|eval|exec|exit|expr|fblocked|fconfigure|fcopy|file|fileevent|flush|for|foreach|format|gets|glob|global|history|if|incr|info|interp|join|lappend|lindex|linsert|list|llength|load|lrange|lreplace|lsearch|lset|lsort|namespace|open|package|pid|puts|pwd|read|regexp|regsub|rename|return|scan|seek|set|socket|source|split|string|subst|switch|tclLog|tell|time|trace|unknown|unset|update|uplevel|upvar|variable|vwait|while)\>" ## Basic Tcl sub commands. color green "\<(array anymore|array donesearch|array exists|array get|array names|array nextelement|array set|array size|array startsearch|array statistics|array unset)\>" color green "\<(string bytelength|string compare|string equal|string first|string index|string is|string last|string length|string map|string match|string range|string repeat|string replace|string to|string tolower|string totitle|string toupper|string trim|string trimleft|string trimright|string will|string wordend|string wordstart)\>" ## Extended TclX [info commands] color green "\<(alarm|auto_load_pkg|bsearch|catclose|catgets|catopen|ccollate|cconcat|cequal|chgrp|chmod|chown|chroot|cindex|clength|cmdtrace|commandloop|crange|csubstr|ctoken|ctype|dup|echo|execl|fcntl|flock|fork|fstat|ftruncate|funlock|host_info|id|infox|keyldel|keylget|keylkeys|keylset|kill|lassign|lcontain|lempty|lgets|link|lmatch|loadlibindex|loop|lvarcat|lvarpop|lvarpush|max|min|nice|pipe|profile|random|readdir|replicate|scancontext|scanfile|scanmatch|select|server_accept|server_create|signal|sleep|sync|system|tclx_findinit|tclx_fork|tclx_load_tndxs|tclx_sleep|tclx_system|tclx_wait|times|translit|try_eval|umask|wait)\>" ## Syntax. color brightblue "proc[[:space:]]" "(\{|\})" color green "(\(|\)|\;|`|\\|\$|<|>|!|=|&|\|)" color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'" icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?" color ,green "[[:space:]]+$" color ,magenta "^[[:space:]]*#.*" java.nanorc 0000644 00000001160 14711163014 0006663 0 ustar 00 ## Here is an example for Java. ## syntax "java" "\.java$" magic "Java " color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>" color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>" color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>" color red ""[^"]*"" color yellow "\<(true|false|null)\>" color blue "//.*" color blue start="/\*" end="\*/" color brightblue start="/\*\*" end="\*/" color ,green "[[:space:]]+$" debian.nanorc 0000644 00000001250 14711163014 0007164 0 ustar 00 ## Here is an exmaple for apt's sources.list ## Adapted from http://milianw.de/blog/Syntax-Highlighting-in-Nano ## (mail@milianw.de). ## syntax "apt/sources.list" "sources\.list(\.old|~)?$" # component color brightmagenta "^deb(-src)? ((http|file|ftp):/[^ ]+|cdrom:\[[^\]]+\]/|cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/) [^ ]+ .+$" # distribution color brightred "^deb(-src)? ((http|file|ftp):/[^ ]+|cdrom:\[[^\]]+\]/|cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/) [^ ]+" # URI color brightgreen "(http|file|ftp):/[^ ]+" # cdroms # [^\]] does not work... color brightgreen "cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/" # deb / deb-src color yellow "^deb" color yellow "^deb-src" # comments color brightblue "#.*" xml.nanorc 0000644 00000000437 14711163014 0006550 0 ustar 00 ## Here is an example for xml files. ## syntax "xml" "\.([jrs]html?|sgml?|xml|xslt?)$" magic "XML.*document text" color green start="<" end=">" color cyan "<[^> ]+" color cyan ">" color yellow start="<!DOCTYPE" end="[/]?>" color yellow start="<!--" end="-->" color red "&[^;]*;" man.nanorc 0000644 00000000461 14711163014 0006520 0 ustar 00 ## Here is an example for manpages. ## syntax "man" "\.[1-9]x?$" magic "troff or preprocessor input text" color green "\.(S|T)H.*$" color brightgreen "\.(S|T)H" "\.TP" color brightred "\.(BR?|I[PR]?).*$" color brightblue "\.(BR?|I[PR]?|PP)" color brightwhite "\\f[BIPR]" color yellow "\.(br|DS|RS|RE|PD)" perl.nanorc 0000644 00000002670 14711163014 0006713 0 ustar 00 ## Here is an example for Perl. ## syntax "perl" "\.p[lm]$" magic "perl.*script text" header "^#!.*/perl[-0-9._]*" color red "\<(accept|alarm|atan2|bin(d|mode)|c(aller|h(dir|mod|op|own|root)|lose(dir)?|onnect|os|rypt)|d(bm(close|open)|efined|elete|ie|o|ump)|e(ach|of|val|x(ec|ists|it|p))|f(cntl|ileno|lock|ork))\>" "\<(get(c|login|peername|pgrp|ppid|priority|pwnam|(host|net|proto|serv)byname|pwuid|grgid|(host|net)byaddr|protobynumber|servbyport)|([gs]et|end)(pw|gr|host|net|proto|serv)ent|getsock(name|opt)|gmtime|goto|grep|hex|index|int|ioctl|join)\>" "\<(keys|kill|last|length|link|listen|local(time)?|log|lstat|m|mkdir|msg(ctl|get|snd|rcv)|next|oct|open(dir)?|ord|pack|pipe|pop|printf?|push|q|qq|qx|rand|re(ad(dir|link)?|cv|do|name|quire|set|turn|verse|winddir)|rindex|rmdir|s|scalar|seek(dir)?)\>" "\<(se(lect|mctl|mget|mop|nd|tpgrp|tpriority|tsockopt)|shift|shm(ctl|get|read|write)|shutdown|sin|sleep|socket(pair)?|sort|spli(ce|t)|sprintf|sqrt|srand|stat|study|substr|symlink|sys(call|read|tem|write)|tell(dir)?|time|tr(y)?|truncate|umask)\>" "\<(un(def|link|pack|shift)|utime|values|vec|wait(pid)?|wantarray|warn|write)\>" color magenta "\<(continue|else|elsif|do|for|foreach|if|unless|until|while|eq|ne|lt|gt|le|ge|cmp|x|my|sub|use|package|can|isa)\>" icolor cyan start="[$@%]" end="( |[^0-9A-Z_]|-)" color yellow "".*"|qq\|.*\|" color white "[sm]/.*/" color white start="(^use| = new)" end=";" color green "#.*" color yellow start="<< 'STOP'" end="STOP" patch.nanorc 0000644 00000000413 14711163014 0007041 0 ustar 00 ## Here is an example for patch files. ## syntax "patch" "\.(patch|diff)$" magic "diff output text" color brightgreen "^\+.*" color green "^\+\+\+.*" color brightblue "^ .*" color brightred "^-.*" color red "^---.*" color brightyellow "^@@.*" color magenta "^diff.*" man-html/nanorc.5.html 0000644 00000070513 14711163014 0010576 0 ustar 00 <!-- Creator : groff version 1.20.1 --> <!-- CreationDate: Wed Feb 23 21:42:44 2011 --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <meta name="Content-Style" content="text/css"> <style type="text/css"> p { margin-top: 0; margin-bottom: 0; vertical-align: top } pre { margin-top: 0; margin-bottom: 0; vertical-align: top } table { margin-top: 0; margin-bottom: 0; vertical-align: top } h1 { text-align: center } </style> <title>NANORC</title> </head> <body> <h1 align="center">NANORC</h1> <a href="#NAME">NAME</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> <a href="#OPTIONS">OPTIONS</a><br> <a href="#KEY BINDINGS">KEY BINDINGS</a><br> <a href="#FILES">FILES</a><br> <a href="#SEE ALSO">SEE ALSO</a><br> <a href="#AUTHOR">AUTHOR</a><br> <hr> <h2>NAME <a name="NAME"></a> </h2> <p style="margin-left:11%; margin-top: 1em">nanorc − GNU nano’s rcfile</p> <h2>DESCRIPTION <a name="DESCRIPTION"></a> </h2> <p style="margin-left:11%; margin-top: 1em">This manual page briefly documents GNU <b>nano</b>’s rcfile.</p> <p style="margin-left:11%; margin-top: 1em"><b>nano</b> is a small, free and friendly editor which aims to replace Pico, the default editor included in the non-free Pine package. Rather than just copying Pico’s look and feel, <b>nano</b> also implements some missing (or disabled by default) features in Pico, such as "search and replace" and "go to line and column number".</p> <p style="margin-left:11%; margin-top: 1em">The <i>nanorc</i> file contains the default settings for <b>nano</b>. It should not be in DOS or Mac format. During startup, <b>nano</b> will first read its system-wide settings from <i>SYSCONFDIR/nanorc</i>, and then user-specific settings from <i>~/.nanorc</i>.</p> <h2>OPTIONS <a name="OPTIONS"></a> </h2> <p style="margin-left:11%; margin-top: 1em">The configuration file accepts a series of <b>set</b> and <b>unset</b> commands, which can be used to configure nano on startup without using the command line options. Additionally, the <b>syntax</b>, <b>color</b>, and <b>icolor</b> keywords are used to define syntax highlighting rules for different text patterns. <b>nano</b> will read one command per line.</p> <p style="margin-left:11%; margin-top: 1em">Options in <i>nanorc</i> files take precedence over nano’s defaults, and command line options override <i>nanorc</i> settings. Also, options are unset by default, except for those that take arguments.</p> <p style="margin-left:11%; margin-top: 1em">Quotes inside string parameters don’t have to be escaped with backslashes. The last double quote in the string will be treated as its end. For example, for the <b>brackets</b> option, "<i>"’)>]}</i>" will match <i>"</i>, <i>’</i>, <i>)</i>, <i>></i>, <i>]</i>, and <i>}</i>.</p> <p style="margin-left:11%; margin-top: 1em">The supported commands and arguments are: <b><br> set/unset allow_insecure_backup</b></p> <p style="margin-left:15%;">When backing up files, allow the backup to succeed even if its permissions can’t be (re)set due to special OS considerations. You should NOT enable this option unless you are sure you need it.</p> <p style="margin-left:11%;"><b>set/unset autoindent</b></p> <p style="margin-left:15%;">Use auto-indentation.</p> <p style="margin-left:11%;"><b>set/unset backup</b></p> <p style="margin-left:15%;">Create backup files in <i>filename~</i>.</p> <p style="margin-left:11%;"><b>set backupdir</b> <i>directory</i></p> <p style="margin-left:15%;">Set the directory where <b>nano</b> puts unique backup files if file backups are enabled.</p> <p style="margin-left:11%;"><b>set/unset backwards</b></p> <p style="margin-left:15%;">Do backwards searches by default.</p> <p style="margin-left:11%;"><b>set/unset boldtext</b></p> <p style="margin-left:15%;">Use bold text instead of reverse video text.</p> <p style="margin-left:11%;"><b>set brackets</b> <i>string</i></p> <p style="margin-left:15%;">Set the characters treated as closing brackets when justifying paragraphs. They cannot contain blank characters. Only closing punctuation, optionally followed by closing brackets, can end sentences. The default value is "<i>"’)>]}</i>".</p> <p style="margin-left:11%;"><b>set/unset casesensitive</b></p> <p style="margin-left:15%;">Do case sensitive searches by default.</p> <p style="margin-left:11%;"><b>set/unset const</b></p> <p style="margin-left:15%;">Constantly display the cursor position in the status bar.</p> <p style="margin-left:11%;"><b>set/unset cut</b></p> <p style="margin-left:15%;">Use cut to end of line by default.</p> <p style="margin-left:11%;"><b>set fill</b> <i>n</i></p> <p style="margin-left:15%;">Wrap lines at column number <i>n</i>. If <i>n</i> is 0 or less, the maximum line length will be the screen width less <i>n</i> columns. The default value is −8.</p> <p style="margin-left:11%;"><b>set/unset historylog</b></p> <p style="margin-left:15%;">Enable <i>~/.nano_history</i> for saving and reading search/replace strings.</p> <p style="margin-left:11%;"><b>set matchbrackets</b> <i>string</i></p> <p style="margin-left:15%;">Set the opening and closing brackets that can be found by bracket searches. They cannot contain blank characters. The former set must come before the latter set, and both must be in the same order. The default value is "<i>(<[{)>]}</i>".</p> <p style="margin-left:11%;"><b>set/unset morespace</b></p> <p style="margin-left:15%;">Use the blank line below the titlebar as extra editing space.</p> <p style="margin-left:11%;"><b>set/unset mouse</b></p> <p style="margin-left:15%;">Enable mouse support, if available for your system. When enabled, mouse clicks can be used to place the cursor, set the mark (with a double click), and execute shortcuts. The mouse will work in the X Window System, and on the console when gpm is running.</p> <p style="margin-left:11%;"><b>set/unset multibuffer</b></p> <p style="margin-left:15%;">Allow inserting files into their own buffers.</p> <p style="margin-left:11%;"><b>set/unset noconvert</b></p> <p style="margin-left:15%;">Don’t convert files from DOS/Mac format.</p> <p style="margin-left:11%;"><b>set/unset nofollow</b></p> <p style="margin-left:15%;">Don’t follow symlinks when writing files.</p> <p style="margin-left:11%;"><b>set/unset nohelp</b></p> <p style="margin-left:15%;">Don’t display the help lists at the bottom of the screen.</p> <p style="margin-left:11%;"><b>set/unset nonewlines</b></p> <p style="margin-left:15%;">Don’t add newlines to the ends of files.</p> <p style="margin-left:11%;"><b>set/unset nowrap</b></p> <p style="margin-left:15%;">Don’t wrap text at all.</p> <p style="margin-left:11%;"><b>set operatingdir</b> <i>directory</i></p> <p style="margin-left:15%;"><b>nano</b> will only read and write files inside <i>directory</i> and its subdirectories. Also, the current directory is changed to here, so files are inserted from this directory. By default, the operating directory feature is turned off.</p> <p style="margin-left:11%;"><b>set/unset preserve</b></p> <p style="margin-left:15%;">Preserve the XON and XOFF keys (^Q and ^S).</p> <p style="margin-left:11%;"><b>set punct</b> <i>string</i></p> <p style="margin-left:15%;">Set the characters treated as closing punctuation when justifying paragraphs. They cannot contain blank characters. Only closing punctuation, optionally followed by closing brackets, can end sentences. The default value is "<i>!.?</i>".</p> <p style="margin-left:11%;"><b>set/unset quiet</b></p> <p style="margin-left:15%;"><b>nano</b> will not report errors in the <i>nanorc</i> file and ask them to be acknowledged by pressing enter at startup. If this is used it should be placed at the top of the file to be fully effective.</p> <p style="margin-left:11%;"><b>set/unset quickblank</b></p> <p style="margin-left:15%;">Do quick statusbar blanking. Statusbar messages will disappear after 1 keystroke instead of 25.</p> <p style="margin-left:11%;"><b>set quotestr</b> <i>string</i></p> <p style="margin-left:15%;">The email-quote string, used to justify email-quoted paragraphs. This is an extended regular expression if your system supports them, otherwise a literal string. The default value is "<i>^([ \t]*[#:>\|}])+</i>" if you have extended regular expression support, or "<i>> </i>" otherwise. Note that ’\t’ stands for a literal Tab character.</p> <p style="margin-left:11%;"><b>set/unset rebinddelete</b></p> <p style="margin-left:15%;">Interpret the Delete key differently so that both Backspace and Delete work properly. You should only need to use this option if Backspace acts like Delete on your system.</p> <p style="margin-left:11%;"><b>set/unset rebindkeypad</b></p> <p style="margin-left:15%;">Interpret the numeric keypad keys so that they all work properly. You should only need to use this option if they don’t, as mouse support won’t work properly with this option enabled.</p> <p style="margin-left:11%;"><b>set/unset regexp</b></p> <p style="margin-left:15%;">Do extended regular expression searches by default.</p> <p style="margin-left:11%;"><b>set/unset poslog</b></p> <p style="margin-left:15%;">Save the cursor position of files between editing sessions.</p> <p style="margin-left:11%;"><b>set/unset smarthome</b></p> <p style="margin-left:15%;">Make the Home key smarter. When Home is pressed anywhere but at the very beginning of non-whitespace characters on a line, the cursor will jump to that beginning (either forwards or backwards). If the cursor is already at that position, it will jump to the true beginning of the line.</p> <p style="margin-left:11%;"><b>set/unset smooth</b></p> <p style="margin-left:15%;">Use smooth scrolling by default.</p> <p style="margin-left:11%;"><b>set/unset softwrap</b></p> <p style="margin-left:15%;">Enable soft line wrapping for easier viewing of very long lones.</p> <p style="margin-left:11%;"><b>set speller</b> <i>spellprog</i></p> <p style="margin-left:15%;">Use spelling checker <i>spellprog</i> instead of the built-in one, which calls <i>spell</i>.</p> <p style="margin-left:11%;"><b>set/unset suspend</b></p> <p style="margin-left:15%;">Allow <b>nano</b> to be suspended.</p> <p style="margin-left:11%;"><b>set tabsize</b> <i>n</i></p> <p style="margin-left:15%;">Use a tab size of <i>n</i> columns. The value of <i>n</i> must be greater than 0. The default value is 8.</p> <p style="margin-left:11%;"><b>set/unset tabstospaces</b></p> <p style="margin-left:15%;">Convert typed tabs to spaces.</p> <p style="margin-left:11%;"><b>set/unset tempfile</b></p> <p style="margin-left:15%;">Save automatically on exit, don’t prompt.</p> <p style="margin-left:11%;"><b>set/unset undo</b></p> <p style="margin-left:15%;">Enable experimental generic-purpose undo code.</p> <p style="margin-left:11%;"><b>set/unset view</b></p> <p style="margin-left:15%;">Disallow file modification.</p> <p style="margin-left:11%;"><b>set/unset softwrap</b></p> <p style="margin-left:15%;">Enable soft line wrapping for easier viewing of very long lones.</p> <p style="margin-left:11%;"><b>set whitespace</b> <i>string</i></p> <p style="margin-left:15%;">Set the two characters used to display the first characters of tabs and spaces. They must be single-column characters.</p> <p style="margin-left:11%;"><b>set/unset wordbounds</b></p> <p style="margin-left:15%;">Detect word boundaries more accurately by treating punctuation characters as parts of words.</p> <p style="margin-left:11%;"><b>syntax</b> <i>str</i> <b>["</b><i>fileregex</i><b>" ... ]</b></p> <p style="margin-left:15%;">Defines a syntax named <i>str</i> which can be activated via the −Y/−−syntax command line option, or will be automatically activated if the current filename matches the extended regular expression <i>fileregex</i>. All following <b>color</b> and <b>icolor</b> statements will apply to <i>syntax</i> until a new syntax is defined.</p> <p style="margin-left:15%; margin-top: 1em">The <i>none</i> syntax is reserved; specifying it on the command line is the same as not having a syntax at all. The <i>default</i> syntax is special: it takes no <i>fileregex</i>, and applies to files that don’t match any other syntax’s <i>fileregex</i>.</p> <p style="margin-left:11%;"><b>magic ["</b><i>regex</i><b>" ... ]</b></p> <p style="margin-left:15%;">For the currently defined syntax, add one or more regexes which will be compared against the <b>magic</b> database when attempting to determine which highlighting rules to use for a given file. This functionality only works when <b>libmagic</b> is installed on the system and will be silently ignored otherwise.</p> <p style="margin-left:11%;"><b>color</b> <i>fgcolor</i><b>,</b><i>bgcolor regex</i> <b>...</b></p> <p style="margin-left:15%;">For the currently defined syntax, display all expressions matching the extended regular expression <i>regex</i> with foreground color <i>fgcolor</i> and background color <i>bgcolor</i>, at least one of which must be specified. Legal colors for foreground and background color are: white, black, red, blue, green, yellow, magenta, and cyan. You may use the prefix "bright" to force a stronger color highlight for the foreground. If your terminal supports transparency, not specifying a <i>bgcolor</i> tells <b>nano</b> to attempt to use a transparent background.</p> <p style="margin-left:11%;"><b>icolor</b> <i>fgcolor</i><b>,</b><i>bgcolor regex</i> <b>...</b></p> <p style="margin-left:15%;">Same as above, except that the expression matching is case insensitive.</p> <p style="margin-left:11%;"><b>color</b> <i>fgcolor</i><b>,</b><i>bgcolor</i> <b>start="</b><i>sr</i><b>" end="</b><i>er</i><b>"</b></p> <p style="margin-left:15%;">Display expressions which start with the extended regular expression <i>sr</i> and end with the extended regular expression <i>er</i> with foreground color <i>fgcolor</i> and background color <i>bgcolor</i>, at least one of which must be specified. This allows syntax highlighting to span multiple lines. Note that all subsequent instances of <i>sr</i> after an initial <i>sr</i> is found will be highlighted until the first instance of <i>er</i>.</p> <p style="margin-left:11%;"><b>icolor</b> <i>fgcolor</i><b>,</b><i>bgcolor</i> <b>start="</b><i>sr</i><b>" end="</b><i>er</i><b>"</b></p> <p style="margin-left:15%;">Same as above, except that the expression matching is case insensitive.</p> <p style="margin-left:11%;"><b>include</b> <i>syntaxfile</i></p> <p style="margin-left:15%;">Read in self-contained color syntaxes from <i>syntaxfile</i>. Note that <i>syntaxfile</i> can only contain <b>syntax</b>, <b>color</b>, and <b>icolor</b> commands.</p> <h2>KEY BINDINGS <a name="KEY BINDINGS"></a> </h2> <p style="margin-left:11%; margin-top: 1em">Key bindings may be reassigned via the following commands: <b><br> bind</b> <i>key function menu</i></p> <p style="margin-left:22%;">Rebinds the key <i>key</i> to a new function named <i>function</i> in the context of menu <i>menu</i>. The format of <i>key</i> should be one of:</p> <table width="100%" border="0" rules="none" frame="void" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p><b>^</b></p></td> <td width="8%"></td> <td width="78%"> <p>followed by an alpha character or the word "Space". Example: ^C</p></td></tr> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p><b>M-</b></p></td> <td width="8%"></td> <td width="78%"> <p>followed by a printable character or the word "Space". Example: M-C</p></td></tr> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p><b>F</b></p></td> <td width="8%"></td> <td width="78%"> <p>followed by a numeric value from 1 to 16. Example: F10</p> </td></tr> </table> <p style="margin-left:11%;">Valid function names to be bound include: <b><br> help</b></p> <p style="margin-left:15%;">Invoke the help menu.</p> <p style="margin-left:11%;"><b>cancel</b></p> <p style="margin-left:15%;">Cancel the current command.</p> <p style="margin-left:11%;"><b>exit</b></p> <p style="margin-left:15%;">Exit from the program.</p> <p style="margin-left:11%;"><b>writeout</b></p> <p style="margin-left:15%;">Write the current buffer to disk.</p> <p style="margin-left:11%;"><b>justify</b></p> <p style="margin-left:15%;">Justify the current text.</p> <p style="margin-left:11%;"><b>insert</b></p> <p style="margin-left:15%;">Insert a file into the current buffer (or into a new buffer when multibuffer is enabled).</p> <p style="margin-left:11%;"><b>whereis</b></p> <p style="margin-left:15%;">Search for text in the current buffer.</p> <p style="margin-left:11%;"><b>searchagain</b></p> <p style="margin-left:15%;">Repeat the last search command.</p> <table width="100%" border="0" rules="none" frame="void" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p><b>up</b></p></td> <td width="1%"></td> <td width="51%"> <p>Move up in the editor or browser.</p></td> <td width="34%"> </td></tr> </table> <p style="margin-left:11%;"><b>down</b></p> <p style="margin-left:15%;">Move down in the editor or browser.</p> <p style="margin-left:11%;"><b>left</b></p> <p style="margin-left:15%;">Move left in the editor or browser.</p> <p style="margin-left:11%;"><b>right</b></p> <p style="margin-left:15%;">Move right in the editor or browser.</p> <p style="margin-left:11%;"><b>cut</b></p> <p style="margin-left:15%;">Cut the current line of text and store it.</p> <p style="margin-left:11%;"><b>uncut</b></p> <p style="margin-left:15%;">Copy the currently stored text into the current buffer position.</p> <p style="margin-left:11%;"><b>curpos</b></p> <p style="margin-left:15%;">Show the current line, column, word positions in the file.</p> <p style="margin-left:11%;"><b>firstline</b></p> <p style="margin-left:15%;">Move to the first line of the file.</p> <p style="margin-left:11%;"><b>lastline</b></p> <p style="margin-left:15%;">Move to the last line of the file.</p> <p style="margin-left:11%;"><b>gotoline</b></p> <p style="margin-left:15%;">Move to a specific line (and column if specified).</p> <p style="margin-left:11%;"><b>replace</b></p> <p style="margin-left:15%;">Interactively replace text within the current buffer.</p> <p style="margin-left:11%;"><b>mark</b></p> <p style="margin-left:15%;">Begin selecting text for cutting or pasting at the current position.</p> <p style="margin-left:11%;"><b>copytext</b></p> <p style="margin-left:15%;">Copy the currently marked text without deleting it.</p> <p style="margin-left:11%;"><b>indent</b></p> <p style="margin-left:15%;">Indent the currently marked text (shift to the right).</p> <p style="margin-left:11%;"><b>unindent</b></p> <p style="margin-left:15%;">Un-indent the currently marked text (shift to the left).</p> <p style="margin-left:11%;"><b>nextword</b></p> <p style="margin-left:15%;">Move the cursor to the beginning of the next word.</p> <p style="margin-left:11%;"><b>prevword</b></p> <p style="margin-left:15%;">Move the cursor to the beginning of the previous word.</p> <p style="margin-left:11%;"><b>home</b></p> <p style="margin-left:15%;">Move the cursor to the beginning of the current line.</p> <p style="margin-left:11%;"><b>end</b></p> <p style="margin-left:15%;">Move the cursor to the end of the current line.</p> <p style="margin-left:11%;"><b>beginpara</b></p> <p style="margin-left:15%;">Move the cursor to the beginning of the current paragraph.</p> <p style="margin-left:11%;"><b>endpara</b></p> <p style="margin-left:15%;">Move the cursor to the end of the current paragraph.</p> <p style="margin-left:11%;"><b>findbracket</b></p> <p style="margin-left:15%;">Move the cursor to the matching bracket (brace, parenthesis, etc.) of the one under the cursor.</p> <p style="margin-left:11%;"><b>scrollup</b></p> <p style="margin-left:15%;">Scroll up one line of text from the current position.</p> <p style="margin-left:11%;"><b>scrolldown</b></p> <p style="margin-left:15%;">Scroll down one line of text from the current position.</p> <p style="margin-left:11%;"><b>prevbuf</b></p> <p style="margin-left:15%;">Switch to editing/viewing the previous buffer when using multibuffer mode.</p> <p style="margin-left:11%;"><b>nextbuf</b></p> <p style="margin-left:15%;">Switch to editing/viewing the next buffer when using multibuffer mode.</p> <p style="margin-left:11%;"><b>verbatim</b></p> <p style="margin-left:15%;">Insert the next character verbatim into the file.</p> <p style="margin-left:11%;"><b>tab</b></p> <p style="margin-left:15%;">Insert a tab at the current cursor location.</p> <p style="margin-left:11%;"><b>enter</b></p> <p style="margin-left:15%;">Insert a new line below the current one.</p> <p style="margin-left:11%;"><b>delete</b></p> <p style="margin-left:15%;">Delete the character under the cursor.</p> <p style="margin-left:11%;"><b>fulljustify</b></p> <p style="margin-left:15%;">Justify the entire current file.</p> <p style="margin-left:11%;"><b>wordcount</b></p> <p style="margin-left:15%;">Count the number of words in the current buffer.</p> <p style="margin-left:11%;"><b>refresh</b></p> <p style="margin-left:15%;">Refresh the screen.</p> <p style="margin-left:11%;"><b>undo</b></p> <p style="margin-left:15%;">Undo the text action peformed (add text, delete text, etc).</p> <p style="margin-left:11%;"><b>redo</b></p> <p style="margin-left:15%;">Redo the last undone action (i.e., undo an undo).</p> <p style="margin-left:11%;"><b>suspend</b></p> <p style="margin-left:15%;">Suspend the editor (if the suspend function is enabled, see the "suspendenable" entry below).</p> <p style="margin-left:11%;"><b>casesens</b></p> <p style="margin-left:15%;">Toggle case sensitivity in searching (search/replace menus only).</p> <p style="margin-left:11%;"><b>regexp</b></p> <p style="margin-left:15%;">Toggle whether searching/replacing is based on literal strings or regular expressions.</p> <p style="margin-left:11%;"><b>prevhistory</b></p> <p style="margin-left:15%;">Show the previous history entry in the prompt menus (e.g. search).</p> <p style="margin-left:11%;"><b>nexthistory</b></p> <p style="margin-left:15%;">Show the next history entry in the prompt menus (e.g. search).</p> <p style="margin-left:11%;"><b>dontreplace</b></p> <p style="margin-left:15%;">Switch back to searching instead of replacing.</p> <p style="margin-left:11%;"><b>gototext</b></p> <p style="margin-left:15%;">Search for files matching a string in the file browser (reading or writing files).</p> <p style="margin-left:11%;"><b>dosformat</b></p> <p style="margin-left:15%;">When writing a file, switch to writing a DOS format (CR/LF).</p> <p style="margin-left:11%;"><b>macformat</b></p> <p style="margin-left:15%;">When writing a file, switch to writing a Mac format.</p> <p style="margin-left:11%;"><b>append</b></p> <p style="margin-left:15%;">When writing a file, append to the end instead of overwriting.</p> <p style="margin-left:11%;"><b>prepend</b></p> <p style="margin-left:15%;">When writing a file, ’prepend’ (write at the beginning) instead of overwriting.</p> <p style="margin-left:11%;"><b>backup</b></p> <p style="margin-left:15%;">When writing a file, create a backup of the current file.</p> <p style="margin-left:11%;"><b>firstfile</b></p> <p style="margin-left:15%;">Move to the first file when using the file browser (reading or writing files).</p> <p style="margin-left:11%;"><b>lastfile</b></p> <p style="margin-left:15%;">Move to the last file when using the file browser (reading or writing files).</p> <p style="margin-left:11%;"><b>nohelp</b></p> <p style="margin-left:15%;">Toggle showing/hiding the two-line list of key bindings at the bottom of the screen.</p> <p style="margin-left:11%;"><b>constupdate</b></p> <p style="margin-left:15%;">Constantly display the current line, column, word positions.</p> <p style="margin-left:11%;"><b>morespace</b></p> <p style="margin-left:15%;">Toggle showing/hiding the blank line which ’separates’ the ’title’ from the file text.</p> <p style="margin-left:11%;"><b>smoothscroll</b></p> <p style="margin-left:15%;">Toggle smooth scrolling when moving via the arrow keys.</p> <p style="margin-left:11%;"><b>whitespacedisplay</b></p> <p style="margin-left:15%;">Toggle whether whitespace is shown.</p> <p style="margin-left:11%;"><b>smarthome</b></p> <p style="margin-left:15%;">Toggle whether the smart home key function is enabled.</p> <p style="margin-left:11%;"><b>autoindent</b></p> <p style="margin-left:15%;">Toggle whether new lines will contain the same amount of whitespace as the line above.</p> <p style="margin-left:11%;"><b>cuttoend</b></p> <p style="margin-left:15%;">Toggle whether cutting text will cut the whole line or just from the current cursor position to the end of the line.</p> <p style="margin-left:11%;"><b>nowrap</b></p> <p style="margin-left:15%;">Toggle whether long lines will be wrapped to the next line.</p> <p style="margin-left:11%;"><b>suspendenable</b></p> <p style="margin-left:15%;">Toggle whether the suspend sequence (normally ^Z) will suspend the editor window.</p> <p style="margin-left:11%; margin-top: 1em">Valid menu sections are: <b><br> main</b></p> <p style="margin-left:15%;">The main editor window where text is entered.</p> <p style="margin-left:11%;"><b>search</b></p> <p style="margin-left:15%;">The search menu (AKA whereis).</p> <p style="margin-left:11%;"><b>replace</b></p> <p style="margin-left:15%;">The ’search to replace’ menu.</p> <p style="margin-left:11%;"><b>replacewith</b></p> <p style="margin-left:15%;">The ’replace with’ menu, which comes up after ’search to replace’.</p> <p style="margin-left:11%;"><b>gotoline</b></p> <p style="margin-left:15%;">The ’goto line (and column)’ menu.</p> <p style="margin-left:11%;"><b>writeout</b></p> <p style="margin-left:15%;">The ’write file’ menu.</p> <p style="margin-left:11%;"><b>insert</b></p> <p style="margin-left:15%;">The ’insert file’ menu.</p> <p style="margin-left:11%;"><b>extcmd</b></p> <p style="margin-left:15%;">The menu for inserting output from an external comman, reached from the insert menu.</p> <p style="margin-left:11%;"><b>help</b></p> <p style="margin-left:15%;">The help menu.</p> <p style="margin-left:11%;"><b>spell</b></p> <p style="margin-left:15%;">The interactive spell checker Yes/no menu.</p> <p style="margin-left:11%;"><b>browser</b></p> <p style="margin-left:15%;">The file browser for inserting or writing a file.</p> <p style="margin-left:11%;"><b>whereisfile</b></p> <p style="margin-left:15%;">The ’search for a file’ menu in the file browser.</p> <p style="margin-left:11%;"><b>gotodir</b></p> <p style="margin-left:15%;">The ’go to directory’ menu.</p> <p style="margin-left:11%;"><b>all</b></p> <p style="margin-left:15%;">A special name meaning: apply to all menus where this function exists.</p> <p style="margin-left:11%;"><b>unbind</b> <i>key menu</i></p> <p style="margin-left:15%;">Unbind the key <i>key</i> from the menu named <i>menu</i> or from all menus by using <i>all</i>. Same key syntax as for binding. Rebinds the key <i>key</i> to a new function named <i>function</i> in the context of menu <i>menu</i>. The format of <i>key</i> should be one of:</p> <h2>FILES <a name="FILES"></a> </h2> <p style="margin-left:11%; margin-top: 1em"><i>SYSCONFDIR/nanorc</i></p> <p style="margin-left:22%;">System-wide configuration file</p> <p style="margin-left:11%;"><i>~/.nanorc</i></p> <p style="margin-left:22%;">Per-user configuration file</p> <h2>SEE ALSO <a name="SEE ALSO"></a> </h2> <p style="margin-left:11%; margin-top: 1em"><b>nano</b>(1) <i><br> /usr/share/doc/nano/examples/nanorc.sample</i> (or equivalent on your system)</p> <h2>AUTHOR <a name="AUTHOR"></a> </h2> <p style="margin-left:11%;">Chris Allegretta <chrisa@asty.org>, et al (see <i>AUTHORS</i> and <i>THANKS</i> for details). This manual page was originally written by Jordi Mallach <jordi@gnu.org>, for the Debian system (but may be used by others).</p> <hr> </body> </html> man-html/fr/nanorc.5.html 0000644 00000114013 14711163014 0011177 0 ustar 00 <!-- Creator : groff version 1.18.1 --> <!-- CreationDate: Fri Nov 27 00:08:49 2009 --> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta name="Content-Style" content="text/css"> <title>NANORC</title> </head> <body> <h1 align=center>NANORC</h1> <a href="#NOM">NOM</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> <a href="#OPTIONS">OPTIONS</a><br> <a href="#FICHIERS">FICHIERS</a><br> <a href="#VOIR AUSSI">VOIR AUSSI</a><br> <a href="#AUTEUR">AUTEUR</a><br> <a href="#TRADUCTION">TRADUCTION</a><br> <hr> <a name="NOM"></a> <h2>NOM</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>nanorc − fichier de configuration de l’éditeur nano du projet GNU</p> </td> </table> <a name="DESCRIPTION"></a> <h2>DESCRIPTION</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Cette page de manuel décrit brièvement le fichier de configuration de l’éditeur <b>nano</b> GNU.</p> <!-- INDENTATION --> <p><b>nano</b> est un petit éditeur sympathique et libre, qui vise à remplacer Pico, l’éditeur par défaut du logiciel non libre Pine. <b>nano</b> ne se contentant pas de copier l’interface et l’ergonomie de Pico, il offre également certaines fonctionnalités manquantes (ou désactivées par défaut) de Pico. Ces fonctionnalités sont, par exemple, les fonctions de recherche et de remplacement et la possibilité de sauter directement à une ligne et à une colonne précise.</p> <!-- INDENTATION --> <p>Le fichier <i>nanorc</i> contient les paramètres par défaut de <b>nano</b>. Il ne doit pas être au format DOS ou Mac. Lors de son démarrage, nano commencera par lire le fichier de configuration général <i>SYSCONFDIR/nanorc</i>, puis lira le fichier de configuration personnel de l’utilisateur <i>~/.nanorc</i>.</p> </td> </table> <a name="OPTIONS"></a> <h2>OPTIONS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Le fichier de configuration accepte une série de commandes <b>set</b> (activer) et <b>unset</b> (désactiver), qui permettent de définir le paramétrage de nano au démarrage sans avoir à utiliser d’options de ligne de commande. De plus, les mots clefs <b>syntax</b> (syntaxe), <b>color</b> (couleur) et <b>icolor</b> (couleur insensible à la casse) sont utilisés pour définir les règles de colorisation pour différents motifs de texte. <b>nano</b> lit une commande par ligne.</p> <!-- INDENTATION --> <p>Les options du fichier de configuration ont priorité sur les valeurs par défaut utilisées par nano. Les options de la ligne de commande sont prioritaires par rapport aux options du fichier de configuration. Les options sont désactivées (unset) par défaut, sauf les options prenant un argument.</p> <!-- INDENTATION --> <p>Les apostrophes (« <i>’</i> ») et les guillemets droits (« <i>"</i> ») présents dans des chaînes de caractères utilisées comme paramètres n’ont pas besoin d’être précédées d’une barre oblique inversée (« <i>\</i> »). La chaîne sera terminée par le dernier guillemet droit. Par exemple, pour l’option <b>brackets</b>, "<i>"’)>]}</i>" correspondra à <i>"</i>, <i>’</i>, <i>)</i>, <i>></i>, <i>]</i> et <i>}</i>.</p> <!-- INDENTATION --> <p>Les commandes et arguments reconnus sont :</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset autoindent</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Active l’indentation automatique.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset backup</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Crée des copies de sécurité nommées <i>nom_du_fichier~</i>.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set backupdir</b> <i>répertoire</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Définit le répertoire utilisé par <b>nano</b> pour enregistrer les copies de sécurité uniques, si l’enregistrement de copies de sécurité est activé.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset backwards</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Par défaut, les recherches se font vers l’arrière.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset boldtext</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Utilise des caractères gras à la place de la vidéo inverse.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set brackets</b> <i>chaîne</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Définit les caractères considérés comme des crochets fermants lors de la justification des paragraphes. Ces caractères ne doivent pas contenir d’espaces. Seules les ponctuations terminales, éventuellement suivies de crochets fermants, peuvent terminer une phrase.</p> <!-- INDENTATION --> <p>La valeur par défaut de cette option est : "<i>"’)>]}</i>".</p> <!-- INDENTATION --> <p>N.D.T. : reportez-vous au paragraphe sur l’option <b>punct</b> pour plus d’informations.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset casesensitive</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Par défaut, les recherches ne tiennent pas compte de la casse.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset const</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Affiche en permanence la position du curseur dans la ligne d’état.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset cut</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Par défaut, coupe le texte du curseur à la fin de la ligne, au lieu de couper la ligne entière.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set fill</b> <i>n</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Passe automatiquement à la ligne une fois arrivé à la colonne <i>n</i>. Si la valeur indiquée est de 0 ou moins, le point de passage à la ligne aura lieu à la taille de l’écran moins <i>n</i>. Cela permet de faire varier le point de passage à la ligne lorsque l’on change la taille de l’écran. La valeur par défaut est de −8.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset historylog</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Active l’utilisation de <i>~/.nano_history</i> pour enregistrer et relire les chaînes ayant fait l’objet d’une recherche ou d’un remplacement.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set matchbrackets</b> <i>chaîne</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Définit les crochets ouvrants et fermant pour la recherche de crochets correspondants. Cette liste ne doit pas contenir de blancs. L’ensemble des crochets ouvrants doit être indiqué en premier, suivi de l’ensemble des crochets fermant, qui doit être dans le même ordre. La valeur par défaut de cette option est "<i>(<[{)>]}</i>".</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset morespace</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Utiliser la ligne blanche située sous la ligne de titre comme espace supplémentaire d’édition.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset mouse</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Active l’utilisation de la souris, si elle est disponible pour votre système. Lorsque celle-ci est activée, il est possible d’utiliser la souris pour positionner le curseur, pour marquer le texte (avec un double-clic) et pour lancer les fonctions correspondant aux raccourcis. Il est possible d’utiliser la souris sous X Window ou en mode console avec gpm.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset multibuffer</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Mode multi-espace : permet de charger les fichiers dans leur propre espace.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset noconvert</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Pas de conversion depuis les formats DOS et Mac.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset nofollow</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Ne suit pas les liens symboliques lors de l’écriture des fichiers.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset nohelp</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Désactive les lignes d’aide affichée en bas de l’écran.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset nonewlines</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Ne pas ajouter de passage à la ligne à la fin des fichiers.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset nowrap</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Désactive le passage automatique à la ligne.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set operatingdir</b> <i>répertoire</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p><b>nano</b> ne lira et n’écrira des fichiers qu’à l’intérieur du <i>répertoire</i> et de ses sous-répertoires. De plus, celui-ci devient le répertoire courant, afin que les fichiers soient lus depuis ce répertoire. Par défaut, cette fonction est désactivée.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset preserve</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Préserve les séquences XON et XOFF (^Q et ^S).</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set punct</b> <i>chaîne</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Définit les caractères interprétés comme des ponctuations terminales lors de la justification des paragraphes. Ces caractères ne peuvent inclure de blancs. Seules les ponctuations terminales, éventuellement suivies de crochets fermants, peuvent terminer une phrase. La valeur par défaut de cette option est "<i>!.?</i>".</p> <!-- INDENTATION --> <p>N.D.T. : ce réglage permet, lors de la justification, de conserver 2 espaces au lieu d’une derrière les ponctuations terminales, ce qui correspond aux normes typographiques anglo-saxonnes, mais n’a pas lieu d’être en français. Pour le français, le plus simple est d’indiquer, dans le fichier nanorc, une chaîne vide pour ce paramètre.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset quickblank</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Effacement rapide de la ligne d’état. Les messages affichés par la ligne d’état disparaîtront après une frappe clavier au lieu de 25.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set quotestr</b> <i>chaîne</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Définit le préfixe par défaut utilisé pour les citations dans les courriers électroniques. Ce préfixe est utilisé pour réaliser une justification correcte de ces citations. Il s’agira, si votre système le permet, d’une expression rationnelle étendue. Dans le cas contraire, il s’agira d’une chaîne de texte brut. Si vous disposez des expressions rationnelles, la valeur par défaut de cette option sera "<i>^([ \t]*[#:>\|}])+</i>", sinon, ce sera "> ". Notez que le « \t » ci-dessus correspond à un caractère de tabulation.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset rebinddelete</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Interprète différemment la touche « Supprimer », afin que les touches « Effacement arrière » et « Supprimer » fonctionnent correctement. Vous ne devriez avoir besoin de cette option que si, sur votre système, la touche « Effacement arrière » produit l’effet de la touche « Supprimer ».</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset rebindkeypad</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Interprète les touches du pavé numérique afin qu’elles fonctionnent toutes correctement. Vous ne devriez utiliser cette option que si ce n’est pas le cas, car nano ne sera plus capable d’utiliser la souris correctement lorsque cette option sera activée.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset regexp</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Utilise par défaut des expressions rationnelles étendues pour les recherches.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset smarthome</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Rend plus malin le fonctionnement de la touche « Début ». Lorsque cette touche est pressée à n’importe quel endroit excepté au tout début du texte d’une ligne (i. e. au premier caractère non blanc), le curseur se positionnera au début du texte de la ligne (qu’il soit en avant ou en arrière). Si le curseur est déjà là, il se placera au vrai début de la ligne.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset smooth</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Active le défilement ligne-par-ligne du texte.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set speller</b> <i>programme</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Utilise le correcteur orthographique <i>programme</i> au lieu du correcteur intégré, qui s’appuie sur <i>spell</i>.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset suspend</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Autorise à suspendre <b>nano</b>.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set tabsize</b> <i>n</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Utilise une taille de tabulation de <i>n</i> colonnes. Cette valeur doit être strictement supérieure à 0. La valeur par défaut est de 8.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset tabstospaces</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Convertit les tabulations clavier en espaces.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset tempfile</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>S’il a été modifié, le fichier sera sauvegardé automatiquement en quittant, sans demande de confirmation.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset view</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Interdit de modifier les fichiers.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set whitespace</b> <i>chaîne</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Définit les deux caractères utilisés pour afficher les premiers caractères des tabulations et des espaces. Ces deux caractères doivent être mono-colonne.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>set/unset wordbounds</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Détection plus précise des limites de mots, obtenue en considérant les caractères de ponctuation comme faisant partie des mots.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>syntax</b> <i>chaîne</i> <b>["</b><i>motif_de_fichier</i><b>" ... ]</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Définit une syntaxe nommée <i>chaîne</i> qui pourra être activé via l’option <b>-Y</b> (ou <b>--syntax</b>) ou qui sera automatiquement activée si le nom du fichier en cours correspond à l’expression rationnelle étendue <i>motif_de_fichier</i>. Toutes les instructions suivantes de colorisation <b>color</b> ou <b>icolor</b> s’appliqueront à cette syntaxe, jusqu’à la définition d’une nouvelle syntaxe.</p> <!-- INDENTATION --> <p>La syntaxe nommée <i>none</i> (aucune) est réservée ; si elle est indiquée dans la ligne de commande, cela revient à ne définir aucune syntaxe. La syntaxe nommée <i>default</i> (par défaut) est spéciale, elle ne nécessite aucun motif de <i>motif_de_fichier</i>, et s’applique aux fichiers ne correspondant à aucun des <i>motif_de_fichier</i> des autres syntaxes.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>color</b> <i>couleur_texte</i><b>[,</b><i>couleur_fond</i><b>]</b> <i>motif</i> <b>...</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Pour la syntaxe en cours, affiche toutes les expressions correspondant à l’expression rationnelle étendue <i>motif</i> en utilisant la couleur de texte <i>couleur_texte</i> et la couleur de fond <i>couleur_fond</i>, l’une de ces deux couleurs au moins devant être définie. Les couleurs acceptées par <b>nano</b> pour le texte et le fond sont : <i>white</i> (blanc), <i>black</i> (noir), <i>red</i> (rouge), <i>blue</i> (bleu), <i>green</i> (vert), <i>yellow</i> (jaune), <i>magenta</i>, et <i>cyan</i>. Pour la couleur du texte, vous pouvez ajouter à ces couleurs le préfixe <i>bright</i> (lumineux) pour obtenir une couleur plus lumineuse. Si votre terminal est capable de gérer la transparence, ne pas spécifier de <i>couleur_fond</i> indique à <b>nano</b> d’essayer d’utiliser un fond transparent.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>icolor</b> <i>couleur_texte</i><b>[,</b><i>couleur_fond</i><b>]</b> <i>motif</i> <b>...</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Comme ci-dessus, mais la recherche des motifs est effectuée sans tenir compte de la casse.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>color</b> <i>couleur_texte</i><b>[,</b><i>couleur_fond</i><b>] start="</b><i>motif_début</i><b>" end="</b><i>motif_fin</i><b>"</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Affiche les expressions commençant par l’expression rationnelle étendue <i>motif_début</i> et se terminant par l’expression rationnelle étendue <i>motif_fin</i> en utilisant la couleur de texte <i>couleur_texte</i> et la couleur de fond <i>couleur_fond</i>, l’une de ces deux couleurs au moins devant être définie. Cela permet à la colorisation syntaxique de s’étendre sur plusieurs lignes. Notez que toutes les occurrences successives de <i>motif_début</i> après le <i>motif_début</i> initial seront surlignées jusqu’à la prochaine instance de <i>motif_fin</i>.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>icolor</b> <i>couleur_texte</i><b>[,</b><i>couleur_fond</i><b>] start="</b><i>motif_début</i><b>" end="</b><i>motif_fin</i><b>"</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Comme ci-dessus, mais la recherche des motifs est effectuée sans tenir compte de la casse.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>include</b> <i>fichier_de_syntaxes</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="16%"></td> <td width="83%"> <p>Lit le fichier <i>fichier_de_syntaxes</i> contenant une liste autosuffisante de définitions de syntaxes. Ce fichier ne doit contenir que des commandes <b>syntax</b>, <b>color</b> et <b>icolor</b>.</p> </td> </table> <a name="FICHIERS"></a> <h2>FICHIERS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><i>$SYSCONFDIR/nanorc</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Fichier de configuration général</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><i>~/.nanorc</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Fichier de configuration personnel</p> </td> </table> <a name="VOIR AUSSI"></a> <h2>VOIR AUSSI</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>nano</b>(1)</p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><i>/usr/share/doc/nano/examples/nanorc.sample</i> (ou son équivalent sur votre système)</p> </td> </table> <a name="AUTEUR"></a> <h2>AUTEUR</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Chris Allegretta <chrisa@asty.org> et d’autres (voir les fichiers <i>AUTHORS</i> et <i>THANKS</i> pour plus d’information). Cette page de manuel a été initialement rédigée par Jordi Mallach <jordi@gnu.org> pour le système Debian (mais elle peut être utilisée par d’autres).</p> </td> </table> <a name="TRADUCTION"></a> <h2>TRADUCTION</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Cette adaptation française a été réalisée par Jean-Philippe Guérard <jean-philippe.guerard@tigreraye.org> le 29 novembre 2007 à partir de la version 1.56 du 11 octobre 2007 de la page de manuel de nanorc (pour la version 2.0.0 de nano). Cette page a été relue par Gérard Delafond.</p> <!-- INDENTATION --> <p>Un maximum de soin a été apporté lors de l’élaboration de cette traduction ; néanmoins, quelques imperfections peuvent subsister. Si vous en rencontrez, que ce soit dans la version française ou dans la version originale, n’hésitez pas à les signaler à l’auteur ou au traducteur.</p> <!-- INDENTATION --> <p>La version originale la plus à jour de ce document est toujours consultable via la commande :</p> <!-- INDENTATION --> <p>LANGUAGE=en man nano</p> </td> </table> <hr> </body> </html> man-html/fr/rnano.1.html 0000644 00000022152 14711163014 0011032 0 ustar 00 <!-- Creator : groff version 1.18.1 --> <!-- CreationDate: Fri Aug 14 22:53:58 2009 --> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta name="Content-Style" content="text/css"> <title>RNANO</title> </head> <body> <h1 align=center>RNANO</h1> <a href="#NOM">NOM</a><br> <a href="#SYNOPSIS">SYNOPSIS</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> <a href="#OPTIONS">OPTIONS</a><br> <a href="#BOGUES">BOGUES</a><br> <a href="#SITE INTERNET">SITE INTERNET</a><br> <a href="#AUTEUR">AUTEUR</a><br> <a href="#TRADUCTION">TRADUCTION</a><br> <hr> <a name="NOM"></a> <h2>NOM</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>rnano − Le mode restreint de NAno un NOuvel éditeur, un clone libre et amélioré de Pico</p> </td> </table> <a name="SYNOPSIS"></a> <h2>SYNOPSIS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>rnano</b> <i>[OPTIONS] [[+LIGNE,COLONNE] FICHIER]...</i></p> </td> </table> <a name="DESCRIPTION"></a> <h2>DESCRIPTION</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Cette page de manuel décrit brièvement la commande <b>rnano</b>.</p> <!-- INDENTATION --> <p><b>nano</b> est un éditeur petit, sympathique et libre, qui vise à remplacer Pico, l’éditeur par défaut du logiciel non libre Pine. <b>nano</b> ne se contentant pas de copier l’interface et l’ergonomie de Pico, il offre également certaines fonctions manquantes (ou désactivées par défaut) dans Pico. Ces fonctionnalités sont, par exemple, les fonctions de recherche et de remplacement, et la possibilité de sauter directement à une ligne et à une colonne précise..</p> <!-- INDENTATION --> <p><b>rnano</b> est une version de <b>nano</b> fonctionnant en mode restreint, qui ne permet d’éditer que les fichiers indiqués et qui n’autorise pas l’utilisateur à accéder au système de fichier ou à un interpréteur de commandes.</p> <!-- INDENTATION --> <p>En mode restreint, <b>nano</b> refusera :</p> </td> </table> <!-- TABS --> <table width="100%" border=0 rules="none" frame="void" cols="3" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="2%"> <p>•</p> </td> <td width="85%"> <p>de lire ou d’écrire dans un fichier n’ayant pas été indiqué dans la ligne de commande ;</p> </td> <tr valign="top" align="left"> <td width="11%"></td> <td width="2%"> <p>•</p> </td> <td width="85%"> <p>de lire un fichier nanorc ;</p> </td> <tr valign="top" align="left"> <td width="11%"></td> <td width="2%"> <p>•</p> </td> <td width="85%"> <p>de permettre de suspendre l’édition ;</p> </td> <tr valign="top" align="left"> <td width="11%"></td> <td width="2%"> <p>•</p> </td> <td width="85%"> <p>de permettre d’ajouter en début ou en fin d’un fichier, ou de l’enregistrer sous un nom différent ;</p> </td> <tr valign="top" align="left"> <td width="11%"></td> <td width="2%"> <p>•</p> </td> <td width="85%"> <p>l’utilisation de copies de sécurité ou de la correction orthographique.</p> </td> </table> <a name="OPTIONS"></a> <h2>OPTIONS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>+</b><i>LIGNE</i><b>,</b><i>COLONNE</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Démarre avec le curseur positionné à la colonne <i>COLONNE</i> de la ligne <i>LIGNE</i> (l’un des deux, au moins, devant être spécifié) au lieu de démarrer à la colonne 1, ligne 1.</p> </td> </table> <!-- TABS --> <table width="100%" border=0 rules="none" frame="void" cols="5" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="2%"> <p><b>−?</b></p> </td> <td width="13%"></td> <td width="35%"> <p>Identique à <b>-h (−−help)</b>.</p> </td> <td width="36%"> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−h (−−help)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Affiche un résumé des options de lancement de nano, puis s’arrête.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−V (−−version)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Affiche la version, puis s’arrête.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Reportez-vous à la page de manuel <b>nano</b>(1) si vous souhaitez consulter la documentation complète de <b>nano</b>.</p> </td> </table> <a name="BOGUES"></a> <h2>BOGUES</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Merci de nous faire parvenir vos commentaires et de nous signaler les bogues, en écrivant, en anglais, à <b>nano@nano-editor.org</b>.</p> <!-- INDENTATION --> <p>La liste de discussion anglophone <b>nano</b> est disponible à l’adresse <b>nano-devel@gnu.org</b>.</p> <!-- INDENTATION --> <p>Pour vous abonner, envoyez un courrier électronique à <b>nano-devel-request@gnu.org</b>, ayant pour objet « subscribe ».</p> <!-- INDENTATION --> <p>N’hésitez pas également à envoyez vos commentaires, suggestions et corrections relatives à l’adaptation française de cette page de manuel ou du logiciel à <b>jean-philippe.guerard@tigreraye.org</b>.</p> </td> </table> <a name="SITE INTERNET"></a> <h2>SITE INTERNET</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>http://www.nano-editor.org/</p> </td> </table> <a name="AUTEUR"></a> <h2>AUTEUR</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Chris Allegretta <chrisa@asty.org> et d’autres (voir le fichier <i>AUTHORS</i>). Cette page de manuel a été initialement rédigée par Thijs Kinkhorst <thijs@kinkhorst.com>, pour le système GNU Debian (mais elle peut être utilisée par d’autres).</p> </td> </table> <a name="TRADUCTION"></a> <h2>TRADUCTION</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Cette adaptation française a été réalisée par Jean-Philippe Guérard <jean-philippe.guerard@tigreraye.org> le 29 novembre 2007 à partir de la version 1.19 du 6 novembre 2007 de la page de manuel de rnano (pour la version 2.0.0 de nano).</p> <!-- INDENTATION --> <p>Un maximum de soin a été apporté lors de l’élaboration de cette traduction ; néanmoins, quelques imperfections peuvent subsister. Si vous en rencontrez, que ce soit dans la version française ou dans la version originale, n’hésitez pas à les signaler à l’auteur ou au traducteur.</p> <!-- INDENTATION --> <p>La version originale la plus à jour de ce document est toujours consultable via la commande :</p> <!-- INDENTATION --> <p>LANGUAGE=en man nano</p> </td> </table> <hr> </body> </html> man-html/fr/nano.1.html 0000644 00000102076 14711163014 0010654 0 ustar 00 <!-- Creator : groff version 1.18.1 --> <!-- CreationDate: Fri Nov 27 00:08:49 2009 --> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta name="Content-Style" content="text/css"> <title>NANO</title> </head> <body> <h1 align=center>NANO</h1> <a href="#NOM">NOM</a><br> <a href="#SYNOPSIS">SYNOPSIS</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> <a href="#OPTIONS">OPTIONS</a><br> <a href="#FICHIERS D’INITIALISATION">FICHIERS D’INITIALISATION</a><br> <a href="#NOTES">NOTES</a><br> <a href="#BOGUES">BOGUES</a><br> <a href="#SITE INTERNET">SITE INTERNET</a><br> <a href="#VOIR AUSSI">VOIR AUSSI</a><br> <a href="#AUTEUR">AUTEUR</a><br> <a href="#TRADUCTION">TRADUCTION</a><br> <hr> <a name="NOM"></a> <h2>NOM</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>nano − NAno un NOuvel éditeur, un clone libre et amélioré de Pico</p> </td> </table> <a name="SYNOPSIS"></a> <h2>SYNOPSIS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>nano</b> <i>[OPTIONS] [[+LIGNE,COLONNE] FICHIER]...</i></p> </td> </table> <a name="DESCRIPTION"></a> <h2>DESCRIPTION</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Cette page de manuel décrit brièvement la commande <b>nano</b>.</p> <!-- INDENTATION --> <p><b>nano</b> est un éditeur petit, sympathique et libre, qui vise à remplacer Pico, l’éditeur par défaut du logiciel non libre Pine. <b>nano</b> ne se contentant pas de copier l’interface et l’ergonomie de Pico, il offre également certaines fonctions manquantes (ou désactivées par défaut) dans Pico. Ces fonctionnalités sont, par exemple, les fonctions de recherche et de remplacement, et la possibilité de sauter directement à une ligne et à une colonne précise.</p> </td> </table> <a name="OPTIONS"></a> <h2>OPTIONS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>+</b><i>LIGNE</i><b>,</b><i>COLONNE</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Démarre avec le curseur positionné à la colonne <i>COLONNE</i> de la ligne <i>LIGNE</i> (l’un des deux, au moins, devant être spécifié) au lieu de démarrer à la colonne 1, ligne 1.</p> </td> </table> <!-- TABS --> <table width="100%" border=0 rules="none" frame="void" cols="5" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="2%"> <p><b>−?</b></p> </td> <td width="13%"></td> <td width="35%"> <p>Identique à <b>-h (−−help)</b>.</p> </td> <td width="36%"> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−A (−−smarthome)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Rend plus malin le fonctionnement de la touche « Début ». Lorsque l’on appuie sur cette touche à n’importe quel endroit excepté au tout début du texte d’une ligne (i. e. au premier caractère non blanc), le curseur se positionnera au début du texte de la ligne (qu’il soit en avant ou en arrière). Si le curseur est déjà là, il se placera au vrai début de la ligne.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−B (−−backup)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Lors de l’écriture d’un fichier, crée une copie de sécurité de la version précédente, en ajoutant un tilde (~) au nom du fichier.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−D (−−boldtext)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Utilise des caractères gras à la place de la vidéo inverse.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−C</b> <i>répertoire</i> <b>(−−backupdir=</b><i>répertoire</i><b>)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Définit le répertoire utilisé par <b>nano</b> pour enregistrer les copies de sécurité uniques si celles-ci sont activées.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−E (−−tabstospaces)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Convertit les tabulations clavier en espaces.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−F (−−multibuffer)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Active le mode multi-espace, autorisant l’édition simultanée de plusieurs fichiers, si ce mode est disponible.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−H (−−historylog)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Enregistre les chaînes ayant fait l’objet d’une recherche ou d’un remplacement dans le fichier <i>~/.nano_history</i> afin de permettre leur réutilisation. Ceci n’est possible que si <b>nano</b> est configuré pour utiliser les fichiers nanorc.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−I (−−ignorercfiles)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Ne pas utiliser pas les fichiers <i>SYSCONFDIR/nanorc</i> et <i>~/.nanorc</i> (si <b>nano</b> est capable de les utiliser).</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−K (−−rebindkeypad)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Interprète les touches du pavé numérique afin qu’elles fonctionnent toutes correctement. Vous ne devriez utiliser cette option que si ce n’est pas le cas, car nano ne sera plus capable d’utiliser la souris correctement lorsque cette option sera activée.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−L (−−nonewlines)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Ne pas ajouter de passage à la ligne à la fin des fichiers.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−N (−−noconvert)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Désactive la conversion automatique des fichiers depuis les formats Mac et DOS.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−O (−−morespace)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Utiliser la ligne blanche située sous la ligne de titre comme espace supplémentaire d’édition.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−Q</b> <i>chaîne</i> <b>(−−quotestr=</b><i>chaîne</i><b>)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Définit le préfixe par défaut des citations. Nano utilise ce préfixe pour réaliser une justification correcte des citations. Si nano est capable d’utiliser des expressions rationnelles, le préfixe par défaut sera "<i>^([ \t]*[#:>\|}])+</i>", sinon, ce sera "<i>></i> ". Dans l’expression rationnelle précédente, « <i>\t</i> » représente une tabulation.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−R (−−restricted)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Mode restreint : aucune lecture ou écriture de fichiers non indiqués sur la ligne de commande, pas de lecture des fichiers nanorc, interdiction de suspendre, interdiction d’ajouter au début, à la fin, de sauvegarder un fichier ayant déjà un nom sous un nom différent, d’utiliser une copie de sécurité ou le correcteur orthographique. Cette option peut aussi être activée en appelant <b>nano</b> sous un nom commençant par « r » (par exemple « rnano »).</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−S (−−smooth)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Active le défilement progressif. Le texte défilera ligne-par-ligne au lieu de défiler morceau-par-morceau.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−T</b> <i>nombre</i> <b>(−−tabsize=</b><i>nombre</i><b>)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Définit la taille (largeur) des tabulations en nombre de colonnes. Le nombre indiqué doit être strictement supérieur à 0. La valeur par défaut est de 8.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−U (−−quickblank)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Effacement rapide de la ligne d’état. Les messages affichés par la ligne d’état disparaîtront après une frappe clavier au lieu de 25. Notez que l’option <b>-c</b> prend le pas sur cette option.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−V (−−version)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Affiche la version, puis s’arrête.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−W (−−wordbounds)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Détection plus précise des limites de mots, obtenue en considérant les caractères de ponctuation comme faisant partie des mots.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−Y</b> <i>chaîne</i> <b>(−−syntax=</b><i>chaîne</i><b>)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Indique quel mode de colorisation syntaxique adopter, parmi les modes définis dans le fichier <i>.nanorc</i>, si cette fonctionnalité est disponible.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−c (−−const)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Affiche en permanence la position du curseur. Notez que cette option prend le pas sur l’option <b>-U</b>.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−d (−−rebinddelete)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Interprète différemment la touche « Supprimer », afin que les touches « Effacement arrière » et « Supprimer » fonctionnent correctement. Vous ne devriez avoir besoin de cette option que si, sur votre système, la touche « Effacement arrière » produit l’effet de la touche « Supprimer ».</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−h (−−help)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Affiche un résumé des options de lancement de nano, puis s’arrête.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−i (−−autoindent)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Indentation automatique. Commence chaque nouvelle ligne au même niveau que la ligne précédente. Utile pour l’édition de code source.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−k (−−cut)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Coupe le texte du curseur à la fin de la ligne, au lieu de couper la ligne entière.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−l (−−nofollow)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Si le fichier édité est un lien symbolique, au lieu de le suivre, remplace le lien par le nouveau fichier. Sans doute utile pour éditer les fichiers de <i>/tmp</i>, non ?</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−m (−−mouse)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Active l’utilisation de la souris, si elle est disponible pour votre système. Lorsque celle-ci est activée, il est possible d’utiliser la souris pour positionner le curseur, pour marquer le texte (avec un double-clic) et pour lancer les fonctions correspondant aux raccourcis. Il est possible d’utiliser la souris sous X Window ou en mode console avec gpm.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−o</b> <i>répertoire</i> <b>(−−operatingdir=</b><i>répertoire</i><b>)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Définit le répertoire de travail. Demande à <b>nano</b> de mettre en place quelque chose de similaire à un environnement d’exécution restreint (<i>chroot</i>).</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−p (−−preserve)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Préserve les séquences XON et XOFF (^Q et ^S), afin qu’elle soient reçues par le terminal.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−r</b> <i>colonne</i> <b>(−−fill=</b><i>colonne</i><b>)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Passe automatiquement à la ligne une fois arrivé à la colonne <i>colonne</i>. Si la valeur indiquée est de 0 ou moins, le point de passage à la ligne aura lieu à la taille de l’écran moins <i>colonne</i>. Cela permet de faire varier le point de passage à la ligne lorsque l’on change la taille de l’écran. La valeur par défaut est de −8.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−s</b> <i>programme</i> <b>(−−speller=</b><i>programme</i><b>)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Choix d’un correcteur orthographique de remplacement.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−t (−−tempfile)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>S’il a été modifié, le fichier sera sauvegardé automatiquement sans demande de confirmation. Identique à l’option <b>-t</b> de Pico.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−v (−−view)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Mode visualisation (lecture seule).</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−w (−−nowrap)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Désactive le passage automatique à la ligne.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−x (−−nohelp)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Désactive la barre d’aide affichée en bas de l’écran.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−z (−−suspend)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Autorise à suspendre l’éditeur.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−a, −b, −e, −f, −g, −j</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Ignoré, pour être compatible avec Pico.</p> </td> </table> <a name="FICHIERS D’INITIALISATION"></a> <h2>FICHIERS D’INITIALISATION</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>nano</b> lit les fichiers d’initialisation dans l’ordre suivant : <i>SYSCONFDIR/nanorc</i>, puis <i>~/.nanorc</i>. Référez-vous à la page de manuel de <b>nanorc(5)</b> et au fichier d’exemple <i>nanorc.sample</i>, qui devraient tous les deux être livrés avec <b>nano</b>.</p> </td> </table> <a name="NOTES"></a> <h2>NOTES</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Si aucun correcteur orthographique de remplacement n’est indiqué dans la ligne de commande ou dans l’un des fichiers nanorc, <b>nano</b> prendra la commande indiquée par la variable d’environnement <b>SPELL</b> si elle est définie.</p> <!-- INDENTATION --> <p>Dans certains cas, <b>nano</b> essaiera de sauvegarder le fichier en cours d’édition dans un fichier de secours. Cela arrivera principalement si <b>nano</b> reçoit un signal SIGHUP ou SIGTERM, ou bien se trouve à court de mémoire. Le nom de ce fichier de secours sera <i>nano.save</i> si le fichier en cours n’avait pas encore de nom, ou sera composé du nom du fichier en cours suivi du suffixe « .save ». Si un fichier de ce nom existe déjà dans le répertoire, un « .save » et un nombre seront ajoutés à la fin du nom du fichier en cours afin de le rendre unique (par exemple, « .save.1 »). En mode multi-espace, <b>nano</b> réalisera une sauvegarde de tous les fichiers en cours dans leurs fichiers de secours respectifs.</p> </td> </table> <a name="BOGUES"></a> <h2>BOGUES</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Merci de nous faire parvenir vos commentaires et de nous signaler les bogues, en écrivant, en anglais, à <b>nano@nano-editor.org</b>.</p> <!-- INDENTATION --> <p>La liste de discussion anglophone <b>nano</b> est disponible à l’adresse <b>nano-devel@gnu.org</b>.</p> <!-- INDENTATION --> <p>Pour vous abonner, envoyez un courrier électronique à <b>nano-devel-request@gnu.org</b>, ayant pour objet « subscribe ».</p> <!-- INDENTATION --> <p>N’hésitez pas également à envoyez vos commentaires, suggestions et corrections relatives à l’adaptation française de cette page de manuel ou du logiciel à <b>jean-philippe.guerard@tigreraye.org</b>.</p> </td> </table> <a name="SITE INTERNET"></a> <h2>SITE INTERNET</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>http://www.nano-editor.org/</p> </td> </table> <a name="VOIR AUSSI"></a> <h2>VOIR AUSSI</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>nanorc</b>(5)</p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><i>/usr/share/doc/nano/</i> (ou son équivalent sur votre système)</p> </td> </table> <a name="AUTEUR"></a> <h2>AUTEUR</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Chris Allegretta <chrisa@asty.org> et d’autres (voir les fichiers <i>AUTHORS</i> et <i>THANKS</i> pour plus d’information). Cette page de manuel a été initialement rédigée par Jordi Mallach <jordi@gnu.org> pour le système Debian (mais elle peut être utilisée par d’autres).</p> </td> </table> <a name="TRADUCTION"></a> <h2>TRADUCTION</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Cette adaptation française a été réalisée par Jean-Philippe Guérard <jean-philippe.guerard@tigreraye.org> le 29 novembre 2007 à partir de la version 1.54 du 11 octobre 2007 de la page de manuel de nano 2.0.0. Cette page a été relue par Gérard Delafond.</p> <!-- INDENTATION --> <p>Un maximum de soin a été apporté lors de l’élaboration de cette traduction ; néanmoins, quelques imperfections peuvent subsister. Si vous en rencontrez, que ce soit dans la version française ou dans la version originale, n’hésitez pas à les signaler à l’auteur ou au traducteur.</p> <!-- INDENTATION --> <p>La version originale la plus à jour de ce document est toujours consultable via la commande :</p> <!-- INDENTATION --> <p>LANGUAGE=en man nano</p> </td> </table> <hr> </body> </html> man-html/rnano.1.html 0000644 00000015370 14711163014 0010427 0 ustar 00 <!-- Creator : groff version 1.18.1 --> <!-- CreationDate: Fri Aug 14 22:53:58 2009 --> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta name="Content-Style" content="text/css"> <title>RNANO</title> </head> <body> <h1 align=center>RNANO</h1> <a href="#NAME">NAME</a><br> <a href="#SYNOPSIS">SYNOPSIS</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> <a href="#OPTIONS">OPTIONS</a><br> <a href="#BUGS">BUGS</a><br> <a href="#HOMEPAGE">HOMEPAGE</a><br> <a href="#AUTHOR">AUTHOR</a><br> <hr> <a name="NAME"></a> <h2>NAME</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>rnano − Restricted mode for Nano’s ANOther editor, an enhanced free Pico clone</p> </td> </table> <a name="SYNOPSIS"></a> <h2>SYNOPSIS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>rnano</b> <i>[OPTIONS] [[+LINE,COLUMN] FILE]...</i></p> </td> </table> <a name="DESCRIPTION"></a> <h2>DESCRIPTION</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>This manual page briefly documents the <b>rnano</b> command.</p> <!-- INDENTATION --> <p><b>nano</b> is a small, free and friendly editor which aims to replace Pico, the default editor included in the non-free Pine package. Rather than just copying Pico’s look and feel, <b>nano</b> also implements some missing (or disabled by default) features in Pico, such as "search and replace" and "go to line and column number".</p> <!-- INDENTATION --> <p><b>rnano</b> is a restricted version of <b>nano</b>, which only edits specific files and doesn’t allow the user access to the filesystem or a command shell.</p> <!-- INDENTATION --> <p>In restricted mode, <b>nano</b> will <i>not</i>:</p> </td> </table> <!-- TABS --> <table width="100%" border=0 rules="none" frame="void" cols="4" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="1%"> <p>•</p> </td> <td width="1%"></td> <td width="85%"> <p>read or write to any file not specified on the command line;</p> </td> <tr valign="top" align="left"> <td width="11%"></td> <td width="1%"> <p>•</p> </td> <td width="1%"></td> <td width="85%"> <p>read any nanorc files;</p> </td> <tr valign="top" align="left"> <td width="11%"></td> <td width="1%"> <p>•</p> </td> <td width="1%"></td> <td width="85%"> <p>allow suspending;</p> </td> <tr valign="top" align="left"> <td width="11%"></td> <td width="1%"> <p>•</p> </td> <td width="1%"></td> <td width="85%"> <p>allow a file to be appended to, prepended to, or saved under a different name;</p> </td> <tr valign="top" align="left"> <td width="11%"></td> <td width="1%"> <p>•</p> </td> <td width="1%"></td> <td width="85%"> <p>use backup files or spell checking.</p> </td> </table> <a name="OPTIONS"></a> <h2>OPTIONS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>+</b><i>LINE</i><b>,</b><i>COLUMN</i></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Places cursor at line number <i>LINE</i> and column number <i>COLUMN</i> (at least one of which must be specified) on startup, instead of the default of line 1, column 1.</p> </td> </table> <!-- TABS --> <table width="100%" border=0 rules="none" frame="void" cols="5" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="2%"> <p><b>−?</b></p> </td> <td width="13%"></td> <td width="29%"> <p>Same as <b>-h (−−help)</b>.</p> </td> <td width="42%"> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−h (−−help)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Show a summary of command line options and exit.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p><b>−V (−−version)</b></p></td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="21%"></td> <td width="77%"> <p>Show the current version number and exit.</p> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>See the <b>nano</b>(1) manpage for the complete documentation of <b>nano</b>.</p> </td> </table> <a name="BUGS"></a> <h2>BUGS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Please send any comments or bug reports to <b>nano@nano-editor.org</b>.</p> <!-- INDENTATION --> <p>The <b>nano</b> mailing list is available from <b>nano-devel@gnu.org</b>.</p> <!-- INDENTATION --> <p>To subscribe, email to <b>nano-devel-request@gnu.org</b> with a subject of "subscribe".</p> </td> </table> <a name="HOMEPAGE"></a> <h2>HOMEPAGE</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>http://www.nano-editor.org/</p> </td> </table> <a name="AUTHOR"></a> <h2>AUTHOR</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="89%"> <p>Chris Allegretta <chrisa@asty.org>, et al (see AUTHORS for details). This manual page was originally written by Thijs Kinkhorst <thijs@kinkhorst.com>, for the Debian system (but may be used by others).</p> </td> </table> <hr> </body> </html> man-html/nano.1.html 0000644 00000033772 14711163014 0010253 0 ustar 00 <!-- Creator : groff version 1.22.2 --> <!-- CreationDate: Mon Sep 15 20:41:55 2014 --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <meta name="Content-Style" content="text/css"> <style type="text/css"> p { margin-top: 0; margin-bottom: 0; vertical-align: top } pre { margin-top: 0; margin-bottom: 0; vertical-align: top } table { margin-top: 0; margin-bottom: 0; vertical-align: top } h1 { text-align: center } </style> <title>NANO</title> </head> <body> <h1 align="center">NANO</h1> <a href="#NAME">NAME</a><br> <a href="#SYNOPSIS">SYNOPSIS</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> <a href="#OPTIONS">OPTIONS</a><br> <a href="#INITIALIZATION FILE">INITIALIZATION FILE</a><br> <a href="#NOTES">NOTES</a><br> <a href="#BUGS">BUGS</a><br> <a href="#HOMEPAGE">HOMEPAGE</a><br> <a href="#SEE ALSO">SEE ALSO</a><br> <a href="#AUTHOR">AUTHOR</a><br> <hr> <h2>NAME <a name="NAME"></a> </h2> <p style="margin-left:11%; margin-top: 1em">nano − Nano’s ANOther editor, an enhanced free Pico clone</p> <h2>SYNOPSIS <a name="SYNOPSIS"></a> </h2> <p style="margin-left:11%; margin-top: 1em"><b>nano</b> <i>[OPTIONS] [[+LINE,COLUMN] FILE]...</i></p> <h2>DESCRIPTION <a name="DESCRIPTION"></a> </h2> <p style="margin-left:11%; margin-top: 1em">This manual page briefly documents the <b>nano</b> command.</p> <p style="margin-left:11%; margin-top: 1em"><b>nano</b> is a small, free and friendly editor which aims to replace Pico, the default editor included in the non-free Pine package. Rather than just copying Pico’s look and feel, <b>nano</b> also implements some missing (or disabled by default) features in Pico, such as "search and replace" and "go to line and column number".</p> <h2>OPTIONS <a name="OPTIONS"></a> </h2> <p style="margin-left:11%; margin-top: 1em"><b>+</b><i>LINE</i><b>,</b><i>COLUMN</i></p> <p style="margin-left:22%;">Places cursor at line number <i>LINE</i> and column number <i>COLUMN</i> (at least one of which must be specified) on startup, instead of the default of line 1, column 1.</p> <table width="100%" border="0" rules="none" frame="void" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p><b>−?</b></p></td> <td width="8%"></td> <td width="30%"> <p>Same as <b>-h (−−help)</b>.</p></td> <td width="48%"> </td></tr> </table> <p style="margin-left:11%;"><b>−A (−−smarthome)</b></p> <p style="margin-left:22%;">Make the Home key smarter. When Home is pressed anywhere but at the very beginning of non-whitespace characters on a line, the cursor will jump to that beginning (either forwards or backwards). If the cursor is already at that position, it will jump to the true beginning of the line.</p> <p style="margin-left:11%;"><b>−B (−−backup)</b></p> <p style="margin-left:22%;">When saving a file, back up the previous version of it to the current filename suffixed with a ~.</p> <p style="margin-left:11%;"><b>−C</b> <i>dir</i> <b>(−−backupdir=</b><i>dir</i><b>)</b></p> <p style="margin-left:22%;">Set the directory where <b>nano</b> puts unique backup files if file backups are enabled.</p> <p style="margin-left:11%;"><b>−D (−−boldtext)</b></p> <p style="margin-left:22%;">Use bold text instead of reverse video text.</p> <p style="margin-left:11%;"><b>−E (−−tabstospaces)</b></p> <p style="margin-left:22%;">Convert typed tabs to spaces.</p> <p style="margin-left:11%;"><b>−F (−−multibuffer)</b></p> <p style="margin-left:22%;">Enable multiple file buffers, if available.</p> <p style="margin-left:11%;"><b>−H (−−historylog)</b></p> <p style="margin-left:22%;">Log search and replace strings to <i>~/.nano_history</i>, so they can be retrieved in later sessions, if <i>nanorc</i> support is available.</p> <p style="margin-left:11%;"><b>−I (−−ignorercfiles)</b></p> <p style="margin-left:22%;">Don’t look at <i>SYSCONFDIR/nanorc</i> or <i>~/.nanorc</i>, if <i>nanorc</i> support is available.</p> <p style="margin-left:11%;"><b>−K (−−rebindkeypad)</b></p> <p style="margin-left:22%;">Interpret the numeric keypad keys so that they all work properly. You should only need to use this option if they don’t, as mouse support won’t work properly with this option enabled.</p> <p style="margin-left:11%;"><b>−L (−−nonewlines)</b></p> <p style="margin-left:22%;">Don’t add newlines to the ends of files.</p> <p style="margin-left:11%;"><b>−N (−−noconvert)</b></p> <p style="margin-left:22%;">Disable automatic conversion of files from DOS/Mac format.</p> <p style="margin-left:11%;"><b>−O (−−morespace)</b></p> <p style="margin-left:22%;">Use the blank line below the titlebar as extra editing space.</p> <p style="margin-left:11%;"><b>−P (−−poslog)</b></p> <p style="margin-left:22%;">Log & read location of cursor position.</p> <p style="margin-left:11%;"><b>−Q</b> <i>str</i> <b>(−−quotestr=</b><i>str</i><b>)</b></p> <p style="margin-left:22%;">Set the quoting string for justifying. The default is "<i>^([ \t]*[#:>\|}])+</i>" if extended regular expression support is available, or "<i>> </i>" otherwise. Note that <i>\t</i> stands for a Tab.</p> <p style="margin-left:11%;"><b>−R (−−restricted)</b></p> <p style="margin-left:22%;">Restricted mode: don’t read or write to any file not specified on the command line; read any <i>nanorc</i> files; allow suspending; allow a file to be appended to, prepended to, or saved under a different name if it already has one; or use backup files or spell checking. Also accessible by invoking <b>nano</b> with any name beginning with ’r’ (e.g. "rnano").</p> <p style="margin-left:11%;"><b>−S (−−smooth)</b></p> <p style="margin-left:22%;">Enable smooth scrolling. Text will scroll line-by-line, instead of the usual chunk-by-chunk behavior.</p> <p style="margin-left:11%;"><b>−T</b> <i>cols</i> <b>(−−tabsize=</b><i>cols</i><b>)</b></p> <p style="margin-left:22%;">Set the size (width) of a tab to <i>cols</i> columns. The value of <i>cols</i> must be greater than 0. The default value is 8.</p> <p style="margin-left:11%;"><b>−U (−−quickblank)</b></p> <p style="margin-left:22%;">Do quick statusbar blanking. Statusbar messages will disappear after 1 keystroke instead of 25. Note that <b>-c</b> overrides this.</p> <p style="margin-left:11%;"><b>−V (−−version)</b></p> <p style="margin-left:22%;">Show the current version number and exit.</p> <p style="margin-left:11%;"><b>−W (−−wordbounds)</b></p> <p style="margin-left:22%;">Detect word boundaries more accurately by treating punctuation characters as part of a word.</p> <p style="margin-left:11%;"><b>−Y</b> <i>str</i> <b>(−−syntax=</b><i>str</i><b>)</b></p> <p style="margin-left:22%;">Specify a specific syntax highlighting from the <i>nanorc</i> to use, if available.</p> <p style="margin-left:11%;"><b>−c (−−const)</b></p> <p style="margin-left:22%;">Constantly show the cursor position. Note that this overrides <b>-U</b>.</p> <p style="margin-left:11%;"><b>−d (−−rebinddelete)</b></p> <p style="margin-left:22%;">Interpret the Delete key differently so that both Backspace and Delete work properly. You should only need to use this option if Backspace acts like Delete on your system.</p> <p style="margin-left:11%;"><b>−h (−−help)</b></p> <p style="margin-left:22%;">Show a summary of command line options and exit.</p> <p style="margin-left:11%;"><b>−i (−−autoindent)</b></p> <p style="margin-left:22%;">Indent new lines to the previous line’s indentation. Useful when editing source code.</p> <p style="margin-left:11%;"><b>−k (−−cut)</b></p> <p style="margin-left:22%;">Enable cut from cursor to end of line.</p> <p style="margin-left:11%;"><b>−l (−−nofollow)</b></p> <p style="margin-left:22%;">If the file being edited is a symbolic link, replace the link with a new file instead of following it. Good for editing files in <i>/tmp</i>, perhaps?</p> <p style="margin-left:11%;"><b>−m (−−mouse)</b></p> <p style="margin-left:22%;">Enable mouse support, if available for your system. When enabled, mouse clicks can be used to place the cursor, set the mark (with a double click), and execute shortcuts. The mouse will work in the X Window System, and on the console when gpm is running.</p> <p style="margin-left:11%;"><b>−o</b> <i>dir</i> <b>(−−operatingdir=</b><i>dir</i><b>)</b></p> <p style="margin-left:22%;">Set operating directory. Makes <b>nano</b> set up something similar to a chroot.</p> <p style="margin-left:11%;"><b>−p (−−preserve)</b></p> <p style="margin-left:22%;">Preserve the XON and XOFF sequences (^Q and ^S) so they will be caught by the terminal.</p> <p style="margin-left:11%;"><b>−q (−−quiet)</b></p> <p style="margin-left:22%;">Do not report errors in the <i>nanorc</i> file and ask them to be acknowledged by pressing Enter at startup.</p> <p style="margin-left:11%;"><b>−r</b> <i>cols</i> <b>(−−fill=</b><i>cols</i><b>)</b></p> <p style="margin-left:22%;">Wrap lines at column <i>cols</i>. If this value is 0 or less, wrapping will occur at the width of the screen less <i>cols</i> columns, allowing the wrap point to vary along with the width of the screen if the screen is resized. The default value is −8.</p> <p style="margin-left:11%;"><b>−s</b> <i>prog</i> <b>(−−speller=</b><i>prog</i><b>)</b></p> <p style="margin-left:22%;">Enable alternative spell checker command.</p> <p style="margin-left:11%;"><b>−t (−−tempfile)</b></p> <p style="margin-left:22%;">Always save changed buffer without prompting. Same as Pico’s <b>-t</b> option.</p> <p style="margin-left:11%;"><b>−u (−−undo)</b></p> <p style="margin-left:22%;">Enable experimental generic-purpose undo code. By default, the undo and redo shortcuts are Meta-U and Meta-E, respectively.</p> <p style="margin-left:11%;"><b>−v (−−view)</b></p> <p style="margin-left:22%;">View file (read only) mode.</p> <p style="margin-left:11%;"><b>−w (−−nowrap)</b></p> <p style="margin-left:22%;">Disable wrapping of long lines.</p> <p style="margin-left:11%;"><b>−x (−−nohelp)</b></p> <p style="margin-left:22%;">Disable help screen at bottom of editor.</p> <p style="margin-left:11%;"><b>−z (−−suspend)</b></p> <p style="margin-left:22%;">Enable suspend ability.</p> <p style="margin-left:11%;"><b>−$ (−−softwrap)</b></p> <p style="margin-left:22%;">Enable ’soft wrapping’. <b>nano</b> will attempt to display the entire contents of a line, even if it is longer than the screen width. Since ’$’ normally refers to a variable in the Unix shell, you should specify this option last when using other options (e.g. ’nano −wS$’) or pass it separately (e.g. ’nano −wS −$’).</p> <p style="margin-left:11%;"><b>−a, −b, −e, −f, −g, −j</b></p> <p style="margin-left:22%;">Ignored, for compatibility with Pico.</p> <h2>INITIALIZATION FILE <a name="INITIALIZATION FILE"></a> </h2> <p style="margin-left:11%; margin-top: 1em"><b>nano</b> will read initialization files in the following order: <i>SYSCONFDIR/nanorc</i>, then <i>~/.nanorc</i>. Please see <b>nanorc(5)</b> and the example file <b>nanorc.sample</b>, both of which should be provided with <b>nano</b>.</p> <h2>NOTES <a name="NOTES"></a> </h2> <p style="margin-left:11%; margin-top: 1em">If no alternative spell checker command is specified on the command line or in one of the <i>nanorc</i> files, <b>nano</b> will check the <b>SPELL</b> environment variable for one.</p> <p style="margin-left:11%; margin-top: 1em">In some cases <b>nano</b> will try to dump the buffer into an emergency file. This will happen mainly if <b>nano</b> receives a SIGHUP or SIGTERM or runs out of memory. It will write the buffer into a file named <i>nano.save</i> if the buffer didn’t have a name already, or will add a ".save" suffix to the current filename. If an emergency file with that name already exists in the current directory, it will add ".save" plus a number (e.g. ".save.1") to the current filename in order to make it unique. In multibuffer mode, <b>nano</b> will write all the open buffers to their respective emergency files.</p> <h2>BUGS <a name="BUGS"></a> </h2> <p style="margin-left:11%; margin-top: 1em">Please send any comments or bug reports to <b>nano@nano-editor.org</b>.</p> <p style="margin-left:11%; margin-top: 1em">The <b>nano</b> mailing list is available from <b>nano-devel@gnu.org</b>.</p> <p style="margin-left:11%; margin-top: 1em">To subscribe, email to <b>nano-devel-request@gnu.org</b> with a subject of "subscribe".</p> <h2>HOMEPAGE <a name="HOMEPAGE"></a> </h2> <p style="margin-left:11%; margin-top: 1em">http://www.nano-editor.org/</p> <h2>SEE ALSO <a name="SEE ALSO"></a> </h2> <p style="margin-left:11%; margin-top: 1em"><b>nanorc</b>(5) <i><br> /usr/share/doc/nano/</i> (or equivalent on your system)</p> <h2>AUTHOR <a name="AUTHOR"></a> </h2> <p style="margin-left:11%; margin-top: 1em">Chris Allegretta <chrisa@asty.org>, et al (see <i>AUTHORS</i> and <i>THANKS</i> for details). This manual page was originally written by Jordi Mallach <jordi@gnu.org>, for the Debian system (but may be used by others).</p> <hr> </body> </html> spec.nanorc 0000644 00000003613 14711163014 0006701 0 ustar 00 # RPM spec files syntax highlighting # Parts taken from kate (KDE) syntax highlighting # Asterios Dramis syntax "spec" "\.(spec$|spec\.*)" # Main tags color brightblue "((Icon|ExclusiveOs|ExcludeOs)[[:space:]]*:)" color brightblue "((BuildArch|BuildArchitectures|ExclusiveArch|ExcludeArch)[[:space:]]*:)" color brightblue "((Conflicts|Obsoletes|Provides|Requires|Requires\(.*\)|Enhances|Suggests|BuildConflicts|BuildRequires|Recommends|PreReq|Supplements)[[:space:]]*:)" color brightblue "((Epoch|Serial|Nosource|Nopatch)[[:space:]]*:)" color brightblue "((AutoReq|AutoProv|AutoReqProv)[[:space:]]*:)" color brightblue "((Copyright|License|Summary|Summary\(.*\)|Distribution|Vendor|Packager|Group|Source\d*|Patch\d*|BuildRoot|Prefix)[[:space:]]*:)" color brightblue "((Name|Version|Release|Url|URL)[[:space:]]*:)" color brightblue start="^Source" end=":" start="^Patch" end=":" # Architectures color brightred "(i386|i486|i586|i686|athlon|ia64|alpha|alphaev5|alphaev56|alphapca56|alphaev6|alphaev67|sparc|sparcv9|sparc64armv3l|armv4b|armv4lm|ips|mipsel|ppc|ppc|iseries|ppcpseries|ppc64|m68k|m68kmint|Sgi|rs6000|i370|s390x|s390|noarch)" # Architectures conditionals color brightred "(ifarch|ifnarch)" # OS conditionals color brightred "(ifos|ifnos)" # %* strings color green "%([A-Z_a-z_0-9_]*)" color magenta "%_([A-Z_a-z_0-9_]*)" color yellow start="%__" end="\ " color magenta start="%\{" end="\}" color yellow start="%\{__" end="\}" # Sections color red "^%(build$|changelog|check$|clean$|description|files|install$|package|pre|prep$|preun|post|postun)" color red "^%(trigger|triggerin|triggerpostun|triggerun|verifyscript)" # Conditionals and Defines color brightred "%(if|else|endif|define|global|undefine)" # Comments color cyan "#.*$" # "# norootforbuild" is handled as main tag color brightblue "^# norootforbuild" # %changelog date entries color brightyellow "^\* .*\)$" # Trailing whitespace color ,green "[[:space:]]+$" makefile.nanorc 0000644 00000000370 14711163014 0007521 0 ustar 00 # unattributed syntax highlighting example from wiki.linuxhelp.net/ syntax "makefile" "Makefile[^/]*$" color red "[:=]" color magenta "\<(if|ifeq|else|endif)\>" color blue "\$+[{(][a-zA-Z0-9_-]+[})]" color brightblue "^[^ ]+:" color green "#.*$" fortran.nanorc 0000644 00000003760 14711163014 0007425 0 ustar 00 ## Here is an example for Fortran 90/95 syntax "fortran" "\.(f|f90|f95)$" #color red "\<[A-Z_]a[0-9A-Z_]+\>" color red "\<[0-9]+\>" icolor green "\<(action|advance|all|allocatable|allocated|any|apostrophe)\>" icolor green "\<(append|asis|assign|assignment|associated|character|common)\>" icolor green "\<(complex|data|default|delim|dimension|double precision)\>" icolor green "\<(elemental|epsilon|external|file|fmt|form|format|huge)\>" icolor green "\<(implicit|include|index|inquire|integer|intent|interface)\>" icolor green "\<(intrinsic|iostat|kind|logical|module|none|null|only)>" icolor green "\<(operator|optional|pack|parameter|pointer|position|private)\>" icolor green "\<(program|public|real|recl|recursive|selected_int_kind)\>" icolor green "\<(selected_real_kind|subroutine|status)\>" icolor cyan "\<(abs|achar|adjustl|adjustr|allocate|bit_size|call|char)\>" icolor cyan "\<(close|contains|count|cpu_time|cshift|date_and_time)\>" icolor cyan "\<(deallocate|digits|dot_product|eor|eoshift|function|iachar)\>" icolor cyan "\<(iand|ibclr|ibits|ibset|ichar|ieor|iolength|ior|ishft|ishftc)\>" icolor cyan "\<(lbound|len|len_trim|matmul|maxexponent|maxloc|maxval|merge)\>" icolor cyan "\<(minexponent|minloc|minval|mvbits|namelist|nearest|nullify)\>" icolor cyan "\<(open|pad|present|print|product|pure|quote|radix)\>" icolor cyan "\<(random_number|random_seed|range|read|readwrite|replace)\>" icolor cyan "\<(reshape|rewind|save|scan|sequence|shape|sign|size|spacing)\>" icolor cyan "\<(spread|sum|system_clock|target|transfer|transpose|trim)\>" icolor cyan "\<(ubound|unpack|verify|write|tiny|type|use|yes)\>" icolor yellow "\<(.and.|case|do|else|else?if|else?where|end|end?do|end?if)\>" icolor yellow "\<(end?select|.eqv.|forall|if|lge|lgt|lle|llt|.neqv.|.not.)\>" icolor yellow "\<(.or.|repeat|select case|then|where|while)\>" icolor magenta "\<(continue|cycle|exit|go?to|result|return)\>" ## String highlighting. icolor yellow "<[^= ]*>" ""(\\.|[^"])*"" ## Comment highlighting icolor blue "!.*" mgp.nanorc 0000644 00000000333 14711163014 0006526 0 ustar 00 ## Here is an example for Magicpoint presentations ## syntax "mgp" "\.mgp$" header "^%include.*" icolor green "^%[a-z].*$" color cyan "(^|[[:space:]])#.*$" color cyan "(^|[[:space:]])%%.*$" color ,green "[[:space:]]+$" awk.nanorc 0000644 00000002771 14711163014 0006535 0 ustar 00 ## Here is an example for awk. ## syntax "awk" "\.awk$" magic "awk.*script text" ## records icolor brightred "\$[0-9A-Z_!@#$*?-]+" ## awk-set variables color red "\<(ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)\>" color red "\<(FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)\>" color red "\<(PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)\>" ## function declarations and special patterns color brightgreen "\<(function|extension|BEGIN|END)\>" ## operators color green "(\{|\}|\(|\)|\;|\]|\[|\\|<|>|!|=|&|\+|-|\*|%|/|\?:|\^|\|)" ## flow control color brightyellow "\<(for|if|while|do|else|in|delete|exit)\>" color brightyellow "\<(break|continue|return)\>" ## I/O statements color brightgreen "\<(close|getline|next|nextfile|print|printf)\>" color brightgreen "\<(system|fflush)\>" ## standard functions color magenta "\<(atan2|cos|exp|int|log|rand|sin|sqrt|srand)\>" color magenta "\<(asort|asorti|gensub|gsub|index|length|match)\>" color magenta "\<(split|sprintf|strtonum|sub|substr|tolower|toupper)\>" color magenta "\<(mktime|strftime|systime)\>" color magenta "\<(and|compl|lshift|or|rshift|xor)\>" color magenta "\<(bindtextdomain|dcgettext|dcngettext)\>" ## ## String highlighting. You will in general want your comments and ## strings to come last, because syntax highlighting rules will be ## applied in the order they are read in. color brightyellow "<[^= ]*>" ""(\\.|[^"])*"" ## Comment highlighting color brightblue "(^|[[:space:]])#.*$" ## Trailing whitespace color ,green "[[:space:]]+$" php.nanorc 0000644 00000001307 14711163014 0006534 0 ustar 00 ## Here is an example for PHP ## syntax "php" "\.php[2345s~]?$" magic "PHP script text" ## php markings color brightgreen "(<\?(php)?|\?>)" ## functions color white "\<[a-z_]*\(" ## types color green "\<(var|float|global|double|bool|char|int|enum|const)\>" ## structure color brightyellow "\<(class|new|private|public|function|for|foreach|if|while|do|else|elseif|case|default|switch)\>" ## control flow color magenta "\<(goto|continue|break|return)\>" ## strings color brightyellow "<[^= ]*>" ""(\.|[^"])*"" ## comments color brightblue "//.*" color brightblue start="/\*" end="\*/" #color blue start="<" end=">" #color red "&[^;[[:space:]]]*;" ## Trailing whitespace color ,green "[[:space:]]+$" objc.nanorc 0000644 00000003240 14711163014 0006660 0 ustar 00 ## Here is an example for C/C++/Obj-C. ## syntax "m" "\.m$" ## Stuffs color brightwhite "\<[A-Z_][0-9A-Z_]+\>" color green "\<(float|double|BOOL|bool|char|int|short|long|id|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\>" color green "\<[[:alpha:]_][[:alnum:]_]*_t\>" color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|using|mutable|volatile|register|explicit)\>" color brightgreen "\<(for|if|while|do|else|case|default|switch)\>" color brightgreen "\<(try|throw|catch|operator|new|delete)\>" color brightgreen "\<(goto|continue|break|return)\>" color brightgreen "@\<(en(code|d)|i(mplementation|nterface)|selector)\>" ## ## GCC builtins color cyan "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__" ## Selector/method color brightmagenta "(^|[[:space:]])\[.*[[:space:]].*\]" color white ":[[:alnum:]]*" color magenta "[[:alnum:]]*:" color white "\[[^][:space:]]*\]" ## ## String highlighting. You will in general want your comments and ## strings to come last, because syntax highlighting rules will be ## applied in the order they are read in. color brightblack "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'" color brightblack "<[^= ]*>" ""(\\.|[^"])*"" color brightblue "@"(\\.|[^"])*"" ## ## This string is VERY resource intensive! ## color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" color brightblue "^[[:space:]]*#[[:space:]]*(define|include|import|(un|ifn?)def|endif|el(if|se)|if|warning|error)" ## Comment highlighting color yellow "//.*" color yellow start="/\*" end="\*/" css.nanorc 0000644 00000000513 14711163014 0006533 0 ustar 00 ## Here is an example for css files. ## syntax "css" "\.css$" color brightred "." color brightyellow start="\{" end="\}" color brightwhite start=":" end="([;^\{]|$)" color brightblue ":active|:focus|:hover|:link|:visited|:link|:after|:before|$" color brightblue start="\/\*" end="\\*/" color green ";|:|\{|\}" lua.nanorc 0000644 00000005026 14711163014 0006530 0 ustar 00 ############################################################################## # # Lua syntax highlighting for Nano. # # Author: Matthew Wild <mwild1 (at) gmail.com> # License: GPL 3 or later # # Version: 2011-05-05 # # Notes: Originally based on Ruby syntax rc by Josef 'Jupp' Schugt ############################################################################## # Automatically use for '.lua' files syntax "lua" "\.lua$" color brightwhite "\[\[.*\]\]" # Operators color brightyellow ":|\*|/|%|\+|-|\^|>|>=|<|<=|~=|=|\.\.|\<(not|and|or)\>" # Statements color brightblue "\<(do|end|while|repeat|until|if|elseif|then|else|for|in|function|local|return|break)\>" # Keywords color brightyellow "\<(debug|string|math|table|io|coroutine|os)\>\." color brightyellow "\<(_G|_VERSION|assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|load|loadfile|module|next|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\s*\(" # Standard library color brightyellow "io\.\<(close|flush|input|lines|open|output|popen|read|tmpfile|type|write|stdin|stdout|stderr)\>" color brightyellow "math\.\<(abs|acos|asin|atan2|atan|ceil|cosh|cos|deg|exp|floor|fmod|frexp|huge|ldexp|log10|log|max|min|mod|modf|pi|pow|rad|random|randomseed|sinh|tan)\>" color brightyellow "os\.\<(clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)\>" color brightyellow "package\.\<(cpath|loaded|loadlib|path|preload|seeall)\>" color brightyellow "string\.\<(byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)\>" color brightyellow "table\.\<(concat|insert|maxn|remove|sort)\>" color brightyellow "coroutine\.\<(create|resume|running|status|wrap|yield)\>" color brightyellow "debug\.\<(debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)\>" # File handle methods color brightyellow "\:\<(close|flush|lines|read|seek|setvbuf|write)\>" # false, nil, true color brightmagenta "\<(false|nil|true)\>" # External files color brightgreen "\<(dofile|require)\>" # Numbers color red "\<([0-9]+)\>" # Symbols color brightmagenta "(\(|\)|\[|\]|\{|\})" # Shebang color brightcyan "^#!.*" # Simple comments color green "\-\-.*$" # Multiline comments color green start="\-\-\[\[" end="\]\]" # Strings #color green "\"(\\.|[^\\\"])*\"|'(\\.|[^\\'])*'" # Strings color red "\"(\\.|[^\\\"])*\"|'(\\.|[^\\'])*'" # color red start="\[\[" end="\]\]" # Hex literals color red "0x[0-9a-fA-F]*" c.nanorc 0000644 00000003016 14711163014 0006166 0 ustar 00 ## Here is an example for C/C++. ## syntax "c" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" magic "ASCII C(\+\+)? program text" color brightred "\<[A-Z_][0-9A-Z_]+\>" color green "\<(float|double|bool|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\>" color green "\<((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\>" color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|using|mutable|volatile|register|explicit)\>" color brightyellow "\<(for|if|while|do|else|case|default|switch)\>" color brightyellow "\<(try|throw|catch|operator|new|delete)\>" color magenta "\<(goto|continue|break|return)\>" color brightcyan "^[[:space:]]*#[[:space:]]*(define|include(_next)?|(un|ifn?)def|endif|el(if|se)|if|warning|error|pragma)" color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'" ## ## GCC builtins color cyan "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__" ## ## String highlighting. You will in general want your comments and ## strings to come last, because syntax highlighting rules will be ## applied in the order they are read in. color brightyellow "<[^= ]*>" ""(\\.|[^"])*"" ## ## This string is VERY resource intensive! color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" ## Comment highlighting color brightblue "//.*" color brightblue start="/\*" end="\*/" ## Trailing whitespace color ,green "[[:space:]]+$" pov.nanorc 0000644 00000001252 14711163014 0006550 0 ustar 00 ## Here is an example for POV-Ray. ## syntax "pov" "\.(pov|POV|povray|POVRAY)$" color brightcyan "^[[:space:]]*#[[:space:]]*(declare)" color brightyellow "\<(sphere|cylinder|translate|matrix|rotate|scale)\>" color brightyellow "\<(orthographic|location|up|right|direction|clipped_by)\>" color brightyellow "\<(fog_type|fog_offset|fog_alt|rgb|distance|transform)\>" color brightred "^\<(texture)\>" color brightred "\<(light_source|background)\>" color brightred "\<(fog|object|camera)\>" color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)" color brightmagenta "\<(union|group|subgroup)\>" ## Comment highlighting color brightblue "//.*" color brightblue start="/\*" end="\*/" sh.nanorc 0000644 00000001336 14711163014 0006361 0 ustar 00 ## Here is an example for Bourne shell scripts. ## syntax "sh" "\.sh$" magic "(POSIX|Bourne.*) shell script text" header "^#!.*/(ba|k|pdk)?sh[-0-9_]*" icolor brightgreen "^[0-9A-Z_]+\(\)" color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>" color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)" color green "-[Ldefgruwx]\>" color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>" color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)\>" icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?" color cyan "(^|[[:space:]])#.*$" color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'" color ,green "[[:space:]]+$" gentoo.nanorc 0000644 00000006103 14711163014 0007237 0 ustar 00 ## Here is an example for Gentoo ebuilds/eclasses ## syntax "ebuild" "\.e(build|class)$" ## All the standard portage functions color brightgreen "^src_(unpack|prepare|configure|compile|install|test)" "^pkg_(config|nofetch|setup|(pre|post)(inst|rm))" ## Highlight bash related syntax color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while|continue|break)\>" color green "\<(declare|eval|exec|let)\>" color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)" color green "-[edfgruwxL]\>" color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>" ## Highlight variables ... official portage ones in red, all others in bright red color brightred "\$\{?[a-zA-Z_0-9]+\}?" color red "\<(EAPI|ARCH|HOMEPAGE|DESCRIPTION|IUSE|SRC_URI|LICENSE|SLOT|KEYWORDS|(P|R)?DEPEND|PROVIDE|PROPERTIES|RESTRICT|USERLAND)\>" color red "\<(S|D|T|PV|PF|P|PN|PR|PVR|A|CATEGORY|DISTDIR|FILESDIR|ROOT|WORKDIR)\>" "\<(AS|C(PP|XX)?|LD)FLAGS\>" "\<C(HOST|TARGET|BUILD)\>" color red "\<QA_((TEXTRELS|EXECSTACK|WX_LOAD)(_[a-zA-Z_0-9]+)?|DT_HASH|PRESTRIPPED)\>" "\<WANT_AUTO(CONF|MAKE)\>" "\<AT_M4DIR\>" ## Highlight portage commands color magenta "\<use(_(with|enable))?\> [!a-zA-Z0-9_+ -]*" "inherit.*" color brightblue "\<e(begin|end|conf|install|make|qmake[34]|ant|(qa)?warn|infon?|error|log|patch|new(group|user))\>" color brightblue "\<e(pause|beep|mktemp|(cvs|svn)_clean|punt_cxx)\>" "\<e(aclocal|auto(reconf|header|conf|make))\>" color brightblue "\<built_with_use\>" "\<make_desktop_entry\>" "\<unpack(_(makeself|pdv))?\>" color brightblue "\<die\>" "\<use(_(with|enable))?\>" "\<inherit\>" "\<has\>" "\<(has|best)_version\>" color brightblue "\<(do|new)(ins|(games)?s?bin|doc|lib(\.so|\.a)?|man|info|exe|initd|confd|envd|pam|menu|icon)\>" color brightblue "\<do(python|sed|dir|hard|sym|html|jar|mo)\>" "\<keepdir\>" color brightblue "prepall(docs|info|man|strip)?" "prep(info|lib|lib\.(so|a)|man|strip|gamesdirs)" color brightblue "\<(doc|ins|exe)?into\>" "\<(f|games)(owners|perms)\>" "\<(exe|ins|dir)opts\>" ## Highlight common commands used in ebuilds color blue "\<make\>" "\<(awk|cat|cd|chmod|chown|cp|echo|env|export|find|e?grep|ln|mkdir|mv|rm|sed|set|tar|touch|unset|xargs)\>" ## Highlight comments (doesnt work that well) color yellow "(^|[[:space:]])#.*$" ## Highlight strings (doesnt work that well) color brightyellow ""(\\.|[^\"])*"" "'(\\.|[^'])*'" ## Trailing space is bad! color ,green "[[:space:]]+$" ## Here is an example for Portage control files ## syntax "/etc/portage" "\.(keywords|mask|unmask|use)(/.+)?$" ## Base text: color green "^.+$" ## Use flags: color brightred "[[:space:]]+\+?[a-zA-Z0-9_-]+" color brightblue "[[:space:]]+-[a-zA-Z0-9_-]+" ## Likely version and slot numbers: color magenta "-[[:digit:]].*([[:space:]]|$)" color magenta ":[^[:space:]]+([[:space:]]|$)" ## Accepted arches: color white "[~-]?\<(alpha|amd64|arm|hppa|ia64|mips|ppc|ppc64|s390|sh|sparc(-fbsd)?|x86(-fbsd)?)\>" color white "[[:space:]][*~-]?\*" ## Categories: color cyan "^[[:space:]]*.*/" ## Masking regulators: color brightmagenta "^[[:space:]]*(=|~|<|<=|=<|>|>=|=>)" ## Comments: color yellow "#.*$" groff.nanorc 0000644 00000001323 14711163014 0007046 0 ustar 00 ## Here is an example for groff. ## syntax "groff" "\.m[ems]$" "\.rof" "\.tmac$" "^tmac." ## The argument of .ds or .nr color cyan "^\.(ds|nr) [^[[:space:]]]*" ## Single character escapes color brightmagenta "\\." ## Highlight the argument of \f or \s in the same color color brightmagenta "\\f." "\\f\(.." "\\s(\+|\-)?[0-9]" ## Newlines color cyan "(\\|\\\\)n(.|\(..)" color cyan start="(\\|\\\\)n\[" end="]" ## Requests color brightgreen "^\.[[:space:]]*[^[[:space:]]]*" ## Comments color yellow "^\.\\".*$" ## Strings color green "(\\|\\\\)\*(.|\(..)" color green start="(\\|\\\\)\*\[" end="]" ## Characters color brightred "\\\(.." color brightred start="\\\[" end="]" ## Macro arguments color brightcyan "\\\\\$[1-9]" ruby.nanorc 0000644 00000002703 14711163014 0006727 0 ustar 00 ## Here is an example for Ruby. ## syntax "ruby" "\.rb$" header "^#!.*/ruby[-0-9._]*" ## Asciibetical list of reserved words color yellow "\<(BEGIN|END|alias|and|begin|break|case|class|def|defined\?|do|else|elsif|end|ensure|false|for|if|in|module|next|nil|not|or|redo|rescue|retry|return|self|super|then|true|undef|unless|until|when|while|yield)\>" ## Constants color brightblue "(\$|@|@@)?\<[A-Z]+[0-9A-Z_a-z]*" ## Ruby "symbols" icolor magenta "([ ]|^):[0-9A-Z_]+\>" ## Some unique things we want to stand out color brightyellow "\<(__FILE__|__LINE__)\>" ## Regular expressions color brightmagenta "/([^/]|(\\/))*/[iomx]*" "%r\{([^}]|(\\}))*\}[iomx]*" ## Shell command expansion is in `backticks` or like %x{this}. These are ## "double-quotish" (to use a perlism). color brightblue "`[^`]*`" "%x\{[^}]*\}" ## Strings, double-quoted color green ""([^"]|(\\"))*"" "%[QW]?\{[^}]*\}" "%[QW]?\([^)]*\)" "%[QW]?<[^>]*>" "%[QW]?\[[^]]*\]" "%[QW]?\$[^$]*\$" "%[QW]?\^[^^]*\^" "%[QW]?![^!]*!" ## Expression substitution. These go inside double-quoted strings, ## "like #{this}". color brightgreen "#\{[^}]*\}" ## Strings, single-quoted color green "'([^']|(\\'))*'" "%[qw]\{[^}]*\}" "%[qw]\([^)]*\)" "%[qw]<[^>]*>" "%[qw]\[[^]]*\]" "%[qw]\$[^$]*\$" "%[qw]\^[^^]*\^" "%[qw]![^!]*!" ## Comments color cyan "#[^{].*$" "#$" color brightcyan "##[^{].*$" "##$" ## "Here" docs color green start="<<-?'?EOT'?" end="^EOT" ## Some common markers color brightcyan "(XXX|TODO|FIXME|\?\?\?)"
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка