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