Completely re-writing this right now. Focus will be on interactive Linux apps that only take input from stdin for starters.…