edlog++ -- 'ed' and 'mail' inspired shlog browser in Python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Sam Hunter 90a78243fe
Allow post selection by its number without leading zeros.
2 months ago
Makefile Makefile added 1 year ago
README.md '<' and '>' commands added. Experimental support for URLs added. 5 months ago
edlog++ Allow post selection by its number without leading zeros. 2 months ago
edlog++.1 '<' and '>' commands added. Experimental support for URLs added. 5 months ago

README.md

edlogxx

edlog++ -- 'ed' and 'mail' inspired shlog browser in Python

usage

edlog++ [-h] [-m] [-p] [-u USER] [-w] [--since TIME]

Shlog ("shell log") reader.

options:
  -h, --help            show this help message and exit
  -m, --markdown        Format shlogs using MarkDown
  -p, --pager           Use external pager
  -u USER, --user USER  Comma separated list of usernames to include in the list
  -w, --wrap            Wrap text
  --since TIME          Show items newer than TIME, provided in Unix time format

commands

  • ? - help
  • make new post
  • next
  • previous
  • reply
  • ./Enter - type current shlog
  • z - next screenful of headers
  • h - redisplay headers
  • q - quit
  • > - increases text width by 4 characters (in wrap mode)
  • < - decreases text width by 4 characters (in wrap mode)
  • :wrap/:nowrap - toggle line wrapping
  • :pager/:nopager - activate/deactivate external pager ("less" for now)
  • :md/:nomd - toggle MarkDown formatting
  • g - go back to the first page
  • G - go to the oldest message / last page
  • !command - executes command
    • accepts optional parameters:
      • {f} - shlog filename
      • {a} - author
      • {d} - date
      • {t} - title
  • 4 digit number - jump directly to shlog number

todo's

  • make new post
  • reply
  • | - pipe
  • ! - shell out/exec
  • ? - builtin help