tigrawap / slit

slit - a modern PAGER for viewing logs, get more than most in less time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

For WebSlit - dump active filters to a file via SIGUSR1/2

koreno opened this issue · comments

we want to be able to share filtered views between webslit sessions. if we can signal webslit to dump its filters to some known location, WebSlit could read the file, make a url query-string out of it, and do the reverse on the target session, starting slit with the provided filters

Not a fan of using signals, number of signals limited...and eventually will come to the point that there are "much more important features", that can be done only with signals, but all signals are taken.

How about:
"--sync-filters=file_location"

Every time filters changed - file_location is updated?

yep, that's great too.
and add to that also the current line-number, -K value, and even current column position.
in other words what we want is to save the current state, so it can be recreated in a separate session.

hey @tigrawap , it's been 3 years now, what's holding you back?... ;)