Fills terminal if enough entries are available.
Implemented relative and absolute path handling.