simple statics for stdin with top-like interface