less: implement waiting for input using select(). Rather tricky business.
But we do not read entire input anymore up-front.
2 files changed