Lines Matching defs:pwd

185 	{ "pwd",	I_PWD,		REMOTE,		NOARGS	},
288 "pwd Display remote working directory\n"
356 /* Strip one path (usually the pwd) from the start of another */
605 make_absolute_pwd_glob(char *p, const char *pwd)
609 escpwd = escape_glob(pwd);
629 const char *pwd, int pflag, int rflag, int resume, int fflag)
635 abs_src = make_absolute_pwd_glob(xstrdup(src), pwd);
714 const char *pwd, int pflag, int rflag, int resume, int fflag)
726 tmp_dst = sftp_make_absolute(tmp_dst, pwd);
737 /* If we aren't fetching to pwd then stash this status for later */
775 abs_dst = sftp_make_absolute(xstrdup(filename), pwd);
1524 parse_dispatch_command(struct sftp_conn *conn, const char *cmd, char **pwd,
1564 err = process_get(conn, path1, path2, *pwd, pflag,
1571 err = process_put(conn, path1, path2, *pwd, pflag,
1575 path1 = sftp_make_absolute(path1, *pwd);
1576 path2 = sftp_make_absolute(path2, *pwd);
1580 path1 = sftp_make_absolute(path1, *pwd);
1581 path2 = sftp_make_absolute(path2, *pwd);
1589 path1 = sftp_make_absolute(path1, *pwd);
1590 path2 = sftp_make_absolute(path2, *pwd);
1595 path1 = make_absolute_pwd_glob(path1, *pwd);
1606 path1 = sftp_make_absolute(path1, *pwd);
1613 path1 = sftp_make_absolute(path1, *pwd);
1619 path1 = sftp_make_absolute(path1, *pwd);
1642 free(*pwd);
1643 *pwd = tmp;
1647 do_ls_dir(conn, *pwd, *pwd, lflag);
1651 /* Strip pwd off beginning of non-absolute paths */
1654 tmp = *pwd;
1656 path1 = make_absolute_pwd_glob(path1, *pwd);
1662 path1 = xstrdup(*pwd);
1663 path1 = sftp_make_absolute(path1, *pwd);
1696 path1 = make_absolute_pwd_glob(path1, *pwd);
1713 path1 = make_absolute_pwd_glob(path1, *pwd);
1752 mprintf("Remote working directory: %s\n", *pwd);
1998 /* Determine length of pwd so we can trim completion display */