procs: invalid charset name
FAIL:
~
❯ procs
invalid charset name
SUCCESS:
~
❯ echo $LANG
zh_CN.UTF-8
~
❯ LANG=en_US.UTF-8 procs
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 30 (12 by maintainers)
Commits related to this issue
- Update pager-rs #366 — committed to dalance/procs by dalance 2 years ago
- Add workaround for pager issue #366 — committed to dalance/procs by dalance 2 years ago
Thanks all. I’ll release v0.13.2 with the workaround.
I am using
f3518056f7a74abd2509080547c769f960ec6f39and there is no problem at present.Latest commit works for me.
Can this issue be renamed? I’m hitting it too, seeing the exact same nondeterministic behaviour, without the zh_CN.UTF-8. And from reading discussion, looks like it’s not specific to that env.
To help anyone else: short of dropping in binaries, the workaround is to disable paging:
--pager disable. This would be good at the top as well.@MithicSpirit
OsStringis not null-terminated. The cause of this issue seems to be inpagercrate, I sent the PR to fix it.https://gitlab.com/imp/pager-rs/-/merge_requests/8
@dalance Thank you for your help 😃
less-487.zip
Could you try the attached
lesswhich is show the passed value ofLESSCHARSET?.config/procs/config.toml