use sys_* io functions in dav put

fix crash in davql exec, if the server response can't be parsed

use tcsetattr only if stdin is a tty

(0) -300 -100 -30 -10 -3 +3 +10 +30 +100 tip

mercurial