head 1.23; access; symbols pkgsrc-2026Q1:1.18.0.2 pkgsrc-2026Q1-base:1.18 pkgsrc-2025Q4:1.12.0.2 pkgsrc-2025Q4-base:1.12 pkgsrc-2025Q3:1.6.0.2 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.2.0.2 pkgsrc-2025Q2-base:1.2; locks; strict; comment @# @; 1.23 date 2026.06.08.08.29.47; author wiz; state Exp; branches; next 1.22; commitid L2h2HCgL4eTdhYIG; 1.22 date 2026.06.05.10.21.53; author bsiegert; state Exp; branches; next 1.21; commitid jt8yVpLxXvatZAIG; 1.21 date 2026.05.07.18.50.09; author bsiegert; state Exp; branches; next 1.20; commitid MMrI2EXGAt3HJUEG; 1.20 date 2026.04.26.10.18.31; author wiz; state Exp; branches; next 1.19; commitid V9BCqd62y52cgsDG; 1.19 date 2026.04.08.05.45.12; author bsiegert; state Exp; branches; next 1.18; commitid FFJx9trbRMg7k7BG; 1.18 date 2026.03.06.21.08.06; author bsiegert; state Exp; branches 1.18.2.1; next 1.17; commitid AQtIeR1eh5qvuXwG; 1.17 date 2026.02.24.08.45.40; author bsiegert; state Exp; branches; next 1.16; commitid IrpU9bGVDwSIHBvG; 1.16 date 2026.02.22.11.04.06; author wiz; state Exp; branches; next 1.15; commitid 4UrVBw57SDzpxmvG; 1.15 date 2026.01.26.19.49.20; author bsiegert; state Exp; branches; next 1.14; commitid yzzTb7tKWPopjWrG; 1.14 date 2026.01.15.19.54.57; author bsiegert; state Exp; branches; next 1.13; commitid Zuo9UmMrkrU4HwqG; 1.13 date 2025.12.21.17.48.10; author wiz; state Exp; branches; next 1.12; commitid vFuTUum6jO1ANinG; 1.12 date 2025.12.02.19.25.23; author bsiegert; state Exp; branches; next 1.11; commitid 269raRGxaHJBWRkG; 1.11 date 2025.10.28.16.02.17; author schmonz; state Exp; branches; next 1.10; commitid Dv0wL86NZdoTWlgG; 1.10 date 2025.10.16.18.00.04; author bsiegert; state Exp; branches; next 1.9; commitid RAGpkHmyeYCUYOeG; 1.9 date 2025.10.09.16.04.41; author schmonz; state Exp; branches; next 1.8; commitid BBpNFy48qYwzzUdG; 1.8 date 2025.10.08.06.54.40; author bsiegert; state Exp; branches; next 1.7; commitid 5p46uH9RJXSFyJdG; 1.7 date 2025.09.26.15.03.11; author schmonz; state Exp; branches; next 1.6; commitid jAefeu7JIDhoEecG; 1.6 date 2025.09.06.13.17.13; author bsiegert; state Exp; branches; next 1.5; commitid cojusOdnRBFGHE9G; 1.5 date 2025.09.05.14.44.34; author schmonz; state Exp; branches; next 1.4; commitid i6ALMQgGvf4Rdx9G; 1.4 date 2025.08.31.10.03.02; author bsiegert; state Exp; branches; next 1.3; commitid SdH7Ppgppxg5PR8G; 1.3 date 2025.07.04.16.20.51; author schmonz; state Exp; branches; next 1.2; commitid huvyeYwIkBLqMr1G; 1.2 date 2025.06.06.14.01.40; author bsiegert; state Exp; branches; next 1.1; commitid JbNcx43ItkrmUPXF; 1.1 date 2025.05.30.11.17.56; author schmonz; state Exp; branches; next ; commitid Y1FFZFIqykCgeVWF; 1.18.2.1 date 2026.04.22.14.32.19; author maya; state Exp; branches; next ; commitid iDHLLUhOplH6NXCG; desc @@ 1.23 log @ov: update to 0.53.0. What's Changed Add support for ctrl+a and ctrl+e in input.go by @@noborus in #1056 Generating YAML files from code, in order to improve the maintainability of the configuration. by @@noborus in #1066 feat: add generate-config output for default/less templates by @@noborus in #1067 fix: show line numbers in filtered documents by @@noborus in #1068 fix(filter): apply filter state before async dispatch by @@noborus in #1074 Upgrade tcell/v3 to v3.4.0 by @@noborus in #1075 Stop displaying messages that could cause a deadlock by @@noborus in #1077 Enhance incremental input for search, filter, and multicolor features by @@noborus in #1079 @ text @# $NetBSD: Makefile,v 1.22 2026/06/05 10:21:53 bsiegert Exp $ DISTNAME= ov-0.53.0 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GITHUB:=noborus/} GITHUB_RELEASE= v${PKGVERSION_NOREV} MAINTAINER= schmonz@@NetBSD.org HOMEPAGE= https://noborus.github.io/ov/ COMMENT= Feature-rich terminal-based text viewer LICENSE= mit WRKSRC= ${WRKDIR} .include "go-modules.mk" GOFLAGS= -ldflags "-X main.Version=${PKGVERSION_NOREV}" #GO_BUILD_PATTERN= ./... AUTO_MKDIRS= yes post-extract: cd ${WRKSRC} && ${RM} -rf examples/ post-install: cd ${WRKSRC} && for f in *.yaml; do \ ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/share/examples/${PKGBASE}/; \ done; \ ${INSTALL_DATA} README.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/ ${RM} ${DESTDIR}${PREFIX}/bin/gen-keybind ${DESTDIR}${PREFIX}/bin/ov --completion bash > \ ${DESTDIR}${PREFIX}/share/bash-completion/completions/${PKGBASE} ${DESTDIR}${PREFIX}/bin/ov --completion fish > \ ${DESTDIR}${PREFIX}/share/fish/vendor_completions.d/${PKGBASE}.fish ${DESTDIR}${PREFIX}/bin/ov --completion zsh > \ ${DESTDIR}${PREFIX}/share/zsh/site-functions/_${PKGBASE} .include "../../lang/go/go-module.mk" .include "../../mk/bsd.pkg.mk" @ 1.22 log @Revbump all Go packages after go126 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2026/05/07 18:50:09 bsiegert Exp $ d3 1 a3 2 DISTNAME= ov-0.52.0 PKGREVISION= 2 d30 1 @ 1.21 log @Revbump all Go packages after go126 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2026/04/26 10:18:31 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.20 log @ov: update to 0.52.0. New Features Word Wrap Mode Word wrap has been added, and the --wrap / -w option now accepts a string instead of a boolean. -w or -w=char (default): Wrap lines at screen width, breaking anywhere (character-based). -w=word: Wrap lines at screen width, breaking at word boundaries. -w=none: Disable line wrapping. Toggle word wrap with the new default key alt+w. ⚠ Breaking change: The configuration key WrapMode: true must be updated to Wrap: "character". View Mode Sidebar When pressing p to enter view mode selection, the sidebar now opens automatically and displays the list of available view modes with index numbers. You can select a mode either by name or by its number (e.g., entering 1 selects the second mode in the list). Notifications ov now sends desktop notifications via Screen.ShowNotification() when execNotify is triggered. This is supported in terminals that implement the Kitty keyboard protocol notification feature. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2026/04/08 05:45:12 bsiegert Exp $ d4 1 @ 1.19 log @Revbump all Go packages after security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2026/03/06 21:08:06 bsiegert Exp $ d3 1 a3 2 DISTNAME= ov-0.51.1 PKGREVISION= 3 d18 1 a18 1 GO_BUILD_PATTERN= ./... @ 1.18 log @Revbump all Go packages after go126 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2026/02/24 08:45:40 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.18.2.1 log @Revbump all Go packages after go126 security fix @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2026/03/06 21:08:06 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.17 log @Revbump all Go packages after default version bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2026/02/22 11:04:06 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.16 log @ov: update to 0.51.1. v0.51.1 What's Changed Enhanced Mark Feature (#948, #972) Mark navigation has been improved: jumping to a mark by absolute position or by relative movement (+n/-n) is now supported. Mark number input mode (default key: ,) allows direct or relative mark selection. "Mark by pattern" (default key: *) enables marking all lines matching a pattern at once. The mark list is now available in the sidebar for easier navigation and selection. Sidebar Feature Added A new sidebar can be toggled to display: Help (Alt+h) Mark list (Alt+m) Document list (Alt+l) Section list (Alt+u) Sidebar width and initial mode are configurable (via CLI or config file). Sidebar scrolling is independent from the main content, with dedicated key bindings. Sidebar content updates dynamically according to the current mode. Other Changes Fixed: The output width when quitting with -F (or --quit-if-one-screen) is now adjusted to the actual terminal size instead of being fixed at 80 columns. (#957) Thanks to @@MinekPo1 . Fixed: Resolved an issue where output could not be produced when using follow mode in combination with the -X option. (#978) Thanks to @@HippoPerson . @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2026/01/26 19:49:20 bsiegert Exp $ d4 1 @ 1.15 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.14 2026/01/15 19:54:57 bsiegert Exp $ d3 1 a3 2 DISTNAME= ov-0.50.2 PKGREVISION= 1 @ 1.14 log @Revbump all Go packages after go125 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2025/12/21 17:48:10 wiz Exp $ d18 2 a19 1 GO_BUILD_PATTERN= -ldflags "-X main.Version=${PKGVERSION_NOREV}" ./... @ 1.13 log @ov: update to 0.50.2. v0.50.2 Main Changes Update tcell to v2.13.2 (Buf Fix Release) Upgraded the tcell dependency to v2.13.2. This fixes a problem that affected some applications on Windows (wrong terminal dimensions due to an off-by-one error). See: tcell v2.13.2 release notes v0.50.1 was skipped due to a mistake in the release tag What's Changed GetContent has been deprecated and changed to Get by @@noborus in #924 Update tcell v2.13.1 to v2.13.2 by @@noborus in #925 Add string type to prepare for replacing SetContent with Put by @@noborus in #926 #927 v0.50.1-pre1 Main Changes Update tcell to v2.13.2 (Buf Fix Release) Upgraded the tcell dependency to v2.13.2. This fixes a problem that affected some applications on Windows (wrong terminal dimensions due to an off-by-one error). See: tcell v2.13.2 release notes What's Changed README.md: Update for v0.50.0 by @@noborus in #922 Grammar correction for v0.50.0 update by @@noborus in #923 GetContent has been deprecated and changed to Get by @@noborus in #924 Update tcell v2.13.1 to v2.13.2 by @@noborus in #925 Add string type to prepare for replacing SetContent with Put by @@noborus in #926 Replace TAP_GITHUB_TOKEN with APP_TOKEN for GoReleaser and workflow by @@noborus in #927 v0.50.1 Main Changes Update tcell to v2.13.2 (Buf Fix Release) Upgraded the tcell dependency to v2.13.2. This fixes a problem that affected some applications on Windows (wrong terminal dimensions due to an off-by-one error). See: tcell v2.13.2 release notes What's Changed GetContent has been deprecated and changed to Get by @@noborus in #924 Update tcell v2.13.1 to v2.13.2 by @@noborus in #925 Add string type to prepare for replacing SetContent with Put by @@noborus in #926 v0.50.0 ⚠️ Important Changes & Notes Key input handling has changed significantly on terminals supporting tcell's CSI u. On CSI u compatible terminals, keys such as Ctrl+h, Backspace, and Enter are now strictly distinguished. You can now assign different actions to these keys. If you want the same action for multiple keys, please assign them explicitly in your config file. Some keys may be intercepted by your OS or editors like VS Code terminal, so we recommend assigning multiple keybindings or customizing as needed. Character width calculation has switched from runewidth to uniseg. As a result, ambiguous-width characters are now treated as width 1 by default. If you want ambiguous-width characters to be treated as width 2 (East Asian width), set the environment variable RUNEWIDTH_EASTASIAN=1. ✨ Main Changes ⌨️ Keybindings & Input Removed all ctrl+shift keybindings and replaced them with alternatives like alt+arrow keys. Unified Alt+uppercase keybindings to Alt+lowercase. All key event matching is now case-insensitive and unified. Removed fallback logic that treated multiple keys as the same action. Updated config files (ov.yaml, ov-less.yaml) to reflect new keybindings. Improved cursor movement, deletion, and paste behavior in input fields. 🖥️ Display & UI Switched character width calculation from runewidth to uniseg, making display width match your terminal more accurately. If display width mismatches still occur, ov now uses Sync as needed to prevent screen corruption. 🖱️ Mouse, Selection & Clipboard Added anchor-and-extend selection with Alt+click. Right-click now copies the selected range. Clipboard operations now have a timeout to prevent UI freezes. 📦 Library Updates tcell v2.9.0 → v2.13.1 cbind v0.1.6 → v0.1.7 tcellansi v0.2.0 → v0.3.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2025/12/02 19:25:23 bsiegert Exp $ d4 1 @ 1.12 log @Revbump all Go packages after go125 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2025/10/28 16:02:17 schmonz Exp $ d3 1 a3 2 DISTNAME= ov-0.45.1 PKGREVISION= 1 @ 1.11 log @ov: update to 0.45.1. Changes: ## New Features ### Terminal Title Support * **New`--set-terminal-title` flag**: Automatically sets the terminal title to display the current filename or caption * Makes it easier to identify which file is being viewed when multiple terminal tabs are open * Perfect for git workflows with custom captions: `git log | ov --set-terminal-title --caption "git log - myrepo"` ## Bug Fixes ### Wide Character Display Issues * Fix setContentString wide character width calculation * **Fixed display corruption of double-width characters** : Resolved issues with CJK characters (Japanese, Chinese, Korean) in Windows Terminal and other terminal emulators * **Improved mouse selection** : Fixed mouse selection issues when clicking on wide characters * **Better character positioning** : Enhanced wide character rendering and positioning calculations * **Fixed double-click word selection** : Improved word boundary detection for mixed ASCII and double-width characters ### Key Binding Improvements * **Fixed toggle mouse key** : Corrected toggle mouse key binding to Ctrl+F8 * **Added alternative key bindings** : Added backup key bindings for better cross-platform compatibility, especially for Windows Terminal users experiencing issues with ctrl+alt combinations ## Improvements ### Code Quality & Error Handling * **Refactored mouse functions** : Converted methods to standalone functions for better testability and code organization * **Standardized error messages** : Improved error message format for better clarity and consistency * **Enhanced error types** : Added `ErrInvalidModeName`, `ErrInvalidRGBColor`, `ErrInvalidKey` for better error identification * **Better error context** : Enhanced error wrapping with proper stack traces ### Wide Character Support * **Comprehensive testing** : Added extensive tests for wide character handling functions * **Better boundary detection** : Enhanced character type detection for CJK text and mixed-language content * **Improved word selection** : Better double-click selection behavior for international text @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2025/10/16 18:00:04 bsiegert Exp $ d4 1 @ 1.10 log @Revbump all Go packages after go125 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2025/10/09 16:04:41 schmonz Exp $ d3 1 a3 2 DISTNAME= ov-0.44.0 PKGREVISION= 1 @ 1.9 log @ov: update to 0.44.0. Changes: ## Enhanced Mouse Support ### Double-click Word Selection * Double-click to select words with smart boundary detection for alphanumeric, whitespace, and symbol characters * Configurable click interval and distance thresholds * Improved mouse event handling with click state management ### Triple-click Line Selection * Triple-click to select entire lines, including wrapped lines that span multiple screen lines * Smart selection from start to end of visual lines ### Column Selection on Double-click * When in column mode, double-click selects entire columns instead of words * Enhanced column boundary detection and selection logic ### Customizable Selection Styles * New `SelectActive` style for active selection (during drag) * New `SelectCopied` style for copied selection (after copy operation) * Replace fixed reverse styling with configurable appearance * Improved mouse selection state management with `MouseSelectState` enum ### Configurable Mouse Wheel Scroll Speed * Added `VScrollLines` setting in General config section to control mouse wheel scroll speed * Default value is 2 lines (maintains backward compatibility) * Allows users to match their terminal scroll settings ## Sticky Follow Mode * **Automatic Pause Indicator** : Follow mode shows `||` when paused due to user interaction (scrolling, searching, etc.) * **Smart Resume** : Automatically resumes when moving to bottom (End key, bottom action, etc.) * **Configurable** : Can be disabled with `DisableStickyFollow` option * **Visual Feedback** : Clear indication of follow mode state in status line * **PauseLine Style**: Added `PauseLine` style to highlight the line where follow mode is paused ## Quit-if-one-screen Improvements * **Improved Timing** : Enhanced EOF monitoring with goroutine for better timing detection * **Delayed File Reading** : Correctly handles quit-if-one-screen even when file reading is slow or delayed * **Cancel Feature** : Added quitSmall cancel feature for better user control ## Enhanced Key Binding System * **Improved Key Normalization** : Properly handle `Ctrl+J` vs `Enter` distinctions across different terminals * **Better Duplicate Detection** : Enhanced duplicate key binding detection with proper case normalization * **Comprehensive Error Handling** : Collect all validation issues instead of stopping at first error * **Clear Error Messages** : Enhanced help display for key binding conflicts and invalid configurations ## Bug Fixes ### Last Line Display Bug * Quit-if-one-screen option now correctly calculates screen height by excluding the status line height when determining if content fits on screen ### Search Operations * Fixed search freeze when cancel events don't keep up with processing * Preserved `eventReachEOF` during search operations * Better event handling and replay after search completion ### Concurrency * Use TryLock for doclist operations to prevent potential deadlocks * Log lock failures without blocking UI updates @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2025/10/08 06:54:40 bsiegert Exp $ d4 1 @ 1.8 log @Revbump all Go packages after go125 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2025/09/26 15:03:11 schmonz Exp $ d3 1 a3 2 DISTNAME= ov-0.43.1 PKGREVISION= 1 @ 1.7 log @ov: update to 0.43.1. Changes: - Fixed critical bug where original files were deleted after editing - Use TryLock to prevent deadlocks in document list operations @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2025/09/06 13:17:13 bsiegert Exp $ d4 1 @ 1.6 log @Revbump all Go packages after go125 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2025/09/05 14:44:34 schmonz Exp $ d3 1 a3 2 DISTNAME= ov-0.43.0 PKGREVISION= 1 d9 1 a9 1 HOMEPAGE= https://github.com/noborus/ov/ @ 1.5 log @ov: update to 0.43.0. Changes: - Add missing less keybindings and sync configs - Fix screen height to be non-negative - Fix converter initialization not being applied to filter documents - Fix column navigation issues and improve test coverage - Improve mark - Changed to support new Style settings - Improve package usage @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2025/08/31 10:03:02 bsiegert Exp $ d4 1 @ 1.4 log @Revbump all Go packages after moving to go125 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2025/07/04 16:20:51 schmonz Exp $ d3 1 a3 2 DISTNAME= ov-0.42.1 PKGREVISION= 1 @ 1.3 log @ov: update to 0.42.1. Changes: - Allows you to edit by passing the file to an external editor. - The status line can now be hidden and there is more customization available. - The help and log documentation are now separate from General and can be customized separately. - Fix missing slice bounds check - Fix duplicate log output - Update modules 20250610 - Add documentation for General configuration items in README.md - Fix inconsistent output after WriteQuit from help followed by Quit - Fix typo in README.md - Fix issue where quit was not output in filter document - Fix Getpgrp syntax for Solaris/Illumos build - Fix slice range check error - fix: rename unWatchMode to unwatchMode @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2025/06/06 14:01:40 bsiegert Exp $ d4 1 @ 1.2 log @Revbump all Go packages after go124 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2025/05/30 11:17:56 schmonz Exp $ d3 1 a3 2 DISTNAME= ov-0.41.0 PKGREVISION= 1 @ 1.1 log @Add ov: Feature-rich terminal-based text viewer ov is a terminal pager. * Quickly opens files larger than memory. * Supports fixed header lines and columns. * Optimized for tabular text with column mode and customizable column colors. * Fully customizable shortcut keys and styles. * Follow mode for real-time updates (like `tail -f` / `tail -F`). * Exec mode to display command output dynamically. * Watch mode to monitor file changes periodically. * Advanced search: incremental, regex, and filter functions. * Multi-color highlighting for multiple words. * Supports Unicode and East Asian Width characters. * Handles compressed files (gzip, bzip2, zstd, lz4, xz). @ text @d1 1 a1 1 # $NetBSD$ d4 1 @