git.y1.nz

lwl

Less with links.
download: http://git.y1.nz/archives/lwl.tar.gz
README | Files | Log | Refs

TODO

      1 BUGS
      2 [ ] optimize drawing with tons of markups
      3     (laggy examples: "/e" in shakespeare, test/6, test/7)
      4 
      5 [?] fix nested link ordering
      6     (right now "n" orders them in reverse)
      7     (*not sure if necessary!)
      8 
      9 [ ] handle UTF-8 non-constant-length chars. (mbstowcs, wcwidth, etc)
     10     (have someone test using this all for japanese websites...)
     11 
     12 PLANNED FEATURES
     13 [x] Add make target "install"
     14 [x] Add linewrapping
     15 [x] Load file in 1d array instead of 2d screen-width-dependent one
     16 [x] Display markups/text-associated highlights
     17 [x] Add searching
     18 [x] Extract control bindings into config.h
     19 [x] Write man page
     20 [x] Add a keybinding for "jump to the next(/prev) link at least a half-page away"
     21 [x] Update '>' to be able to run lwl/bro
     22 [x] Implement link-using commands
     23     [x] '>' to type arbitrary script with the link,
     24         in the system editor, and then run it on quit.
     25     [x] "enter" to follow a link
     26     [x] 'v' to preview Very Long Links
     27 
     28 [ ] add "refresh page" control (5)
     29 [ ] add "re-measure screen" control (%)
     30 
     31 [ ] add "toggle wrap" control (w?)
     32     (for SLIGHTLY-over-80-char things, like many gopher pages, to prevent wrap)
     33     (would this then require h-scroll? Dont want to add hscroll...
     34 
     35 [ ] Add input wrap / support for longer inputs (for '>', '!', '/', etc)
     36 
     37 [ ] Make 'v' safe: make script-injecting impossible. (also for '>' if possible)
     38 [ ] Save URI to tmpfile for commands instead of shitting $LINK into a shell command
     39     (you can still do it like `echo "$(cat $LINKFILE)" >> bookmarks` but this
     40      would encourage much better security by default.)
     41     (possible solution to "Make 'v' safe")
     42 
     43 [ ] Extract terminal control sequences into a single, obvious place in the code

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.