RSHD_BUFSIZ
buf = malloc(max(RSHD_BUFSIZ, RSH_BUFSIZ));
ret = do_read (from0, buf, RSHD_BUFSIZ, ivec_in[0]);