ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/docs
Martin von Zweigbergk c5c89b9e9b pager: default to less -FRX
As dbarnett@ reported on #9, our default of `less`, combined with our
default of enabling color on TTYs, means that we print ANSI codes to
`less` by default. Unless the user has set e.g. `$LESS=R`, `less` is
going to escape those codes, resulting in garbage like this:

```
@ ESC[1;35mbb39c26a29feESC[0m ESC[1;33m(no email configured)ESC[0m ESC[1;36m2022-12-03....
```

I guess most of us didn't notice because we have something like
`$LESS=FRX` set.

This patch changes our default from `less` to `less -FRX`. Those are
the flags we're using for our internal hg distribution at Google, and
that has seemed quite uncontroversial.

I added a pointer from the changelog to the tracking issue while at
it.
2022-12-04 00:00:31 -08:00
..
technical docs: change "current checkout" to "working-copy commit" 2022-09-18 16:19:58 -07:00
branches.md templater: indicate if branch needs to be pushed to a remote 2022-11-09 22:44:55 -08:00
code-of-conduct.md Boilerplate for new Google open source project 2020-12-11 23:37:59 -08:00
config.md pager: default to less -FRX 2022-12-04 00:00:31 -08:00
config.toml Documentation for jj resolve and merge tool config 2022-12-03 15:12:40 -08:00
conflicts.md conflicts: change diff line marker to %%%%%%% 2022-09-20 15:26:29 +09:00
contributing.md docs: describe how we do code reviews 2022-12-02 13:05:32 -08:00
git-comparison.md docs: describe git commit --fixup equivalent 2022-11-19 14:22:34 -08:00
git-compatibility.md feature: support git credential helpers 2022-11-19 22:06:27 -08:00
operation-log.md docs: change "current checkout" to "working-copy commit" 2022-09-18 16:19:58 -07:00
related-work.md docs: hyphenate "working-copy" when used as a compound modifier 2022-08-25 18:08:36 -07:00
revsets.md revset: add unary negate (or set complement) operator '~y' 2022-11-29 15:46:15 +09:00
tutorial.md log: move commit ID off to the right 2022-11-14 07:49:52 -08:00
working-copy.md cli: drop support for ui.enable-open-commits config 2022-11-05 06:14:37 -07:00