Correctly handle eof in seeborg-linein.