max-p-log-p / Lb

Browser in the less pager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lb - Browser in Less

Build Dependencies: coreutils, util-linux, less
Runtime Dependencies: python3 (version >= 3.7), less (with command support), curl

Building

$ make

Installation

Add the following lines to your shell's rc file:

Linux:
alias lb='cd ~/.lb/pages; touch {1..32}; LESSKEY=~/.lb/less less -XR {1..32}'
export PATH=~/bin:"$PATH"

Update the shell (bash)
$ . ~/.bashrc

For performance and security, you can add the following line to your /etc/fstab file:

Linux:
tmpfs $HOME/.lb/pages tmpfs uid=$USER,gid=$USER,mode=700,noatime,nodev,nosuid,noexec 0 0

This will store web pages in memory, prevent updates to access times, and set strict access control permissions.

Execution

$ lb

Uninstalling

$ make uninstall

Work In Progress

  • Rewrite in flex/bison for portability and correctness

Bugs

Please send issues to the email seL4 (plus) lb (at) disroot.org.

About

Browser in the less pager

License:ISC License


Languages

Language:Roff 34.0%Language:Python 26.1%Language:C 20.4%Language:Makefile 6.3%Language:M4 6.2%Language:Awk 4.2%Language:HTML 2.7%