Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mless: doesn't work on OpenBSD 7.6 due to lack of LESSOPEN #266

Open
leahneukirchen opened this issue Oct 9, 2024 · 2 comments
Open

mless: doesn't work on OpenBSD 7.6 due to lack of LESSOPEN #266

leahneukirchen opened this issue Oct 9, 2024 · 2 comments

Comments

@leahneukirchen
Copy link
Owner

LESSOPEN support was removed in OpenBSD in openbsd/src@c74702f

I'm not sure how we can have something like mless without this feature... one would need to pre-render the whole sequence perhaps?

@josephchoe
Copy link

That might result in performance problems for large sequences. I've just gotten around it by piping a message with the preamble into less, though that doesn't allow me to page through mail, but oh well.

@leahneukirchen
Copy link
Owner Author

One approach could be to drive less in a loop, and use exit codes to switch between files, only starting less with one mail rendered every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants