433a39aedf
- added "dir" == "ls -l", "mget" == "get", "mput == "put" - filenames with spaces should work now - added ability to connect to a different port with -p. -P now specifies remote path - fixed problems with multiple opens and no intermediate close - command line flags processed in open, so multiple opens with different flags will work Uses NetBSD's libedit instead of libreadline. (Why don't we have any documentation on that, btw?!?)
19 lines
416 B
Text
19 lines
416 B
Text
$NetBSD: patch-ab,v 1.1 1999/12/27 23:53:45 hubertf Exp $
|
|
|
|
--- sftp.c.orig Tue Dec 28 00:36:29 1999
|
|
+++ sftp.c Tue Dec 28 00:39:46 1999
|
|
@@ -19,10 +19,14 @@
|
|
#include <sys/socket.h>
|
|
#include <sys/wait.h>
|
|
|
|
+#ifdef __NetBSD__
|
|
+#include <readline.h>
|
|
+#else /* __NetBSD__ */
|
|
#ifdef HAVE_LIBREADLINE
|
|
#include <readline/readline.h>
|
|
#include <readline/history.h>
|
|
#endif
|
|
+#endif /* __NetBSD__ */
|
|
|
|
#include "sftp.h"
|
|
|