comparison mercurial/help/config.txt @ 32081:a6865b35a10d stable

help: use mercurial as a subject of colorization and pagination Now, colorization and pagination are in Mercurial core.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 01 May 2017 05:35:57 +0900
parents 0e9fece17db1
children 202b86a509e0
comparison
equal deleted inserted replaced
32080:fcddcf442e4f 32081:a6865b35a10d
412 Configure the Mercurial color mode. For details about how to define your custom 412 Configure the Mercurial color mode. For details about how to define your custom
413 effect and style see :hg:`help color`. 413 effect and style see :hg:`help color`.
414 414
415 ``mode`` 415 ``mode``
416 String: control the method used to output color. One of ``auto``, ``ansi``, 416 String: control the method used to output color. One of ``auto``, ``ansi``,
417 ``win32``, ``terminfo`` or ``debug``. In auto mode the color extension will 417 ``win32``, ``terminfo`` or ``debug``. In auto mode, Mercurial will
418 use ANSI mode by default (or win32 mode on Windows) if it detects a 418 use ANSI mode by default (or win32 mode on Windows) if it detects a
419 terminal. Any invalid value will disable color. 419 terminal. Any invalid value will disable color.
420 420
421 ``pagermode`` 421 ``pagermode``
422 String: optinal override of ``color.mode`` used with pager (from the pager 422 String: optinal override of ``color.mode`` used with pager.
423 extensions).
424 423
425 On some systems, terminfo mode may cause problems when using 424 On some systems, terminfo mode may cause problems when using
426 color with the pager extension and less -R. less with the -R option 425 color with ``less -R`` as a pager program. less with the -R option
427 will only display ECMA-48 color codes, and terminfo mode may sometimes 426 will only display ECMA-48 color codes, and terminfo mode may sometimes
428 emit codes that less doesn't understand. You can work around this by 427 emit codes that less doesn't understand. You can work around this by
429 either using ansi mode (or auto mode), or by using less -r (which will 428 either using ansi mode (or auto mode), or by using less -r (which will
430 pass through all terminal control codes, not just color control 429 pass through all terminal control codes, not just color control
431 codes). 430 codes).
432 431
433 On some systems (such as MSYS in Windows), the terminal may support 432 On some systems (such as MSYS in Windows), the terminal may support
434 a different color mode than the pager (activated via the "pager" 433 a different color mode than the pager program.
435 extension).
436 434
437 ``commands`` 435 ``commands``
438 ------------ 436 ------------
439 437
440 ``status.relative`` 438 ``status.relative``