Comments (6)
I just downloaded the linux binary from Github Releases.
Changing pager via environment didn't work but changing it in the config did.
Thanks for the workaround
from cheat.
Hi, @vaporup
Thanks for reporting this. A friend reported something similar a few days ago.
Question: how did you install cheat
initially? I'm unclear if the issue is with the executable itself, or perhaps with one of the packages.
Regarding solving your problem:
This is probably happening in the newest version of cheat
because I changed the default pager from less
to more
in order to better support Windows out-of-the-box.
You should be able to either export PAGER=less
in your shell environment, or simply configure the pager in the cheat configuration file. That should be you back up and running in the short-term.
Thanks for reporting this issue, however. We need the default configuration to work on all platforms, so this is definitely worth fixing.
from cheat.
OK, great. Thanks for the info. I'll take a look at that this week.
from cheat.
@vaporup, I'm having a hard time reproducing this. Do you know if the more
pager was installed on the box that initially had the problem? What's your output of which more
? Thanks.
Disregard. I actually can reproduce this. Sorry for the ping.
from cheat.
I'm pinning this one and tagging it has help-wanted
because I'd like others' eyes on it as well.
from cheat.
Well, I simply can't make more
behave the way I'd hope/expect on Linux systems. I don't know if I'm doing something wrong, or if there's a bug in more
, or what.
With that said, the 4.2.6
release works around this problem:
https://github.com/cheat/cheat/releases/tag/4.2.6
I'm simply burying more
here when looking for pagers on Linux systems, and I'm no longer setting it as the default pager. With that said, it's possible that user a will still encounter this error if the following conditions are met:
- They're using a Linux system
- They have not configured a pager
more
is available on thePATH
more
exhibits the problem described in this ticket (which doesn't happen everywhere)
For the unlucky souls that meet the criteria above and happen to encounter this issue, please just specify a pager in the cheat config file.
from cheat.
Related Issues (20)
- New cmd implementation in minimal POSIX sh? HOT 1
- Colorized output and search shows ANSI Escape Sequences HOT 13
- Version 4.2.7 broke personal cheatsheets in custom location HOT 11
- Git submodules as cheatsheet paths don't work any more HOT 6
- `cheat -l` gives error if cheatpath dir contains `.gitignore` (but no `.git/`) HOT 7
- Autocompletion Not working HOT 3
- frontmatter error HOT 20
- Cheat fails to show when the filepath contains directories that end in ".git"
- Cheat files tagged personal going into unexpected folder HOT 3
- safer installer? HOT 1
- feat: add cheatsheet for Vite. HOT 1
- Failed to parse front-matter HOT 4
- failed to write to pager: exec: "PAGER_PATH": executable file not found in $PATH HOT 7
- yaml unmarshal error :: Cannot unmarshal !!str `tags [ ...` into sheet.frontmatter HOT 2
- lstat /home/foo/.config/cheat/cheatsheets: no such file or directory HOT 1
- Magic SysRq REISUB HOT 1
- Update chroma dependency HOT 1
- yaml unmarshal error :: Cannot unmarshal !!str tags [ ... into sheet.frontmatter HOT 1
- Config option to exclude files
- Consider building with `CGO_ENABLED=0` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cheat.