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