Did you know? SWI-Prolog supports TIPCSearch Documentation:
SWI-Prolog owl logoPredicate read_line_to_codes/2