scroll

scrollbackbuffer program for st
git clone git://git.suckless.org/scroll
Log | Files | Refs | README | LICENSE

README (1234B)


      1 This program provides a scroll back buffer for a terminal like st(1).  It
      2 should run on any Unix-like system.
      3 
      4 At the moment it is in an experimental state.  Its not recommended for
      5 productive use.
      6 
      7 The initial version of this program is from Roberto E. Vargas Caballero:
      8 	https://lists.suckless.org/dev/1703/31256.html
      9 
     10 What is the state of scroll?
     11 
     12 The project is faced with some hard facts, that our original plan is not doable
     13 as we thought in the first place:
     14 
     15  1. [crtl]+[e] is used in emacs mode (default) on the shell to jump to the end
     16     of the line.  But, its also used so signal a scroll down mouse event from
     17     terminal emulators to the shell an other programs.
     18 
     19     - A workaround is to use vi mode in the shell.
     20     - Or to give up mouse support (default behavior)
     21 
     22  2. scroll could not handle backward cursor jumps and editing of old lines
     23     properly.  We just handle current line editing and switching between
     24     alternative screens (curses mode).  For a proper end user experience we
     25     would need to write a completely new terminal emulator like screen or tmux.
     26 
     27 What is the performance impact of scroll?
     28 
     29 	indirect	OpenBSD
     30 -------------------------------
     31 	0x		 7.53 s
     32 	1x		10.10 s
     33 	2x		12.00 s
     34 	3x		13.73 s