Show More
@@ -3045,6 +3045,110 b' Dish up an empty repo; serve it cold.' | |||||
3045 | </html> |
|
3045 | </html> | |
3046 |
|
3046 | |||
3047 |
|
3047 | |||
|
3048 | $ get-with-headers.py $LOCALIP:$HGPORT "help/pager" | |||
|
3049 | 200 Script output follows | |||
|
3050 | ||||
|
3051 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |||
|
3052 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |||
|
3053 | <head> | |||
|
3054 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |||
|
3055 | <meta name="robots" content="index, nofollow" /> | |||
|
3056 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |||
|
3057 | <script type="text/javascript" src="/static/mercurial.js"></script> | |||
|
3058 | ||||
|
3059 | <title>Help: pager</title> | |||
|
3060 | </head> | |||
|
3061 | <body> | |||
|
3062 | ||||
|
3063 | <div class="container"> | |||
|
3064 | <div class="menu"> | |||
|
3065 | <div class="logo"> | |||
|
3066 | <a href="https://mercurial-scm.org/"> | |||
|
3067 | <img src="/static/hglogo.png" alt="mercurial" /></a> | |||
|
3068 | </div> | |||
|
3069 | <ul> | |||
|
3070 | <li><a href="/shortlog">log</a></li> | |||
|
3071 | <li><a href="/graph">graph</a></li> | |||
|
3072 | <li><a href="/tags">tags</a></li> | |||
|
3073 | <li><a href="/bookmarks">bookmarks</a></li> | |||
|
3074 | <li><a href="/branches">branches</a></li> | |||
|
3075 | </ul> | |||
|
3076 | <ul> | |||
|
3077 | <li class="active"><a href="/help">help</a></li> | |||
|
3078 | </ul> | |||
|
3079 | </div> | |||
|
3080 | ||||
|
3081 | <div class="main"> | |||
|
3082 | <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> | |||
|
3083 | <h3>Help: pager</h3> | |||
|
3084 | ||||
|
3085 | <form class="search" action="/log"> | |||
|
3086 | ||||
|
3087 | <p><input name="rev" id="search1" type="text" size="30" value="" /></p> | |||
|
3088 | <div id="hint">Find changesets by keywords (author, files, the commit message), revision | |||
|
3089 | number or hash, or <a href="/help/revsets">revset expression</a>.</div> | |||
|
3090 | </form> | |||
|
3091 | <div id="doc"> | |||
|
3092 | <h1>Pager Support</h1> | |||
|
3093 | <p> | |||
|
3094 | Some Mercurial commands can produce a lot of output, and Mercurial will | |||
|
3095 | attempt to use a pager to make those commands more pleasant. | |||
|
3096 | </p> | |||
|
3097 | <p> | |||
|
3098 | To set the pager that should be used, set the application variable: | |||
|
3099 | </p> | |||
|
3100 | <pre> | |||
|
3101 | [pager] | |||
|
3102 | pager = less -FRX | |||
|
3103 | </pre> | |||
|
3104 | <p> | |||
|
3105 | If no pager is set in the user or repository configuration, Mercurial uses the | |||
|
3106 | environment variable $PAGER. If $PAGER is not set, pager.pager from the default | |||
|
3107 | or system configuration is used. If none of these are set, a default pager will | |||
|
3108 | be used, typically 'less' on Unix and 'more' on Windows. | |||
|
3109 | </p> | |||
|
3110 | <p> | |||
|
3111 | You can disable the pager for certain commands by adding them to the | |||
|
3112 | pager.ignore list: | |||
|
3113 | </p> | |||
|
3114 | <pre> | |||
|
3115 | [pager] | |||
|
3116 | ignore = version, help, update | |||
|
3117 | </pre> | |||
|
3118 | <p> | |||
|
3119 | To ignore global commands like 'hg version' or 'hg help', you have | |||
|
3120 | to specify them in your user configuration file. | |||
|
3121 | </p> | |||
|
3122 | <p> | |||
|
3123 | To control whether the pager is used at all for an individual command, | |||
|
3124 | you can use --pager=<value>: | |||
|
3125 | </p> | |||
|
3126 | <ul> | |||
|
3127 | <li> use as needed: 'auto'. | |||
|
3128 | <li> require the pager: 'yes' or 'on'. | |||
|
3129 | <li> suppress the pager: 'no' or 'off' (any unrecognized value will also work). | |||
|
3130 | </ul> | |||
|
3131 | <p> | |||
|
3132 | To globally turn off all attempts to use a pager, set: | |||
|
3133 | </p> | |||
|
3134 | <pre> | |||
|
3135 | [ui] | |||
|
3136 | paginate = never | |||
|
3137 | </pre> | |||
|
3138 | <p> | |||
|
3139 | which will prevent the pager from running. | |||
|
3140 | </p> | |||
|
3141 | windows | |||
|
3142 | </div> | |||
|
3143 | </div> | |||
|
3144 | </div> | |||
|
3145 | ||||
|
3146 | ||||
|
3147 | ||||
|
3148 | </body> | |||
|
3149 | </html> | |||
|
3150 | ||||
|
3151 | ||||
3048 | Sub-topic indexes rendered properly |
|
3152 | Sub-topic indexes rendered properly | |
3049 |
|
3153 | |||
3050 | $ get-with-headers.py $LOCALIP:$HGPORT "help/internals" |
|
3154 | $ get-with-headers.py $LOCALIP:$HGPORT "help/internals" |
General Comments 0
You need to be logged in to leave comments.
Login now