FEAT: minor extensions of the internal string API (added string/rs-reset).
FEAT: added prototype INPUT implementation for Unix platforms.