name shrub/yap
description yet another pager from minix 2.0: modernized
last change 2026-07-01
clone url
https://srcdump.net/shrub/yap.git

commit briefs

87f20ea
shrub  ·  2026-07-01
main
4cd0864
shrub  ·  2026-07-01

branches

refs

tree

22 L
64 L
76 L
13 L
7 L
786 L
28 L
693 L
42 L
304 L
9 L
476 L
12 L
113 L
7 L
24 L
188 L
16 L
135 L
20 L
196 L
19 L
92 L
13 L
103 L
23 L
35 L
8 L
116 L
20 L
175 L
9 L
149 L
460 L
62 L
70 L

readme

 1yap
 2===
 3
 4this is yap, or yet another pager. it's really old, from minix 2.0, i 
 5believe. i've modernized it, removed legacy compatibilty codepaths to ancient systems 
 6(many of which are listed in the original readme, see below), removed other 
 7code that is useless in the modern day (it had it's own mini virtual memory system! things
 8were different back then), swapped from termcap to terminfo, made it somewhat UTF-8 aware
 9, and added some basic ansi escape code support, so things like git diff work. i have also 
10fixed a lot of compilation errors, old code doesn't play nice with modern compilers. i have
11also attempted to somewhat modernize the code style. it compiles on linux musl; if you
12have issues on other systems, let me know.
13
14it uses ninja to build. you will also need some terminfo implementation, and a reasonably
15modern somewhat posix POSIX system.
16
17	ninja 
18	ninja install
19
20the original readme is preserved below:
21----------------------------------------------------
22
23$Header: READ_ME,v 6.2 88/04/29 11:43:35 ceriel Exp $
24
25This directory contains the sources of YAP, Yet Another Pager.
26It can do most of the things more(1) can, and much much more.
27
28Yap has been tested on the following systems:
29
30- DEC PDP 11/44 running V7
31- DEC PDP 11/60 running V7
32- DEC VAX 11/750 running 4.1BSD
33- IBM PC/XT running PC/IX
34- NCR Minitower running a System V
35- Several 68k systems
36- SUN-3 and SUN-4
37
38On other systems, you might have some problems getting yap to run, but then
39again, you might not. You can always ask me for help, and maybe even get it.
40If you make any changes, please
41 - tell me about them
42 - mark them clearly, preferably through conditional compilation.
43
44What you need to run yap:
45
46- you need termlib/termcap.
47  It probably is'nt too hard to adapt yap to terminfo.
48  It might even work unchanged, but I don't know about that. We don't have
49  terminfo or the system V curses.
50  If you adapt yap to terminfo, I would sure like to get the changes you made,
51  so please send them to me (email address at the bottom of this note);
52- you also need regex(III) (Either Berkeley style or USG will do).
53  If you do not have it, you should define NOREGEX, which gives you
54  simpleminded searches without meta-characters.
55
56How to install yap:
57
58- edit Makefile (easy)
59- edit in_all.h (easy)
60- type "make install"
61
62			Ceriel Jacobs, Vrije Universiteit Amsterdam
63			ceriel@cs.vu.nl