The code can be found by clicking here. Then save it as ttymenu.c and compile this with “gcc ttymenu.c -o ttymenu -O3 -Wall -static (-Bstatic if you are on macos)”.