sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (3157B)


      1 scrollback
      2 ==========
      3 
      4 Description
      5 -----------
      6 Scroll back through terminal output using Shift+{PageUp, PageDown}.
      7 
      8 Download
      9 --------
     10 * [st-scrollback-0.7.diff](st-scrollback-0.7.diff)
     11 * [st-scrollback-0.8.diff](st-scrollback-0.8.diff)
     12 * [st-scrollback-0.8.1.diff](st-scrollback-0.8.1.diff)
     13 * [st-scrollback-0.8.2.diff](st-scrollback-0.8.2.diff)
     14 * [st-scrollback-20190331-21367a0.diff](st-scrollback-20190331-21367a0.diff)
     15 
     16 Apply the following patch on top of the previous to allow scrolling
     17 using `Shift+MouseWheel`.
     18 
     19 * [st-scrollback-mouse-20170427-5a10aca.diff](st-scrollback-mouse-20170427-5a10aca.diff)
     20 * [st-scrollback-mouse-0.8.diff](st-scrollback-mouse-0.8.diff)
     21 * [st-scrollback-mouse-0.8.2.diff](st-scrollback-mouse-0.8.2.diff)
     22 * [st-scrollback-mouse-20191024-a2c479c.diff](st-scrollback-mouse-20191024-a2c479c.diff)
     23 
     24 Apply the following patch on top of the previous two to allow scrollback using
     25 mouse wheel only when not in `MODE_ALTSCREEN`. For example the content is being
     26 scrolled instead of the scrollback buffer in `less`. Consequently the Shift
     27 modifier for scrolling is not needed anymore. **Note: patches before
     28 `20191024-a2c479c` might break mkeys other than scrolling functions.**
     29 
     30 * [st-scrollback-mouse-altscreen-20170427-5a10aca.diff](st-scrollback-mouse-altscreen-20170427-5a10aca.diff)
     31 * [st-scrollback-mouse-altscreen-0.8.diff](st-scrollback-mouse-altscreen-0.8.diff)
     32 * [st-scrollback-mouse-altscreen-20190131-e23acb9.diff](st-scrollback-mouse-altscreen-20190131-e23acb9.diff)
     33 * [st-scrollback-mouse-altscreen-20191024-a2c479c.diff](st-scrollback-mouse-altscreen-20191024-a2c479c.diff)
     34 
     35 Apply the following patch on top of the first two to allow changing how fast the mouse scrolls.
     36 
     37 * [st-scrollback-mouse-increment-0.8.2.diff](st-scrollback-mouse-increment-0.8.2.diff)
     38 
     39 Notes
     40 -----
     41 * Patches modify config.def.h, you need to add mkeys to your own config.h
     42 * With patches before `20191024-a2c479c`: you can not have a mshortcut for the
     43   same mkey so remove Button4 and Button5 from mshortcuts in config.h
     44 * The mouse and altscreen patches `20191024-a2c479c` (and later) are simpler and
     45   more robust because st gained better support for customized mouse shortcuts.
     46   As a result, the altscreen patch doesn't really need the mouse patch. However
     47   to keep it simple the instructions stay the same: the alrscreen patch still
     48   applies on top of the (now very minimal) mouse patch.
     49 
     50 Authors
     51 -------
     52 * Jochen Sprickerhof - <st@jochen.sprickerhof.de>
     53 * M Farkas-Dyck - <strake888@gmail.com>
     54 * Ivan Tham - <pickfire@riseup.net> (mouse scrolling)
     55 * Ori Bernstein - <ori@eigenstate.org> (fix memory bug)
     56 * Matthias Schoth - <mschoth@gmail.com> (auto altscreen scrolling)
     57 * Laslo Hunhold - <dev@frign.de> (unscrambling, git port)
     58 * Paride Legovini - <pl@ninthfloor.org> (don't require the Shift modifier
     59   when using the auto altscreen scrolling)
     60 * Lorenzo Bracco - <devtry@riseup.net> (update base patch, use static
     61   variable for config)
     62 * Kamil Kleban - <funmaker95@gmail.com> (fix altscreen detection)
     63 * Avi Halachmi - <avihpit@yahoo.com> (mouse + altscreen rewrite after `a2c479c`)
     64 * Jacob Prosser - <geriatricjacob@cumallover.me>