Addded the abilty to detect the remote shell, smart commands now work on C-shell family. Added ability to normalise line endings. Added pause timeouts on all other shell read functions