Index | Thread | Search

From:
"Igor Zornik" <mocheryl@mocheryl.org>
Subject:
[UPDATE] sysutils/lf 40 -> 41
To:
"OpenBSD ports" <ports@openbsd.org>
Date:
Tue, 10 Feb 2026 19:43:47 +0100

Download raw body.

Thread
Hello, ports!

Here is an update to a new version of lf. One notable change is that
setting the 'rulerfile' option no longer loads a custom ruler from a
static location, but instead is used to set a file path to your ruler's
definition. So, going with default installation, this command in the
previous version:

lf -command 'set rulerfile'

Has an equivalent like this in the new version:

lf -command 'set rulerfile /etc/lf/ruler'

Tested on today's amd64 snap and the QP-encoded diff is below the
changelog. Someone please commit if OK.

Changelog:
- The 'previewer' script no longer skips non-regular files.
- Line numbers now take up less space when both 'number' and
  'relativenumber' are enabled.
- The ruler file is no longer experimental.
- The ruler file will be used by default unless 'rulerfmt' (now a blank
  string by default) is specified.
- The ruler file is no longer read from fixed locations like
  '~/.config/lf/ruler', and instead the 'rulerfile' option has been
  repurposed to specify the path of the ruler file.
- A new server command 'list' is added to print the IDs of all
  currently connected clients.
- The 'previewer' and 'cleaner' scripts now have their 'stderr' output
  logged.
- The 'ruler' file now supports '.Stat.Extension', '.Stat.AccessTime',
  '.Stat.BirthTime', '.Stat.ChangeTime' and '.Stat.CustomInfo', as well
  as '.Stat.DirSize' and '.Stat.DirCount'.
- A new option 'mergeindicators' is added to reduce the gap before
  filenames, by merging tag and selection indicators into a single
  column.
- A bug where sixel images fail to display when scrolling back and
  forth is now fixed.
- Newline characters are now ignored when drawing the ruler with the
  'ruler' file configured.
- A potential crash when using the 'scroll-up/scroll-down' commands is
  now fixed.
- Case-insensitive command-line completions no longer cause user input
  to be displayed in lowercase.
- Calculation of window widths for the 'ratios' option is now more
  accurate.

Detailed changelog is available at
https://github.com/gokcehan/lf/releases/tag/r41

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/lf/Makefile,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 Makefile
--- Makefile	4 Jan 2026 12:38:39 -0000	1.14
+++ Makefile	10 Feb 2026 18:02:33 -0000
@@ -1,9 +1,9 @@
 COMMENT =	terminal file manager inspired by ranger written in Go
 
 MODGO_MODNAME =	github.com/gokcehan/lf
-MODGO_VERSION =	v0.0.0-20251210034158-e4395362e49d
+MODGO_VERSION =	v0.0.0-20260204053052-18ab3cf6500d
 
-R =	40
+R =	41
 DISTNAME =	lf-${R}
 
 CATEGORIES =	sysutils
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/lf/distinfo,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 distinfo
--- distinfo	4 Jan 2026 12:38:39 -0000	1.12
+++ distinfo	10 Feb 2026 18:02:33 -0000
@@ -43,14 +43,14 @@ SHA256 (go_modules/golang.org/x/sys/@v/v
 SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20220722155257-8c9f86f7a55f.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
 SHA256 (go_modules/golang.org/x/sys/@v/v0.13.0.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
 SHA256 (go_modules/golang.org/x/sys/@v/v0.35.0.mod) = 9n4+GPTAjmCn6Acmqza2kf3Opbga4caW/2TK9Ri8/j0=
-SHA256 (go_modules/golang.org/x/sys/@v/v0.39.0.mod) = 9BGBTYOpboZ4Gx3uQcEluVBNpUItujfMHWOwFq45z+I=
-SHA256 (go_modules/golang.org/x/sys/@v/v0.39.0.zip) = ZURO/Smc54vEV1iLwgYeaftc6t7HAiDu2jlldAKtSxs=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.40.0.mod) = 9BGBTYOpboZ4Gx3uQcEluVBNpUItujfMHWOwFq45z+I=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.40.0.zip) = 1/n+RDAPyNR7MNBs0AHZxixUxhGYGKGaLjOpNTiXFmk=
 SHA256 (go_modules/golang.org/x/sys/@v/v0.5.0.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
 SHA256 (go_modules/golang.org/x/term/@v/v0.0.0-20201126162022-7de9c90e9dd1.mod) = TLqxT3cGdxsnHZlaGzzBMf5aJGqtx+5tG6bwvYlHgfo=
 SHA256 (go_modules/golang.org/x/term/@v/v0.0.0-20210927222741-03fcf44c2211.mod) = dAeU4pFPXMh+JWVsWEMiKyxlZlghIF9FYyoEd8jT95s=
 SHA256 (go_modules/golang.org/x/term/@v/v0.34.0.mod) = pf+AuqfyY5257Z30bvbOKf0asbQnXpuKaFaqm47N4no=
-SHA256 (go_modules/golang.org/x/term/@v/v0.38.0.mod) = y9Rn0L/1uGgUc+6lGryukXJ63ON2GNmtl2C6v5etmmw=
-SHA256 (go_modules/golang.org/x/term/@v/v0.38.0.zip) = AM7Ivq6Yu1oVye6ejnBbfKucUCaeeFi/+Y3wUzsxc2M=
+SHA256 (go_modules/golang.org/x/term/@v/v0.39.0.mod) = wDklZj+X1JDHRXWE2tqVS2z748R2K6AufPbw6694oss=
+SHA256 (go_modules/golang.org/x/term/@v/v0.39.0.zip) = RDux+HrRGn0tqP6k5YJy6G89cIlfOOE6mSU23EMfxS0=
 SHA256 (go_modules/golang.org/x/term/@v/v0.5.0.mod) = DW9YIoqtwaZSjmdV2gGFFlZuOuXFIB963hdz9W+o2TQ=
 SHA256 (go_modules/golang.org/x/text/@v/v0.14.0.mod) = lxV58X6avFkmq3YhT1M71RfPSSXIhSQ6xHVaGgp8ae8=
 SHA256 (go_modules/golang.org/x/text/@v/v0.28.0.mod) = URSs2/q356CXgI0L1M3wbjowQ+S8Xk5JdHFdZkUCaYo=
@@ -68,7 +68,7 @@ SHA256 (go_modules/golang.org/x/tools/@v
 SHA256 (go_modules/golang.org/x/tools/@v/v0.6.0.mod) = gw7Xjc0+mSfEEuJkEjAwhEd0nVE9MQJNJ24kQ7IBZgk=
 SHA256 (go_modules/golang.org/x/xerrors/@v/v0.0.0-20190717185122-a985d3407aa7.mod) = ql4+ybt7n2gWCe+sAZ2d4ae6dxkkj/Hqon54iC2z1/U=
 SHA256 (go_modules/golang.org/x/xerrors/@v/v0.0.0-20190717185122-a985d3407aa7.zip) = xOnwY8/tVGyQ8AqWV96sT5FaiZT4y+bb0/GOeeuDAs8=
-SHA256 (lf-40.zip) = pBbf3e2sync/n6UFAMETHPoX+VYusIGe4qRvfP+4+kM=
+SHA256 (lf-41.zip) = wL81/5dEbo8m7Lz2xaFmDMRvsJlr+T5bwzMA8qSblRw=
 SIZE (go_modules/github.com/clipperhouse/uax29/v2/@v/v2.2.0.mod) = 255
 SIZE (go_modules/github.com/clipperhouse/uax29/v2/@v/v2.2.0.zip) = 283496
 SIZE (go_modules/github.com/djherbis/times/@v/v1.6.0.mod) = 103
@@ -114,14 +114,14 @@ SIZE (go_modules/golang.org/x/sys/@v/v0.
 SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20220722155257-8c9f86f7a55f.mod) = 33
 SIZE (go_modules/golang.org/x/sys/@v/v0.13.0.mod) = 33
 SIZE (go_modules/golang.org/x/sys/@v/v0.35.0.mod) = 35
-SIZE (go_modules/golang.org/x/sys/@v/v0.39.0.mod) = 35
-SIZE (go_modules/golang.org/x/sys/@v/v0.39.0.zip) = 2003190
+SIZE (go_modules/golang.org/x/sys/@v/v0.40.0.mod) = 35
+SIZE (go_modules/golang.org/x/sys/@v/v0.40.0.zip) = 2003724
 SIZE (go_modules/golang.org/x/sys/@v/v0.5.0.mod) = 33
 SIZE (go_modules/golang.org/x/term/@v/v0.0.0-20201126162022-7de9c90e9dd1.mod) = 95
 SIZE (go_modules/golang.org/x/term/@v/v0.0.0-20210927222741-03fcf44c2211.mod) = 95
 SIZE (go_modules/golang.org/x/term/@v/v0.34.0.mod) = 70
-SIZE (go_modules/golang.org/x/term/@v/v0.38.0.mod) = 70
-SIZE (go_modules/golang.org/x/term/@v/v0.38.0.zip) = 21158
+SIZE (go_modules/golang.org/x/term/@v/v0.39.0.mod) = 70
+SIZE (go_modules/golang.org/x/term/@v/v0.39.0.zip) = 21694
 SIZE (go_modules/golang.org/x/term/@v/v0.5.0.mod) = 67
 SIZE (go_modules/golang.org/x/text/@v/v0.14.0.mod) = 197
 SIZE (go_modules/golang.org/x/text/@v/v0.28.0.mod) = 190
@@ -139,4 +139,4 @@ SIZE (go_modules/golang.org/x/tools/@v/v
 SIZE (go_modules/golang.org/x/tools/@v/v0.6.0.mod) = 211
 SIZE (go_modules/golang.org/x/xerrors/@v/v0.0.0-20190717185122-a985d3407aa7.mod) = 37
 SIZE (go_modules/golang.org/x/xerrors/@v/v0.0.0-20190717185122-a985d3407aa7.zip) = 20009
-SIZE (lf-40.zip) = 223082
+SIZE (lf-41.zip) = 226063
Index: modules.inc
===================================================================
RCS file: /cvs/ports/sysutils/lf/modules.inc,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 modules.inc
--- modules.inc	4 Jan 2026 12:38:39 -0000	1.9
+++ modules.inc	10 Feb 2026 18:02:33 -0000
@@ -12,8 +12,8 @@ MODGO_MODULES =	\
 	golang.org/x/mod			 v0.27.0 \
 	golang.org/x/net			 v0.6.0 \
 	golang.org/x/sync			 v0.17.0 \
-	golang.org/x/sys			 v0.39.0 \
-	golang.org/x/term			 v0.38.0 \
+	golang.org/x/sys			 v0.40.0 \
+	golang.org/x/term			 v0.39.0 \
 	golang.org/x/text			 v0.29.0 \
 	golang.org/x/tools			 v0.36.0 \
 	golang.org/x/xerrors			 v0.0.0-20190717185122-a985d3407aa7