a simple text browser implemted in C