Skip to content

Override the default pager on Windows if not found#1273

Merged
rolandwalker merged 1 commit into
mainfrom
RW/help-native-windows-default-pager
Jul 19, 2025
Merged

Override the default pager on Windows if not found#1273
rolandwalker merged 1 commit into
mainfrom
RW/help-native-windows-default-pager

Conversation

@rolandwalker

Copy link
Copy Markdown
Contributor

Description

If the pager is set to less, the default, and we cannot find less on the PATH, fall back to more, a Windows builtin.

It would be cleaner for myclirc to have some kind of pager = auto setting but it is likely too late for that.

Addresses issue #1260 .

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).

@rolandwalker rolandwalker requested a review from amjith July 18, 2025 21:32
@rolandwalker rolandwalker self-assigned this Jul 18, 2025
If the pager is set to "less", the default, and we cannot find "less"
on the PATH, fall back to "more", a Windows builtin.

It would be cleaner for myclirc to have some kind of "pager = auto"
setting but it is likely too late for that.

Addresses issue #1260 .
@rolandwalker rolandwalker force-pushed the RW/help-native-windows-default-pager branch from 78d10e3 to 44f9508 Compare July 19, 2025 16:39
@rolandwalker rolandwalker merged commit 44ec3a9 into main Jul 19, 2025
8 checks passed
@rolandwalker rolandwalker deleted the RW/help-native-windows-default-pager branch July 19, 2025 16:42
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

Successfully merging this pull request may close these issues.

2 participants