trailing whitespaces in code removed; wip readline
details; gnu licence;