1997-12-03  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* fn_tag.c (fn_tag): globbing tag/untag (-t, -u).

	* main.c (print_usage): fixed shadow bug.

1997-12-02  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* fn_scroll.c (aux_scroll_line): handle `opt_wrap'.
	(aux_scroll_page): handle `opt_wrap'.

	* options.op (opt_wrap): new option.

1997-11-24  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* ftp.c (ftp_list): dup path before storing in dir structure.
	store path in structure.

	* fn_scroll.c (aux_scroll_page): changed wrapping behavior.

1997-11-21  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* main.c: fixed typo.
	(print_usage): changed calling convention; callers changed.

1997-11-20  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* fn_select.c (fn_reload): new function.

	* tag.c (change_curdir): handle NULL `curdir'.

	* ftp.c (ftp_cd): new argument `force'; changed callers.

	* directory.c (get_dir): new argument `force'.

1997-11-14  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* ftp.c (ftp_init): new function
	(ftp_pwd): check for and handle DOS path names
	(ftp_cwd): check for and handle DOS path names

1997-11-03  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* ftp.c (ftp_pwd): set ftp_pcwd

1997-10-29  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* directory.c (opt_set_sort): don't sort curdir if it's NULL.
	(get_dir): moved call to dir_sort here.

	* readdir.c (init_parse_time): new function.
	(parse_time): init non-standard fields of struct tm from global
	now.  Use global now instead of calling time(), gmtime() on each
	invocation.

	* hstrerror.c (hstrerror): renamed h_errlist to _h_errlist to
	avoid conflict with libresolv on Solaris.  _h_errlist & _h_nerr
	now static.

1997-10-25  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* fn_basic.c (fn_help): listings, more info on options.

	* display.c (disp_open): reenter display if open failed.

1997-10-24  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* main.c: (main): moved version tail text to variable
	version_tail; adapted to example in GNU standards 97/07/4.
	(deurl): fixed double increment of s in single statement.

	* fn_basic.c (fn_lcd): don't get cwd if rc_inrc.

1997-10-23  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* fn_basic.c (fn_set): handle enum options.

	* mkoptab-h.m4, mkoptab-c.m4, mkoptexi.m4: new option type enum.

	* directory.c (dir_sort): new function.
	(sort_unsorted, sort_name, sort_date, sort_name_r, sort_date_r):
	new function.
	(opt_set_sort): new function.

	* readdir.c (read_dir): init new members pos and sorted.

	* directory.h: new member pos in struct direntry; new member sort
	in struct directory.

	* readrc.c (readrc): treat lines beginning with `#' as comments.

	* options.op: (sort) new option.

1997-10-21  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* readdir.c (parse_unix): parse modification time.
	(parse_time): new function.
	
	* directory.h: new member mtime in struct direntry.

	* fn_select.c (aux_download): ftp_close(fout), fclose(fin) -- not
	the other way around.
	(aux_upload): new function.
	(fn_put): new function.

	* ftp.c (ftp_stor): new function.

1997-10-17  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* ftp.c (ftp_close): return if not connected
	(ftp_resp): return -1 if not connected

	* sockets.c (sopen): write error in message area when display is
	active.

	* display.c: new variable `disp_active'.

1997-10-14  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* directory.c (get_dir): reuse cache entry only if ftp_list
	succeeded.

1997-10-08  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* main.c (main): --version and --help: conform to GNU standards.

	* version.c (version): conform to GNU standards.

	* main.c (get_annon_passwd): Handle domainname ``(none)'',
	check for beginning dot, existing user, dot in hostname. 

	* ftp.c (ftp_login): Set status.remote.path to NULL after freeing.

	* status.c (status_do): Print space in "host... ...path".

