changeset 310:cf283d076239

2003-11-9 Brian Masney <masneyb@gftp.org> * docs/Makefile.am - clean up documentation in clean target * docs/website/generate-gftp-website.pl docs/website/index.html.in - copy README/FAQ that is automatically generated to the website. * docs/website/install.html docs/website/faq.html - no longer needed anymore. * docs/website/index.html.in - updated the list of languages * ChangeLog-old - updated with brief list of changes since 2.0.15
author masneyb
date Sun, 09 Nov 2003 13:11:37 +0000
parents cc2eeb30b793
children 719279584fb8
files ChangeLog ChangeLog-old docs/Makefile.am docs/gftp-faq.sgml docs/website/faq.html docs/website/generate-gftp-website.pl docs/website/index.html.in docs/website/install.html
diffstat 8 files changed, 81 insertions(+), 182 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Nov 08 12:23:21 2003 +0000
+++ b/ChangeLog	Sun Nov 09 13:11:37 2003 +0000
@@ -1,3 +1,16 @@
+2003-11-9 Brian Masney <masneyb@gftp.org>
+	* docs/Makefile.am - clean up documentation in clean target
+
+	* docs/website/generate-gftp-website.pl docs/website/index.html.in -
+	copy README/FAQ that is automatically generated to the website.
+
+	* docs/website/install.html docs/website/faq.html - no longer needed
+	anymore.
+
+	* docs/website/index.html.in - updated the list of languages
+
+	* ChangeLog-old - updated with brief list of changes since 2.0.15
+
 2003-11-7 Brian Masney <masneyb@gftp.org>
 	* lib/gftp.h lib/local.c lib/protocols.c lib/rfc2068.c lib/rfc959.c
 	lib/sshv2.c - added copy_param_options method to gftp_request
@@ -24,7 +37,7 @@
 	* configure.in docs/Makefile.am - Added check for the db2html
 	command (from gtk+ configure)
 
-	* docs/gftp-faq.sgml - updated with more informationA
+	* docs/gftp-faq.sgml - updated with more information
 
 	* docs/website/index.html.in - updated list of translations
 
@@ -1727,7 +1740,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.169 2003/11/08 12:23:20 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.170 2003/11/09 13:11:36 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/ChangeLog-old	Sat Nov 08 12:23:21 2003 +0000
+++ b/ChangeLog-old	Sun Nov 09 13:11:37 2003 +0000
@@ -1,3 +1,35 @@
+Changes from 2.0.15 to 2.0.16
+
+* Fixed bug where the local directory listing was not updated when
+  connecting to a bookmarked site.
+* Fix for Novell directory paths (//share/directory)
+* Local: If there is a dangling symlink in the local directory, not all of
+  the files were being shown.
+* FTP: Fixed rename bug
+* FTP: Fixed editing the FTP proxy config in the FTP port.
+* FTP: Better error checking when establishing the data connection.
+* FTP: File transfers are aborted correctly. You will not lose your connection
+  to the remote server.
+* FTP: Ascii file transfers fix.
+* HTTP: Fixed parsing some chunked file transfers.
+* SSH: Fixed crash when deleting subdirectories.
+* When editing remote files, and if the current directory is changed on the
+  remote server, make sure the file is still uploaded to the proper location.
+* When editing a remote file, if the connection to the remote server times out,
+  immediately reconnect when the file is uploaded.
+* DND cleanups
+* If the source is compiled with -D_GNU_SOURCE, then use the current style
+  for the current locale to separate numbers.
+* In some cases, if the remote_charset is defined for the remote host, convert
+  the current string from UTF8 to the users remote character set.
+* Fixed Cray directory directory listings. Also, some UNIX directory listings
+  that had files with multiple spaces were being mistaken for Cray directory
+  listings.
+* The README/FAQ is now stored in Docbook format.
+* New language translations and updates (az bn el es hr it ja nl no pt ro sk sr)
+* Many other small changes and improvements. See the ChangeLog file in the
+  distribution for a detailed list of changes.
+
 Changes from 2.0.15rc2 to 2.0.15
 
 * FTP: Fixes for selecting ASCII/Binary transfers
--- a/docs/Makefile.am	Sat Nov 08 12:23:21 2003 +0000
+++ b/docs/Makefile.am	Sun Nov 09 13:11:37 2003 +0000
@@ -24,6 +24,9 @@
 		(cd $(srcdir); db2pdf gftp-faq.sgml); \
 	fi
 
+clean:
+	rm -rf gftp-faq gftp-faq.junk gftp-faq.pdf
+
 dist-hook: html
 	cp $(srcdir)/gftp-faq/gftp-faq.html $(distdir)/../README.html
 	html2text -nobs -o $(distdir)/../README -style pretty $(srcdir)/gftp-faq/gftp-faq.html 
--- a/docs/gftp-faq.sgml	Sat Nov 08 12:23:21 2003 +0000
+++ b/docs/gftp-faq.sgml	Sun Nov 09 13:11:37 2003 +0000
@@ -6,7 +6,7 @@
 <book>
 
 <bookinfo>
-  <date>November 5th 2003</date>
+  <date>$Date: 2003/11/09 13:11:36 $</date>
   <title>gFTP FAQ</title>
   <authorgroup>
     <author>
@@ -250,10 +250,29 @@
 <title>Where does gFTP store it's options?</title>
 
 <para>gFTP will automatically create a ~/.gftp directory when it is first run.
-Your config file is ~/.gftp/gftprc, and this is where all of gFTP's
-settings are stored. The config file is well commented, so take a glance
-at it and see if there is anything you want to change. Your bookmarks are
-stored in the file ~/.gftp/bookmarks</para>
+Your config file is <emphasis>~/.gftp/gftprc</emphasis>, and this is where
+all of gFTP's settings are stored. The config file is well commented, so take
+a glance at it and see if there is anything you want to change. Your bookmarks
+are stored in the file <emphasis>~/.gftp/bookmarks</emphasis>.</para>
+
+<para>Every time gFTP is run, it will log the contents of the log window
+to <emphasis>~/.gftp/gftp.log</emphasis>. The contents of this file will be
+automatically purged this file when gFTP is started up.</para>
+
+</sect1>
+
+<!-- ----------------------------------------------------------------- -->
+
+<sect1>
+<title>Why aren't the file sizes comma separated?</title>
+
+<para>
+If gFTP was compiled with _GNU_SOURCE defined (run 
+<emphasis>gftp --info</emphasis>), then gFTP will use the printf() modifier
+%'ld. If your <emphasis>LANG</emphasis> environment is set to C, then no
+commas will be inserted. If you are in the US, change your 
+<emphasis>LANG</emphasis> environment variable to <emphasis>en_US</emphasis>.
+</para>
 
 </sect1>
 
--- a/docs/website/faq.html	Sat Nov 08 12:23:21 2003 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,148 +0,0 @@
-<HTML>
-<HEAD>
-<TITLE>Frequently Asked Questions for gFTP</TITLE>
-<META NAME="author" CONTENT="Brian Masney"> 
-<LINK REV=MADE HREF="mailto:masneyb@gftp.org">
-</HEAD>
-<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#336699" VLINK="#336699" ALINK="#336699">
-<FONT FACE="Lucida,Verdana,Helvetica,Arial"><SMALL>
-
-<H4>I'm having problems with installing the RPMs off of your website.</H4>
-If the RPM installs fine, but when you run gFTP, if you get an error about the symbol GCC_3.0 not found, then you need to recompile the RPM. Or if you try to install the RPM and you get an error about unresolved dependency libreadline.so.1 and you have the readline RPM installed, you'll also have to get a different gFTP RPM. The RPMs on my website I built on a Debian GNU/Linux i386 box with gcc 3.0.3.
-
-<P>I would first suggest checking your distributions development tree (RedHat Rawhide or Mandrake Cooker for example), they probably have a RPM of the latest gFTP there. If not, download the SRC RPM and type <em>rpm -i gftp-version-1.src.rpm</em>. It will build a RPM and put it in /usr/src/redhat/RPMS/arch or /usr/src/rpm/RPMS/arch (arch is i386, sparc, axp, etc...)</P>
-
-<H4>What systems is gFTP known to run on?</H4>
-I develop gFTP on a Debian GNU/Linux machine. Here is a list of other platforms I have received successful compile reports on:
-<UL>
-<LI>FreeBSD/NetBSD/OpenBSD/BSDI
-<LI>Solaris
-<LI>IRIX
-<LI>Digital UNIX 
-<LI>HP-UX 11
-</UL>
-I have gotten reports about successful compiles more platforms, but I lost those emails. If you got gFTP to compile on a platform not listed here, please email me about it and I'll add it to this list. If you are having problems compiling gtk+ or gftp on another platform, try using GNU make instead of your vendor supplied make. Most of the vendor supplied makes are brain-dead.
-
-<H4>I'm having problems getting SSH2 transfers to work. I keep getting the error: <EM>Error: Message size 1644196712 too big from server</EM></H4>
-<P>What probably is the problem, sftp-server isn't in your path on the remote server. When you try to connect to the remote server, you'll see the command gftp is trying to run, and it'll look something like:</P> 
-<P><CENTER>ssh -l <EM>username hostname</EM> "echo -n xsftp ;  sftp-server"</CENTER></P>
-<P>Try running this command. If you get a prompt asking:</P>
-
-<P><EM>The authenticity of host 'hostname (###.###.###.###)' can't be established.<BR>
-RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.<BR>
-Are you sure you want to continue connecting (yes/no)?<BR></EM></P>
-
-<P>Tell it yes. gFTP won't even try to answer this question for you at the moment. Then, if you get the following output:</P>
-
-<P><EM>Enter passphrase for key '/home/brian/.ssh/id_dsa':<BR>
-xsftp<BR>
-bash: sftp-server: command not found<BR></EM></P>
-
-<P>You'll have to set the path to the sftp-server program. Alternatively you could go under FTP-&gt;Options-&gt;SSH and enable Use sftp subsys. If you enable this, then you don't have to know the remote path to your sftp executable. But if you enable this, gFTP won't be able to send your password over to the ssh client. So if you're not using ssh-agent, then ssh will spawn the ssh-askpass program to grab your password.</P>
-
-<H4>What is the difference between the SSH and SSH2 protocols?</H4>
-
-The SSH protocol uses sftp &gt;= 0.7 from <A HREF="http://www.xbill.org/sftp">http://www.xbill.org/sftp</A>. SSH2 uses the native file transfers found in the <A HREF="http://www.ssh.com/">commercial SSH2</A> and in later versions of <A HREF="http://www.openssh.org/">OpenSSH</A>.
-
-<H4>How do I force running the text or gtk+ version of gftp?</H4>
-
-To run the text port, you can type gftp-text or to run the gtk+ port, you can run the gftp-gtk. The gftp command is just a shell script that sees if your DISPLAY variable is set, and if so it'll run the appropriate version
-
-<H4>Is there a way for gftp to download a bunch of files/directories and then exit when it's completed?</H4>
-
-Yes, the text port of gftp supports this well. You can type:<BR>
-<P><CENTER>gftp-text -d ftp://ftp.somesite.com/someplace</CENTER></P>
-If someplace is a directory, it'll automatically download all its subdirs as well. If you want to transfer a file through ssh instead of ftp, just change the ftp:// to ssh://
-
-<H4>In the GTK+ version of gFTP, do I have to enter a port, username and password   to connect to a ftp server?</H4>
-
-No you don't. If you leave the port blank, it'll default to the default port for the protocol you selected (port 21 for FTP). If you leave the username blank, it will default to logging in as anonymous
-
-<H4>How do I set up my HTTP Proxy server?</H4>
-
-Go under FTP-&gt;Options and hit the FTP tab. Enter HTTP as the proxy type and fill in your proxy server info on that screen. Then hit the HTTP tab and enter your same proxy server info there.
-
-
-<H4>When gFTP tries to get the remote directory listing, it sends LIST -L, but the remote server sends an error back</H4>
-Go to FTP-&gt;Options and turn off resolve remote symlinks. gFTP will then send LIST instead of LIST -L.
-
-<H4>When gFTP tries to get the remote directory listing, I get an error that says: Cannot create a data connection: Connection refused</H4>
-
-Go under FTP-&gt;Options and turn off passive file transfers. Instead of sending the PASV command to open up the data connection on the server side, the data connection will be opened up on the client side, and the PORT command will be sent to the server instead.
-
-<H4>When I try to compile gFTP, I get some errors. One of them is undefined symbol LC_ALL</H4>
-Try typing <EM>make distclean ; configure --with-included-gettext</EM> and it should compile fine then.
-
-<H4>How do I report bugs in gFTP?</H4>
-If you find ANY bugs in gFTP, please email them to me at <A HREF="mailto:masneyb@gftp.org">masneyb@gftp.org</A>. 
-If there is a newer version of gFTP available, please try it first before you 
-send me a bug report. If the problem exists in that version, feel free to email
-me about it. When sending in bug reports, please try to be as descriptive as 
-possible. Send me what OS/version you are running, what compiler you are 
-compiling with, and any other important information. If you get gFTP to crash,
-it would be very helpful if you could send me a backtrace. If you do not know 
-how to do a backtrace, download the source code from my website. Edit the 
-Makefile, and make sure that -g appear in the CFLAGS variable. Then recompile 
-gFTP, but do NOT do a make install because it will install a stripped binary in
-$PREFIX/bin. Then type gdb ./gftp. Once you have a (gdb) prompt, type r. Once 
-you get gFTP to crash, go back to that terminal window, and type bt, and send 
-me that output in an email message along with a short description of how it 
-happened.
-
-<H4>I downloaded a binary off the internet and everytime I run gFTP I get an
-error saying: undefined symbol :__register_frame_info</H4>
-
-ObiTuarY <A HREF="mailto:obituary@freshmeat.net">obituary@freshmeat.net</A> says:<BR><P>
-This happens when you compile a library with egcs. The library then has
-the __register_frame_info symbol. If you link a program to it, it will    
-require this symbol. Now if you have the exact same library compiled with
-gcc 2.7.2.3 it won't have this symbol. The thing about glibc 2.1 under Red
-Hat 6 is it was compiled with egcs and glibc 2.0.x under Red Hat 5.x was  
-compiled with gcc 2.7.2.3, therefore it's not an incompatibility between  
-glibc 2.0.x and 2.1.x. What some people do for that is they get the .o file
-of egcs with __register_frame_info in it and link into the program so it's 
-always there, that way it works with libs compiled with egcs or gcc 2.7.2.3.
-(in /usr/lib/gcc-lib/i386-*-linux/egcs-*/ )"
-</P>
-Another alternative, is to recompile gftp on your machine, or you can
-download some RPMs off my website that were compiled against Red Hat 5.2
-
-<H4>I upgraded to a newer version of gFTP and now I am getting some warnings about some config file lines not having enough arguments, and it cannot find html.xpm.</H4>
-
-This is from upgrading from a very old version of gftp to a newer version. I removed some icons from the distribution (0.20 to 0.21). Edit your ~/.gftp/gftprc file. At the bottom of the file, there are some ext= lines. Some of them have html.xpm, rpm.xpm and pdf.xpm. Remove these lines and gFTP will startup fine. Don't worry about fixing the warnings...they will go away themselves.
-
-<H4>Where does gFTP store it's options?</H4>
-gFTP will automatically create a ~/.gftp directory when it is first run.
-Your config file is ~/.gftp/gftprc, and this is where all of gFTP's
-settings are stored. The config file is well commented, so take a glance
-at it and see if there is anything you want to change.
-
-<H4>I am trying to compile your program and I get some parse errors before
-GdkDragContext. What's wrong?</H4>
-You have an older version of gtk installed on your system. If you are
-using Red Hat or Debian Linux, simply remove the gtk and glib devel
-packages. You can still leave the gtk 1.0 libraries installed.
-
-<H4>I am having a hard time using the drag and drop in gFTP. How do I use it?</H4>
-To drag from the file listboxes in gFTP, you have to drag with button #3.
-On a two button mouse, you have to hold down both buttons. For this to work
-tho, you have to edit your XF86Config file, and go to the Pointer section.
-You have to make sure Emulate3Buttons is in there. Here's the section out of
-my config file:
-
-Section "Pointer"<BR>
-   Protocol        "PS/2"             # This will depend on your mouse<BR>
-   Device          "/dev/mouse"       # This will also depend on your mouse<BR>
-   Emulate3Buttons                    # You need this for a 2 button mouse<BR>
-EndSection<BR>
-
-<H4>I have a libc 5 based machine and everytime I run gFTP it instantly crashes. 
-I get an error something like: Gdk-ERROR **: an x io error occurred
-What's wrong?</H4>
-Your X libraries are not thread safe. They must be compiled with 
--D_REENTRANT. You can either recompile your X libraries, or you can
-download some from my webpage at
-<A HREF="ftp://ftp.gftp.org/pub/gftp/libs/XFree86-libs-3.3-2_threading.i386.tgz">ftp://ftp.gftp.org/pub/gftp/libs/XFree86-libs-3.3-2_threading.i386.tgz</A>
-
-<P>Brian Masney <A HREF="mailto:masneyb@gftp.org">masneyb@gftp.org</A></P>
-</SMALL></FONT></BODY></HTML>
--- a/docs/website/generate-gftp-website.pl	Sat Nov 08 12:23:21 2003 +0000
+++ b/docs/website/generate-gftp-website.pl	Sun Nov 09 13:11:37 2003 +0000
@@ -19,7 +19,7 @@
            "STABLE_I386DEB_GTK" => "gftp-gtk_" . $version . "-1_i386.deb",
            "STABLE_I386DEB_TEXT" => "gftp-text_" . $version . "-1_i386.deb"); 
 
-$tarfiles = "MD5SUMS changelog.html faq.html gftp-screenshot.png index.html install.html logo.jpg robots.txt screenshots.html";
+$tarfiles = "MD5SUMS changelog.html gftp-screenshot.png index.html logo.jpg readme.html robots.txt screenshots.html";
 
 print "Generating MD5SUMS...\n";
 
@@ -131,6 +131,10 @@
 close I;
 close N;
 
+$cmd = "cp ../gftp-faq/gftp-faq.html readme.html";
+print "$cmd\n";
+system ($cmd);
+
 $tarcmd = "tar -jcvf gftp-$version-website.tar.bz2 $tarfiles";
 print "Running $tarcmd...\n";
 system ($tarcmd);
--- a/docs/website/index.html.in	Sat Nov 08 12:23:21 2003 +0000
+++ b/docs/website/index.html.in	Sun Nov 09 13:11:37 2003 +0000
@@ -20,10 +20,9 @@
 <TABLE CELLSPACING="0" CELLPADDING="1" BORDER="0" WIDTH="100%"><TR>
 
 <TD ALIGN="right"><SMALL><STRONG>
-<A HREF="install.html">Installation Instructions</A><BR>
+<A HREF="readme.html">README/FAQ</A><BR>
 <A HREF="screenshots.html">Screenshots</A><BR>
 <A HREF="changelog.html">Changelog</A><BR>
-<A HREF="faq.html">FAQ</A><BR>
 </STRONG></SMALL></TD>
 
 </TR></TABLE></TD>
@@ -50,7 +49,7 @@
 <LI>Allows for passive and non-passive file transfers
 <LI>Supports UNIX, EPLF, Novell, MacOS, and NT (DOS) style directory listings
 <LI>Full graphical configuration
-<LI>Fully Internationalized. I currently have a Amharic (am), Arabic (ar), Azerbaijani (az), Bangla (bn), Belarusian (be), Bulgarian (bg), Catalan (ca), Chinese (zh_TW,zh_CN), Czech (cs), Danish (da), Dutch (nl), Finnish (fi), French (fr), German (de), Greek (el), Hungarian (hu), Italian (it), Korean (ko), Japanese (ja), Macedonian (mk), Malayalam (ml), Malay (ms), Norwegian (no), Polish (pl), Portuguese (pt_BR), Romanian (ro), Russian (ru), Serbian (sr,sr@Latn), Slovak (sk), Spanish (es), Swedish (sv) and Turkish (tr) translations available.
+<LI>Fully Internationalized. I currently have a Amharic (am), Arabic (ar), Azerbaijani (az), Bangla (bn), Belarusian (be), Bulgarian (bg), Catalan (ca), Chinese (zh_TW,zh_CN), Croatian (hr), Czech (cs), Danish (da), Dutch (nl), Finnish (fi), French (fr), German (de), Greek (el), Hungarian (hu), Italian (it), Korean (ko), Japanese (ja), Macedonian (mk), Malayalam (ml), Malay (ms), Norwegian (no), Polish (pl), Portuguese (pt_BR), Romanian (ro), Russian (ru), Serbian (sr,sr@Latn), Slovak (sk), Spanish (es), Swedish (sv) and Turkish (tr) translations available.
 </UL>
 
 <H2>Requirements</H2>
--- a/docs/website/install.html	Sat Nov 08 12:23:21 2003 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<HTML>
-<HEAD>
-<TITLE>Installation instructions for gFTP</TITLE>
-<META NAME="author" CONTENT="Brian Masney">
-<LINK REV=MADE HREF="mailto:masneyb@gftp.org">
-</HEAD>
-<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#336699" VLINK="#336699" ALINK="#336699">
-<FONT FACE="Lucida,Verdana,Helvetica,Arial"><SMALL>
-
-<H2>Installation instructions for gFTP</H2>
-<UL>
-<LI>If you do not want to compile this program yourself, you can check my <A HREF="http://www.gftp.org/">webpage</A>. I have DEBs for Debian and RPMs for RedHat available. If you're looking for Solaris binaries, check out <A HREF="http://www.sunfreeware.com">http://www.sunfreeware.com</A>.
-<LI>If you are compiling gFTP yourself, extract the files from the distribution with tar -zxvf gftp-<EM>version</EM>.tar.gz
-<LI>Go to the gftp-<EM>version</EM> directory and type
-<BR><BR><UL><EM>./configure</EM><BR><EM>make</EM></UL><BR><BR>
-The command <EM>configure</EM> will generate a Makefile for your machine, and <EM>make</EM> will compile a binary for your machine. By default, when you run <EM>configure</EM>, it will install gftp in /usr/local/bin/gftp. If you want to change this to say, /usr, add the --prefix=/usr to the <EM>configure</EM> line. It will then install the binary in /usr/bin/gftp, and the public files in /usr/share/gftp
-<LI>If the compile suceeds without any errors, you can type <EM>make install</EM> to install the binary in /usr/local/bin. This will also copy some necessary files to /usr/local/share/gftp. If you do not have root on your machine to install these files, copy the contents of the sample.gftp directory to ~/.gftp.
-<LI>[OPTIONAL] If you compiled gFTP on a platform other than Linux, could you please send me your OS name/version and I will post on my website (under the <A HREF="faq.html">faq</A>) the machines gFTP has been successfully compiled on.
-<LI>You may want to glance at the USERS-GUIDE file that comes with this distribution. It contains a little bit of information about how to use gftp
-</UL>
-
-<P>Brian Masney <A HREF="mailto:masneyb@gftp.org">masneyb@gftp.org</A></P>
-</SMALL></FONT></BODY></HTML>