index.md (3948B)
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.8.5.diff](st-scrollback-0.8.5.diff) 11 * [st-scrollback-0.8.4.diff](st-scrollback-0.8.4.diff) 12 * [st-scrollback-20201205-4ef0cbd.diff](st-scrollback-20201205-4ef0cbd.diff) 13 * [st-scrollback-20210507-4536f46.diff](st-scrollback-20210507-4536f46.diff) 14 15 Alternative implementation that uses a ring buffer for more 16 efficient scrolling: 17 18 * [st-scrollback-ringbuffer-0.8.5.diff](st-scrollback-ringbuffer-0.8.5.diff) 19 20 Apply the following patch on top of the [original scrollback patch (=>0.8.5)](st-scrollback-0.8.5.diff) to allow 21 column and row reflow. 22 23 * [st-scrollback-reflow-0.8.5.diff](st-scrollback-reflow-0.8.5.diff) 24 25 Apply the following patch on top of the previous to allow scrolling 26 using `Shift+MouseWheel`. 27 28 * [st-scrollback-mouse-20170427-5a10aca.diff](st-scrollback-mouse-20170427-5a10aca.diff) 29 * [st-scrollback-mouse-0.8.diff](st-scrollback-mouse-0.8.diff) 30 * [st-scrollback-mouse-0.8.2.diff](st-scrollback-mouse-0.8.2.diff) 31 * [st-scrollback-mouse-20191024-a2c479c.diff](st-scrollback-mouse-20191024-a2c479c.diff) 32 * [st-scrollback-mouse-20220127-2c5edf2.diff](st-scrollback-mouse-20220127-2c5edf2.diff) 33 34 Apply the following patch on top of the previous two to allow scrollback using 35 mouse wheel only when not in `MODE_ALTSCREEN`. For example the content is being 36 scrolled instead of the scrollback buffer in `less`. Consequently the Shift 37 modifier for scrolling is not needed anymore. **Note: patches before 38 `20191024-a2c479c` might break mkeys other than scrolling functions.** 39 40 * [st-scrollback-mouse-altscreen-20170427-5a10aca.diff](st-scrollback-mouse-altscreen-20170427-5a10aca.diff) 41 * [st-scrollback-mouse-altscreen-0.8.diff](st-scrollback-mouse-altscreen-0.8.diff) 42 * [st-scrollback-mouse-altscreen-20190131-e23acb9.diff](st-scrollback-mouse-altscreen-20190131-e23acb9.diff) 43 * [st-scrollback-mouse-altscreen-20200416-5703aa0.diff](st-scrollback-mouse-altscreen-20200416-5703aa0.diff) 44 * [st-scrollback-mouse-altscreen-20220127-2c5edf2.diff](st-scrollback-mouse-altscreen-20220127-2c5edf2.diff) 45 46 Apply the following patch on top of the first two to allow changing how fast the mouse scrolls. 47 48 * [st-scrollback-mouse-increment-0.8.2.diff](st-scrollback-mouse-increment-0.8.2.diff) 49 50 Notes 51 ----- 52 * Patches modify config.def.h, you need to add mkeys to your own config.h 53 * With patches before `20191024-a2c479c`: you can not have a mshortcut for the 54 same mkey so remove Button4 and Button5 from mshortcuts in config.h 55 * The mouse and altscreen patches `20191024-a2c479c` (and later) are simpler and 56 more robust because st gained better support for customized mouse shortcuts. 57 As a result, the altscreen patch doesn't really need the mouse patch. However 58 to keep it simple the instructions stay the same: the alrscreen patch still 59 applies on top of the (now very minimal) mouse patch. 60 61 Authors 62 ------- 63 * Jochen Sprickerhof - <st@jochen.sprickerhof.de> 64 * M Farkas-Dyck - <strake888@gmail.com> 65 * Ivan Tham - <pickfire@riseup.net> (mouse scrolling) 66 * Ori Bernstein - <ori@eigenstate.org> (fix memory bug) 67 * Matthias Schoth - <mschoth@gmail.com> (auto altscreen scrolling) 68 * Laslo Hunhold - <dev@frign.de> (unscrambling, git port) 69 * Paride Legovini - <pl@ninthfloor.org> (don't require the Shift modifier 70 when using the auto altscreen scrolling) 71 * Lorenzo Bracco - <devtry@riseup.net> (update base patch, use static 72 variable for config) 73 * Kamil Kleban - <funmaker95@gmail.com> (fix altscreen detection) 74 * Avi Halachmi - <avihpit@yahoo.com> (mouse + altscreen rewrite after `a2c479c`) 75 * Jacob Prosser - <geriatricjacob@cumallover.me> 76 * Timo Röhling - <timo@gaussglocke.de> (ring buffer implementation) 77 * [Alexander Arkhipov](gopher://mineeyes.cyou/) - <scm_2022@mineeyes.cyou> (0.8.5 update) 78 * Ashish Kumar Yadav - <ashishkumar.yadav@students.iiserpune.ac.in> (reflow implementation)