Add and integrate a script to execute mc.ext.ini

Tsk, tsk, parasiting on what we wanted to replace.

macOS is annoying to port to.

Unfortunately, this script is also very slow, for some reason.
This commit is contained in:
2024-12-28 00:28:22 +01:00
parent 85b2d8a2ee
commit 3075d47aeb
7 changed files with 264 additions and 10 deletions

23
sdn-view.1 Normal file
View File

@@ -0,0 +1,23 @@
.Dd December 28, 2024
.Dt SDN-VIEW 1
.Os
.Sh NAME
.Nm sdn-view
.Nd run Midnight Commander view configuration externally
.Sh SYNOPSIS
.Nm sdn-view
.Ar path
.Sh DESCRIPTION
.Nm
invokes
.Ev PAGER
or a fallback pager on the passed filename.
.Pp
If it succeeds in finding a
.Xr mc 1
.Pa mc.ext.ini
file, it will first process it, and apply any matching filter.
.Sh REPORTING BUGS
Use
.Lk https://git.janouch.name/p/sdn
to report bugs, request features, or submit pull requests.