There are two ways of skipping over characters in the current input stream: skip to a given character, or skip to the end of a line (or record).
ttyskip/1
.
skip_line/[0,1]
. Use of this predicate helps portability of code
since it avoids dependence on any particular character code(s) being
returned at the end of a line.