head 1.39; access; symbols pkgsrc-2026Q1:1.32.0.2 pkgsrc-2026Q1-base:1.32 pkgsrc-2025Q4:1.21.0.2 pkgsrc-2025Q4-base:1.21 pkgsrc-2025Q3:1.6.0.2 pkgsrc-2025Q3-base:1.6; locks; strict; comment @# @; 1.39 date 2026.06.05.10.21.53; author bsiegert; state Exp; branches; next 1.38; commitid jt8yVpLxXvatZAIG; 1.38 date 2026.05.17.14.17.23; author wiz; state Exp; branches; next 1.37; commitid xFFixe11mD6jUaGG; 1.37 date 2026.05.10.12.08.58; author wiz; state Exp; branches; next 1.36; commitid M9FljvRmR6xdqgFG; 1.36 date 2026.05.07.18.50.09; author bsiegert; state Exp; branches; next 1.35; commitid MMrI2EXGAt3HJUEG; 1.35 date 2026.05.03.15.57.55; author wiz; state Exp; branches; next 1.34; commitid 6QT3SEpk1dqzUnEG; 1.34 date 2026.04.15.18.53.12; author wiz; state Exp; branches; next 1.33; commitid B3hFailsaorGs5CG; 1.33 date 2026.04.08.05.45.12; author bsiegert; state Exp; branches; next 1.32; commitid FFJx9trbRMg7k7BG; 1.32 date 2026.03.09.16.49.52; author wiz; state Exp; branches 1.32.2.1; next 1.31; commitid CZHeZ9i3nbC6YjxG; 1.31 date 2026.03.06.21.08.06; author bsiegert; state Exp; branches; next 1.30; commitid AQtIeR1eh5qvuXwG; 1.30 date 2026.03.02.12.11.19; author wiz; state Exp; branches; next 1.29; commitid RnNibA5vsCBwEowG; 1.29 date 2026.02.24.08.45.40; author bsiegert; state Exp; branches; next 1.28; commitid IrpU9bGVDwSIHBvG; 1.28 date 2026.02.16.12.19.06; author wiz; state Exp; branches; next 1.27; commitid AssdBEwjmX669BuG; 1.27 date 2026.02.01.19.33.20; author wiz; state Exp; branches; next 1.26; commitid 99FpUPWjccpV1IsG; 1.26 date 2026.01.26.19.49.20; author bsiegert; state Exp; branches; next 1.25; commitid yzzTb7tKWPopjWrG; 1.25 date 2026.01.22.16.24.57; author schmonz; state Exp; branches; next 1.24; commitid jIvcposVfOmhjprG; 1.24 date 2026.01.15.19.54.57; author bsiegert; state Exp; branches; next 1.23; commitid Zuo9UmMrkrU4HwqG; 1.23 date 2026.01.05.10.47.03; author wiz; state Exp; branches; next 1.22; commitid qOt2dfQ1xbw7ZbpG; 1.22 date 2025.12.21.14.46.01; author wiz; state Exp; branches; next 1.21; commitid Adw2JDZZyLf4NhnG; 1.21 date 2025.12.02.19.25.23; author bsiegert; state Exp; branches; next 1.20; commitid 269raRGxaHJBWRkG; 1.20 date 2025.11.30.14.04.26; author wiz; state Exp; branches; next 1.19; commitid zzmI9KRrr8BGeAkG; 1.19 date 2025.11.24.10.52.59; author wiz; state Exp; branches; next 1.18; commitid Uzsq5bNHWaZRmNjG; 1.18 date 2025.11.08.22.46.39; author schmonz; state Exp; branches; next 1.17; commitid icDfy3JPJdpGPNhG; 1.17 date 2025.10.28.16.05.09; author schmonz; state Exp; branches; next 1.16; commitid hx2Jh8zlt3ZRXlgG; 1.16 date 2025.10.18.18.48.14; author schmonz; state Exp; branches; next 1.15; commitid bJQgvZu48eeKb5fG; 1.15 date 2025.10.16.18.00.04; author bsiegert; state Exp; branches; next 1.14; commitid RAGpkHmyeYCUYOeG; 1.14 date 2025.10.16.13.25.33; author schmonz; state Exp; branches; next 1.13; commitid s0IazU2Cyyc2tNeG; 1.13 date 2025.10.14.16.55.17; author schmonz; state Exp; branches; next 1.12; commitid 7wf8nReymVLTGyeG; 1.12 date 2025.10.14.16.43.04; author schmonz; state Exp; branches; next 1.11; commitid 8dgBiT9ZRzoMCyeG; 1.11 date 2025.10.08.06.54.40; author bsiegert; state Exp; branches; next 1.10; commitid 5p46uH9RJXSFyJdG; 1.10 date 2025.10.07.14.32.06; author schmonz; state Exp; branches; next 1.9; commitid uAIyReMO4ZpN7EdG; 1.9 date 2025.10.02.20.12.30; author schmonz; state Exp; branches; next 1.8; commitid c630azDC0wtxa2dG; 1.8 date 2025.09.28.19.35.26; author schmonz; state Exp; branches; next 1.7; commitid cqkxcFLXZBFN5wcG; 1.7 date 2025.09.26.15.06.55; author schmonz; state Exp; branches; next 1.6; commitid OdfPkMRsuYDFFecG; 1.6 date 2025.09.13.18.16.18; author schmonz; state Exp; branches; next 1.5; commitid RcMWHfxM840y8AaG; 1.5 date 2025.09.06.13.17.13; author bsiegert; state Exp; branches; next 1.4; commitid cojusOdnRBFGHE9G; 1.4 date 2025.09.05.14.39.22; author schmonz; state Exp; branches; next 1.3; commitid BsegIzPqmDs4cx9G; 1.3 date 2025.08.31.10.03.02; author bsiegert; state Exp; branches; next 1.2; commitid SdH7Ppgppxg5PR8G; 1.2 date 2025.08.18.03.03.04; author schmonz; state Exp; branches; next 1.1; commitid rp5GLeb8bqe4V97G; 1.1 date 2025.08.13.15.41.33; author schmonz; state Exp; branches; next ; commitid DSG9EKbCd2OehA6G; 1.32.2.1 date 2026.04.22.14.32.18; author maya; state Exp; branches; next ; commitid iDHLLUhOplH6NXCG; desc @@ 1.39 log @Revbump all Go packages after go126 security update @ text @# $NetBSD: Makefile,v 1.38 2026/05/17 14:17:23 wiz Exp $ DISTNAME= moor-2.13.2 PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GITHUB:=walles/} GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= schmonz@@NetBSD.org HOMEPAGE= https://github.com/walles/moor/ COMMENT= Pager designed to just do the right thing without any configuration LICENSE= 2-clause-bsd INSTALLATION_DIRS+= ${PKGMANDIR}/man1 .include "go-modules.mk" GOFLAGS= -ldflags "-X main.versionString=${PKGVERSION_NOREV}" post-install: ${INSTALL_MAN} ${WRKSRC}/${PKGBASE}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ .include "../../lang/go/go-module.mk" .include "../../mk/bsd.pkg.mk" @ 1.38 log @moor: update to 2.13.2. v2.13.2: Fix a crash when filtering Latest This release fixes an intermittent crash that could happen when filtering a file down to zero lines. Also, this release improves performance for rendering long (100KB) lines. v2.13.1: Performance improvements for searching Performance when searching and scrolling sideways to search hits has been significantly improved. Hits are now also centered on the screen when scrolling sideways. Also in this release: Fix a goroutine leak and limit CPU usage when searching Detect JSONL files and apply JSON syntax highlighting, thanks @@scudette in #407! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2026/05/10 12:08:58 wiz Exp $ d4 1 @ 1.37 log @moor: update to 2.13.0. In this release, moor now automatically detects if a file gets truncated/shrunk or completely rewritten and reloads it appropriately. Also, you can now press r at any time to manually reload the current file. Additionally, the man page got minor touchups, thanks @@ssgelm in #405! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2026/05/07 18:50:09 bsiegert Exp $ d3 1 a3 1 DISTNAME= moor-2.13.0 @ 1.36 log @Revbump all Go packages after go126 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2026/05/03 15:57:55 wiz Exp $ d3 1 a3 2 DISTNAME= moor-2.12.3 PKGREVISION= 1 @ 1.35 log @moor: update to 2.12.3. 2.12.3 Fix a crash Crash reported here: #399 Also, this release makes filtering using & 14% faster with large input. 2.12.2 Support ANSI escape codes for blink, hidden, and strikethrough, contributed by @@viserctul in #402. Thanks! Also in this release: Ignore OSC8 parameters Make LESS_TERMCAP_md control man page headings as well 2.12.1 Support CTRL-f and CTRL-b for paging forward and backward, contributed by @@joshheyse in #395. Thanks! Also in this release: Accept ESC as the escape character in LESS_TERMCAP_* variables Fix busy looping when reading from a pipe on Windows @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2026/04/15 18:53:12 wiz Exp $ d4 1 @ 1.34 log @moor: update to 2.12.0. Support CTRL-f and CTRL-b for paging forward and backward, contributed by @@joshheyse in #395. Thanks! Also in this release: Accept ESC as the escape character in LESS_TERMCAP_* variables Fix busy looping when reading from a pipe on Windows @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2026/04/08 05:45:12 bsiegert Exp $ d3 1 a3 1 DISTNAME= moor-2.12.0 @ 1.33 log @Revbump all Go packages after security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2026/03/09 16:49:52 wiz Exp $ d3 1 a3 2 DISTNAME= moor-2.11.1 PKGREVISION= 1 @ 1.32 log @moor: update to 2.11.1. Before this release, when... Open a file in moor Press "v" to open it in an editor Exit the editor ... moor would exit. With this release, moor will now instead continue where it left off. Also in this release, filtering now performs better in certain cases. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2026/03/06 21:08:06 bsiegert Exp $ d4 1 @ 1.32.2.1 log @Revbump all Go packages after go126 security fix @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2026/03/09 16:49:52 wiz Exp $ a3 1 PKGREVISION= 1 @ 1.31 log @Revbump all Go packages after go126 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2026/03/02 12:11:19 wiz Exp $ d3 1 a3 2 DISTNAME= moor-2.11.0 PKGREVISION= 1 @ 1.30 log @moor: update to 2.11.0. v2.11.0: Suspend on CTRL-z Also in this release, filtering is now faster, thanks to @@plutonium-239 in #387. Thanks! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2026/02/24 08:45:40 bsiegert Exp $ d4 1 @ 1.29 log @Revbump all Go packages after default version bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2026/02/16 12:19:06 wiz Exp $ d3 1 a3 2 DISTNAME= moor-2.10.4 PKGREVISION= 1 a17 1 GO_BUILD_PATTERN= ./... @ 1.28 log @moor: update to 2.10.4. Before this release, searching for the next hit while at the bottom of the input could sometimes get stuck doing nothing. With this release, we should now correctly go to "not found" every time. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2026/02/01 19:33:20 wiz Exp $ d4 1 @ 1.27 log @moor: update to 2.10.3. Fix two crashes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2026/01/26 19:49:20 bsiegert Exp $ d3 1 a3 1 DISTNAME= moor-2.10.3 @ 1.26 log @Move non-pattern Go flags to GOFLAGS. GO_BUILD_PATTERN is only for patterns, as announced on tech-pkg@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2026/01/22 16:24:57 schmonz Exp $ d3 1 a3 1 DISTNAME= moor-2.10.2 @ 1.25 log @moor: update to 2.10.2. Changes: - Fix truncated lines in man pages - Chroma highlighter was updated - Improved cleanup on shutdown @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2026/01/15 19:54:57 bsiegert Exp $ d17 2 a18 1 GO_BUILD_PATTERN= -ldflags "-X main.versionString=${PKGVERSION_NOREV}" ./... @ 1.24 log @Revbump all Go packages after go125 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2026/01/05 10:47:03 wiz Exp $ d3 1 a3 2 DISTNAME= moor-2.10.1 PKGREVISION= 1 @ 1.23 log @moor: update to 2.10.1. 2.10.1 It only covered log messages from twin (the console UI library), but nothing from the actual pager. In theory, this change should warrant a major version bump, but since the logging in that API was just added I'll cross my fingers and hope nobody started using it yet. 2.10 Minor version bump since the embed API received another option for providing a log implementation. Also, this release bumps Chroma to a more recent version. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2025/12/21 14:46:01 wiz Exp $ d4 1 @ 1.22 log @moor: update to 2.9.6. v2.9.6: Various updates Reading large (hundreds of megabytes) streams is faster in this release. In this release moor doesn't hang any more when reading files with extremely long lines (hundreds of megabytes). Performance still isn't great in this case, but it is better than before. File names are now underlined by default in the status bar, thanks @@saeedark! Some improvements to theming and syntax highlighting are in this release due to upgrading Chroma. v2.9.5: Fix non-working case insensitive search Fix non-working case insensitive search v2.9.4: More performance work I have stopped counting percentages, but file reading is faster in this version (not that anybody ever complained), and search performance has also seen big improvements. The search performance improvements can be noticed on files with millions of lines. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2025/12/02 19:25:23 bsiegert Exp $ d3 1 a3 1 DISTNAME= moor-2.9.6 @ 1.21 log @Revbump all Go packages after go125 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2025/11/30 14:04:26 wiz Exp $ d3 1 a3 2 DISTNAME= moor-2.9.3 PKGREVISION= 1 @ 1.20 log @moor: update to 2.9.3. Lots of benchmarking and profiliing work went into search performance. The results weren't super, but the search is faster than before. This release also tunes limits for how much data to read before pausing and does syntax highlighting for larger files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2025/11/24 10:52:59 wiz Exp $ d4 1 @ 1.19 log @moor: update to 2.9.2. 2.9.2 By dodging lock contention while searching. 4x is a measured value on a specific machine with 8 physical / 16 logical cores, YMMV. Speedup should be higher the more CPU cores you have. Also in this release is a few improvements to interactive help texts. 2.9.1 History file is now stored according to XDG Base Directory Specification. When importing less' history, take LESSHISTFILE into account. History length limit has been raised. Also in this release: Detect man pages by content. This should make moor hide line numbers for all man pages, not just those we get from some particular implementation of man. Add flag for disabling line background highlighting for searches 2.9.0 With this release, when you search, pressing arrow up or down will cycle through your previous search queries. Your search history is stored between invocations in ~/.moor_search_history. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2025/11/08 22:46:39 schmonz Exp $ d3 1 a3 1 DISTNAME= moor-2.9.2 @ 1.18 log @moor: update to 2.8.1. Changes: - Add LESSSECURE=1 secure mode for systemctl - Fix searching sometimes scrolling right, even though there were no new search hits there - Fix (in Kitty and some other terminals) mouse selection not working while content was still loading @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2025/10/28 16:05:09 schmonz Exp $ d3 1 a3 1 DISTNAME= moor-2.8.1 @ 1.17 log @moor: update to 2.7.1. Changes: - Improve --terminal-fg with terminal bg images - Use PAGER_LABEL env var to label stdin - CTRL-a moves to the leftmost column - CTRL-t interactively cycles tab width @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2025/10/18 18:48:14 schmonz Exp $ d3 1 a3 1 DISTNAME= moor-2.7.1 @ 1.16 log @moor: update to 2.6.1. Changes: - Support `#` in URLs - Keyboard navigation improvements to the input box used for searching - Add QuitIfOneScreen and NoLineNumbers to embed API @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2025/10/16 18:00:04 bsiegert Exp $ d3 1 a3 1 DISTNAME= moor-2.6.1 @ 1.15 log @Revbump all Go packages after go125 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2025/10/16 13:25:33 schmonz Exp $ d3 1 a3 2 DISTNAME= moor-2.5.2 PKGREVISION= 1 @ 1.14 log @moor: update to 2.5.2. Changes: - Center search hits vertically - iTerm2 now has working scroll + select out of the box @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2025/10/14 16:55:17 schmonz Exp $ d4 1 @ 1.13 log @moor: pass in a version string. Ride recent update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2025/10/14 16:43:04 schmonz Exp $ d3 1 a3 1 DISTNAME= moor-2.5.1 @ 1.12 log @moor: update to 2.5.1. Changes: - Backwards searching now scrolls sideways as needed - Fix selection not working in certain terminals - Default line numbers to off when showing git output - Support ^a and ^e to move to start and end of search edit box @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2025/10/08 06:54:40 bsiegert Exp $ d17 2 @ 1.11 log @Revbump all Go packages after go125 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2025/10/07 14:32:06 schmonz Exp $ d3 1 a3 2 DISTNAME= moor-2.5.0 PKGREVISION= 1 @ 1.10 log @moor: update to 2.5.0. Changes: Before this release, if you had long lines and searched forward, hits to the right of the screen weren't visible. With this release, the search will scroll right to show search hits that are off-screen to the right. Also in this release: - Show man page names in the status bar - Make --quit-if-one-screen work with word wrapping enabled - Search text is now editable @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2025/10/02 20:12:30 schmonz Exp $ d4 1 @ 1.9 log @moor: update to 2.4.1. Changes: - Match less' behavior with piped stdin @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2025/09/28 19:35:26 schmonz Exp $ d3 1 a3 1 DISTNAME= moor-2.4.1 @ 1.8 log @moor: update to 2.4.0. Changes: - Default tab size to 8 to be like less @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2025/09/26 15:06:55 schmonz Exp $ d3 1 a3 1 DISTNAME= moor-2.4.0 @ 1.7 log @moor: update to 2.3.0. Changes: - Highlight lines with search hits - Provide line highlighting in more cases - Support opening multiple files @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2025/09/13 18:16:18 schmonz Exp $ d3 1 a3 1 DISTNAME= moor-2.3.0 @ 1.6 log @moor: update to 2.1.1. Changes: - Working scroll + select in Windows Terminal @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2025/09/06 13:17:13 bsiegert Exp $ d3 1 a3 1 DISTNAME= moor-2.1.1 @ 1.5 log @Revbump all Go packages after go125 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2025/09/05 14:39:22 schmonz Exp $ d3 1 a3 2 DISTNAME= moor-2.1.0 PKGREVISION= 1 @ 1.4 log @moor: update to 2.1.0. Changes: Fix crash related to intermittent problem scrolling around the switch from line numbers 999 to 1000. On mac keyboards you can now press option-arrow to scroll sideways one column at a time. If stdin is coming from a pipe, we ignore - as a file name. If stdin is coming from a terminal, we assume - is a file and try to open it by that name as before. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2025/08/31 10:03:02 bsiegert Exp $ d4 1 @ 1.3 log @Revbump all Go packages after moving to go125 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2025/08/18 03:03:04 schmonz Exp $ d3 1 a3 2 DISTNAME= moor-2.0.4 PKGREVISION= 1 @ 1.2 log @moor: update to 2.0.4. Changes: - Make scrolling help text work even on short input - Handle bold+underline man page style (man grotty) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2025/08/13 15:41:33 schmonz Exp $ d4 1 @ 1.1 log @Add moor: Pager designed to just do the right thing without any configuration Moor is a pager. It reads and displays UTF-8 encoded text from files or pipelines. Moor should be trivial to get into if you have previously been using Less. `moor` is designed to just do the right thing without any configuration: - Syntax highlight source code by default using Chroma - Search is incremental / find-as-you-type just like in Chrome or Emacs - Filtering is incremental: Press & to filter the input interactively - Search becomes case sensitive if you add any UPPER CASE characters - Regexp search if your search string is a valid regexp - Snappy UI even on slow / large input by reading input in the background and using multi-threaded search - Supports displaying ANSI color coded texts (like the output from git diff | riff for example) - Supports UTF-8 input and output - Transparent decompression when viewing compressed text files (.gz, .bz2, .xz, .zst, .zstd) or streams - The position in the file is always shown - Supports word wrapping (on actual word boundaries) if requested using --wrap or by pressing w - Follows output as long as you are on the last line, just like tail -f - Renders terminal hyperlinks properly - Mouse Scrolling works out of the box (but look here for tradeoffs) @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= moor-2.0.3 @