Index: src/rcfile.c =================================================================== --- src/rcfile.c (revision 5252) +++ src/rcfile.c (working copy) @@ -39,6 +39,7 @@ {"brackets", 0}, #endif {"const", CONST_UPDATE}, + {"constantshow", CONST_UPDATE}, #ifndef DISABLE_WRAPJUSTIFY {"fill", 0}, #endif Index: src/nano.c =================================================================== --- src/nano.c (revision 5252) +++ src/nano.c (working copy) @@ -896,7 +896,7 @@ print_opt(_("-Y "), _("--syntax="), N_("Syntax definition to use for coloring")); #endif - print_opt("-c", "--const", N_("Constantly show cursor position")); + print_opt("-c", "--constantshow", N_("Constantly show cursor position")); print_opt("-d", "--rebinddelete", N_("Fix Backspace/Delete confusion problem")); print_opt("-h", "--help", N_("Show this help text")); @@ -2123,7 +2123,7 @@ #ifndef DISABLE_COLOR {"syntax", 1, NULL, 'Y'}, #endif - {"const", 0, NULL, 'c'}, + {"constantshow", 0, NULL, 'c'}, {"rebinddelete", 0, NULL, 'd'}, {"nofollow", 0, NULL, 'l'}, #ifndef DISABLE_MOUSE Index: doc/nanorc.sample.in =================================================================== --- doc/nanorc.sample.in (revision 5252) +++ doc/nanorc.sample.in (working copy) @@ -46,7 +46,7 @@ ## Constantly display the cursor position in the statusbar. Note that ## this overrides "quickblank". -# set const +# set constantshow ## Use cut-to-end-of-line by default. # set cut Index: doc/syntax/nanorc.nanorc =================================================================== --- doc/syntax/nanorc.nanorc (revision 5252) +++ doc/syntax/nanorc.nanorc (working copy) @@ -6,7 +6,7 @@ icolor brightred "^[[:space:]]*((un)?(bind|set)|include|syntax|header|magic|linter|i?color|extendsyntax).*$" # Keywords -icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backwards|boldtext|casesensitive|const|cut|fill|historylog|locking|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|poslog|preserve|quickblank|quiet|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|suspend|tabsize|tabstospaces|tempfile|view|wordbounds)\>" +icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backwards|boldtext|casesensitive|const(antshow)?|cut|fill|historylog|locking|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|poslog|preserve|quickblank|quiet|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|suspend|tabsize|tabstospaces|tempfile|view|wordbounds)\>" icolor yellow "^[[:space:]]*set[[:space:]]+(functioncolor|keycolor|statuscolor|titlecolor)[[:space:]]+(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>" icolor brightgreen "^[[:space:]]*set[[:space:]]+(backupdir|brackets|functioncolor|keycolor|matchbrackets|operatingdir|punct|quotestr|speller|statuscolor|titlecolor|whitespace)[[:space:]]+" icolor brightgreen "^[[:space:]]*bind[[:space:]]+((\^|M-)([[:alpha:]]|space|[]]|[0-9_=+{}|;:'\",./<>\?-])|F([1-9]|1[0-6])|Ins|Del)[[:space:]]+[[:alpha:]]+[[:space:]]+[[:alpha:]]+[[:space:]]*$" Index: doc/man/nanorc.5 =================================================================== --- doc/man/nanorc.5 (revision 5252) +++ doc/man/nanorc.5 (working copy) @@ -90,7 +90,7 @@ .B set casesensitive Do case-sensitive searches by default. .TP -.B set const +.B set constantshow Constantly display the cursor position in the status bar. .TP .B set cut Index: doc/man/nano.1 =================================================================== --- doc/man/nano.1 (revision 5252) +++ doc/man/nano.1 (working copy) @@ -157,7 +157,7 @@ Specify the name of the syntax highlighting to use from among the ones defined in the \fInanorc\fP files. .TP -.BR \-c ", " \-\-const +.BR \-c ", " \-\-constantshow Constantly show the cursor position. Note that this overrides \fB\-U\fP. .TP .BR \-d ", " \-\-rebinddelete Index: doc/texinfo/nano.texi =================================================================== --- doc/texinfo/nano.texi (revision 5252) +++ doc/texinfo/nano.texi (working copy) @@ -242,7 +242,7 @@ See @xref{Syntax Highlighting}, for more info. @item -c address@hidden --const address@hidden --constantshow Constantly display the cursor position and line number on the statusbar. Note that this overrides @option{-U}. @@ -641,7 +641,7 @@ @item set casesensitive Do case-sensitive searches by default. address@hidden set const address@hidden set constantshow Constantly display the cursor position in the status bar. @item set cut