Sat Oct 29 16:38:20 1994  Miguel de Icaza  <miguel@sphinx>

	* main.c (post_exec, execute, view_other_cmd): Change cbreak ()
	calls by raw () calls.

Sat Oct 29 15:48:09 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* win.c (check_movement_keys): Added handling of 'g' and 'G' keys
	(go top and go bottom keys).

Sat Oct 29 15:31:08 1994  Alessandro Rubini <rubini@ipvvis.UNIPV.IT>

	* configure.in: Misc patches.

Fri Oct 28 12:07:01 1994  Miguel de Icaza  <miguel@sphinx>

	* main.c (copy_cmd, ren_cmd, link_cmd, mkdir_cmd, delete_cmd): Use
        input_expand_dialog.

	* dialog.c (input_expand_dialog): New function: this calls
	tilde_expand on the information typed by the user.

Fri Oct 28 11:36:15 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* dir.c (handle_dirent): No longer filters links pointing to
        directories. This bug was accidentally introduced in alpha-27.

	* win.c, win.h (define_label, define_label_quit): Saves the
	callback function pointer in the fkey_table_list. 
	(push_fkey): The new_fkey function renamed to push_fkey. Now
	allocates a new fkey_table_list. 
	(pop_fkey): A new function. Deletes the fkey window and
	the old fkey_table_list.  
	(check_fkeys): A new function. Checks whether a key is a fkey and
	has a action defined in the fkey_table_list. 
	(check_movement_keys): A new function. Checks whether a 
	key is up, down, pgup, pgdn, home or end and calls the correct
	function. If the 'additional' flag is true checks also 'less' like
	keys 'b', space, 'u' and 'd'.

	* help.c (move_forward2, move_backward2, move_forward,
	move_backward, null_fn, interactive_display): Now uses the
	check_movement_keys function.

	* help.c (move_backward2): A small bug fix (replaced '>' with
	'>=').
	(follow_link): Now mouse can be used for scrolling backward and
	forward.  

	* main.c (init_labels, do_nc): Now uses the push_fkey, pop_fkey
	and check_fkeys functions.

	* setup.c (load_setup): Fixed a little memory allocation problem
	(the other_dir variable).

	* view.c (move_forward2, move_backward2, move_forward,
	move_backward, move_to_top, move_to_bottom, init_view, do_view):
	Now uses the push_fkey, pop_fkey, check_fkeys and
	check_movement_keys functions. 

	* view.c (init_view): A small bug fix in the defination of the AIX
	meaning of F8 and F9. 
	(one_line_up, one_line_down, do_view): 	Little fixes in the
	support for scrolling text with mouse. 
	(load_view_file): Does not attemp to view a directory, a socket or
	a fifo.  

Thu Oct 27 14:39:48 1994  Miguel de Icaza  <miguel@sphinx>

	* user.c (menu_input_loop): Allow more than 'a' through 'z'
	entries in the user menu.

	* auto.c (do_exec_mount): Added calls to open_error_pipe and
	close_error_pipe, don't close descriptor (2).

	* ext.c, file.c, help.c, main.c, user.c, view.c: Changed a lot of
	uses to sys_errlist[errno] to unix_error_string (errno).

Thu Oct 27 14:21:30 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* TODO: Now mentions the TERMINFO environment variable. Changed
	the location of the line "Use the mv code from GNU's mv". Deleted
	the entry about left and right moving the selection in brief mode
	(allready implemented). 

	* dir.c (handle_dirent): New function. (do_load_dir,
	do_reload_dir): The common part of the code moved to the
	handle_dirent function to avoid code duplication.

	* dir.c (handle_dirent, sort_name, sort_ext, sort_time,
	sort_size), dir.h:  Links to directories are now sorted as
	directories. Links to files continue to be sorted as files. 

	* ext.c, file.c, help.c, main.c, user.c, view.c: Changed a lot of
	calls to the "message" function to include system error message
	sys_errlist[errno]. 

	* file.c (move_file): Now uses open_error_pipe/close_error_pipe to
	catch the error messages from /bin/mv command.

	* main (init_panels): If chdirs to the other_dir, now chdirs also
	back. This thing seemed to be accidentally deleted by someone from
	the alpha-26. 

	* util.c, util.h, view.c: The open_error_pipe, check_error_pipe
	and close_error_pipe functions moved from view.c to util.c. The
	prototypes now appear in the util.h. Modifications in
	close_error_pipe to make it possible to define whether a possible
	message in the error pipe should be printed as a warning message
	or a error message. 

	
Wed Oct 26 17:21:19 1994  Miguel de Icaza  <miguel@sphinx>

	* configure.in: Now the gpm library is detected by the autoconf
	program.  If the lib is installed in a wierd directory, then you
	use the --with-gpm-mouse=base-directory.

	* Changed the use_gpm constant for HAVE_LIBGPM.

	* util.c (copy_strings): new function. This one uses gc_alloc and
	returns the concatenation of all it's arguments.  The list must
	end with a 0.

	* ext.c (regex_command), file.c (move_file), find.c, main.c
	(action, view_cmd, ext_cmd, menu_edit_cmd), setup.c
	(save_setup, load_setup), view.c (load_view_file): Removed hard
	coded limits, use the new function copy_strings.

	* gc.c (gc_free_now): New function, frees the pointer at that
	point, also increased the number of handles.

	* main.c: Tupo fix.

	* menu.c: allow F-10 to act like ESC.

Wed Oct 26 17:13:15 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* main.c (filter_cmd): Filter was acting on the current panel
	instead of the panel selected in the menus.
	(action): When executing commands in a panel, prepend a ./ to the
	command. 

Wed Oct 26 17:09:59 1994  Alessandro Rubini <rubini@ipvvis.UNIPV.IT>

	* key.c (mi_getch): switch cleanup.

Tue Oct 25 12:19:39 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	dir.c (do_load_dir, do_reload_dir): Directory "." is no longer
	shown in the directory panel. Added support for directory panel
	filter.

	dir.h: Added a filter parameter to the prototypes of do_load_dir
	and do_reload_dir.

	panel.h: Added the filter field to the struct Panel.

	find.c (select_and_change_panel): Added filter argument to the
	call of do_load_dir.

	screen.c (brief_frame): The titles of the directory panel in the
	brief mode are located correctly even if the width of the screen
	is not 80 columns. 
	(init_panel): The default filter is "*". 
	(panel_reload): Added filter argument to the call of
	do_reload_dir. 

	main.c (init_panels, do_cd): Added filter argument to the call of
        do_load_dir.
	(filter_cmd): New function to change the directory panel
	filter. 
	(swap_cmd): New function to swap the contents of the directory
	panels, keyboard shortcut is C-u. Changes in PanelMenu, RightMenu
	and CmdMenu to support the filter and swap commands. A name change
	of a menu entry: "View other screen(xterm)" -> "Panels
	on/off(xterm)". The width of the menu bar now matches the width of
	the screen.  

	help.c (start_link_area, end_link_area, clear_link_area,
	help_event): New functions which implement a mouse support. 

	(show, interactive_display): Now using the mouse support. 

	help.c (select_prev_link): No longer tries to recover if there is
	no previous link. Returns NULL in such cases. (show): If the
	selected link would not be visible the first or the last visible
	link is selected. 
	(interactive_display): Reworked the way the "tab" and "b" keys
	work. Now they step through the links on the screen, not the links
	on the node. 
	(interactive_display): Added support for the "left" and "right"
	keys. They work like they do in the Lynx. 

Sun Oct 23 17:21:14 1994  Miguel de Icaza  <miguel@sphinx>

	* util.c (tilde_expand): Now, this time, it should work.

	* main.c (init_panels): Don't select the information window.

	* setup.c (load_setup): Only one of the panels may be in the
	information mode.

	* main.c: Now you can use C-x i to toggle the information window.

Thu Oct 20 11:47:24 1994  Miguel de Icaza  <miguel@sphinx>

	* profile.c (sync_profiles): Made some function static.  Added
	prototypes to profile.h file.

	* profile.h: new file, prototypes to profile.c.  Added #include to
	the files that used the functions.

	* main.c (switch_to_info): New function: switches to information
	mode, and added the info option to the menus.

	* screen.c (paint_panel): Can paint normal panels and information
	panels.

	* util.c (tilde_expand): Hopefully, now the tilde expansion is fixed.

	* ncurses.h: Added detection for buggy ncurses when running on SGI
	machines with GNU CC.

Tue Oct 18 12:23:06 1994  Miguel de Icaza  <miguel@sphinx>

	* configure.in: Actually do something when GCC is detected.  Copy
	the GNUmakefile from the source directory to the compilation
	directory. 

	* GNUmakefile: New file.  Used to include the dependencies.
	Developers should use GNU make, the rest of the people is ok with
	a standard make.

	* main.c (move_selection, move_left, move_right): When in Brief
	mode, the program now is able to move the selection to the left
	and right.  Only the keybindings KEY_LEFT and KEY_RIGHT use this
	option, the C-b and C-f still call the deafult_key handling
	mechanism.

Tue Oct 18 10:32:22 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* key.c (mi_getch): Solaris fix: if key received is kf0, convert
	that to kf10.
	
	* xterm.ti: fixed the op capability to the correct value and
	changed the definition from kf0 to kf10. 

Mon Oct 17 18:41:33 1994  Miguel de Icaza  <miguel@sphinx>

	* util.c (tilde_expand): Finally, I fixed the tilde expansion, it
	was not that hard to fix.

	* user.c (execute_menu_command): Use strchr instead of
	search_string, this fixes a little bug introduced by the need of
	fmt before. 

	* xterm.ti, vt100.ti: new terminfo databases for vt100 and xterm.

Mon Oct 17 17:44:11 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* xterm-color: new file. NCurses terminfo database for color
	xterms.

	* man2hlp.c: new file. replaces man2hlp.pl (and the use of fmt).

	* main.c (view_other_cmd): Now displays an error box if curses
	does not support the alternate screen.

	* help.c: Now uses help.h. The constant definations moved to
	help.h. Now uses the constants (why to define constants if they
	are not used?).

	* help.h: New file. Defines constants for help.c and man2hlp.c.

	* gindex.pl: Removed the ctrl-d workaround. Not needed because fmt
	is no longer used. Removed the main node from contents (it was
	added to contents by removal of ctrl-d workaround). Other new
	nodes in the contents (About, License and Help) left visible.

	* color.h, dialog.c (create_dialog), screen.c (show_dir): Color
	selection bug fixes. The code was assuming that the default color
	is white on black.  On color xterm it is black on white.

	* Makefile.in (ync.hlp): Uses man2hlp (compiled version of the
	man2hlp.c) instead of man2hlp.pl and fmt. Rebuilding the mc.hlp
	file works now on all machines, not just on Linux.

	* Makefile.in (DISTFILES): Replaced the man2hlp.pl file with
	man2hlp.c. Removed the second occurance of xnc.hlp.

Fri Oct 14 17:52:46 1994  Miguel de Icaza  <miguel@sphinx>

	* screen.c (panel_reload): If you can't chdir to a directory, load
	a dummy.

Fri Oct 14 16:23:41 1994  Massimo Fontanelli <MC8737@mclink.it>

	* find.c (find_dialog): You can't stop if lines is equal to
	zero. This fixes one of the problems in the find file program.

 Fri Oct 14 13:53:16 1994  Miguel de Icaza  <miguel@sphinx>

	* util.c (regexp_match): Fixed small typo when HAVE_LIBGEN_H is
	defined. 

	* configure.in: Misc cleanup in the configuration process.
	Solaris should use the -lgen library to have regular expression
	support. 

Fri Oct 14 13:32:02 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* main.c (execute): The execute function didn't change the line
	after prompting which caused the output of next external command
	to start from the middle of line. The view_other_cmd function
	didn't flush the output after putp(enter_ca_mode) which made it
	look like two keypresses are needed to return to the mc screen.

	* key.c (mi_getch): I finally managed to nail down that gpm bug I
	have been complaining about.  The mi_getch function was reading
	gpm mouse even when shut_mouse had been called. It was a real hard
	one.  The existence of the mouse is now told by three
	variables. The use_mouse_p variable tells the type of mouse and
	the gpm_flag and xmouse_flag variables tell whether the mouse is
	currently active (init_mouse called) or not (shut_mouse
	called). Previously I was attempting to get along with only
	use_mouse_p.

Fri Oct 14 10:58:34 1994  Miguel de Icaza  <miguel@sphinx>

	* help.c (select_prev_link, select_next_link): Bug fixes.
	(search_string_node): Don't return main if can't find a node.

	* view.c (regexp_searc, normal_search): Now, it should not do
        empty searches.
	(do_view):  Now, you can continue a search with the 'n' or C-s
	command. 

Thu Oct 13 16:25:39 1994  Massimo Fontanelli <MC8737@mclink.it>

	* view.c (do_view): When running under AIX, keys F8 and F9 take
	you to the beginning and bottom.

Thu Oct 13 12:26:23 1994  Miguel de Icaza  <miguel@sphinx>

	* help.c (interactive_display): If there are no next or previous
	links when that command is issued, don't go to the main node.

Thu Oct 13 11:34:06 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* dialog.h: removes the warning which comes during compilation.

	* help.c (search_string, move_backward, show,
	interactive_display): Two fixes for the bugs uncovered by the
	addition of '.\"LINK"' command: a newline in the link name bug fix
	and a multi-line spanning link background colour flash bug
	fix. Other changes: a backward scroll bug fix, a dialog name
	change from "Main" to "Help", a next-page bug fix and F1 now shows
	the help for the help viewer.

	* view.c (do_view): Backspace and delete now scroll a screenful
	backwards like they do in the internal help. 

	* Makefile.in: Added INSTALL.FAST to the DISTFILES.

	* xnc.hlp: Improved the documentation for the help viewer.

	* gindex.pl: The index is no longer sorted. Looks a bit better
	now. I think that the name "Contents" would be better than the
	current "Index".

	* mc.1, mc.hlp: A name change in header: nc -> mc. Description and
	Options moved out of the index to their own section. A lot of
	links added. Bug fixes and spelling corrections. The awfully long
	Keys section divided to five sections (Keys, Action Keys,
	Selection Keys, Command Line Keys and Input Line Keys). The
	existence of the menus documented (section Menu Bar).
	Miscellenous additions.

	* man2hlp.pl: Added support for '.\"LINK"' command. Better support
	for roff commands ".nf" and ".fi".

	* NEWS: Spelling corrections.

	* INSTALL.FAST: The INSTALL file seems to be a bit long. I wrote a
	shorter version which only mentions the essential. It is still
	longer than one screenful but I think it is a step to the right
	direction. 

	* ChangeLog: Spelling corrections.

Wed Oct 12 18:43:19 1994  Miguel de Icaza  <miguel@sphinx>

	* view.c (search), find.c (add_list), main.c (unselect_cmd,
	select_cmd): Use the new regexp_match argument

	* util.c (regexp_match): If matching files, and easy patterns are
	enabled, then add '^' at the beggining of the regular expression
	and a '$' at the end.

	* Added some missing includes to many files (malloc.h, unistd.h)

	* view.c (move_forward): Fixed bug in the internal viewer.
	Changed line == lines for line >= lines, since line could have
	been incremented twice: one caused by the wrapping and one because
	of the newline.
	(do_view): Added back scrolling with the DEL key.

Tue Oct 11 11:12:53 1994  Miguel de Icaza  <miguel@sphinx>

	* find.c (find_dialog): Now, before returning, it properly
	destroys the dialog.

	* view.c (view): Call push_refresh only after the WINDOW * have
	been setup, and pop the refresh function only if the viewer did
	succesfully run.

	* find.c (do_find), user.c: Use do_refresh instead of
        refresh_screen

	* dialog.c (push_refresh, pop_refresh, do_refresh): new screen
	refresh handler.

	* view.c (view): Use the new display refresh handler.

	* help.c (interactive_display): Now you can specify the node to be
	looked up.

	* main.c (version): Shows information about how was the program
	compiled. 

Tue Oct 11 11:12:33 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* key.c (mi_getch): This patch makes function keys work under
	Irix. It may also help on other machines which have incorrect
	termcap. However, it doesn't make F10 work under Solaris.

	* view.c: Some reorganization in view.c to support my forth-coming
	version of the buffering. It now uses longs instead of char
	pointers. "*from" has been replaced with "get_byte(from)". I
	submit these changes now so that others won't make incompatible
	changes before I get the buffering ready.

	Changed some stupid abbrevations to the long form: errpipe ->
	error_pipe, open_errpipe -> open_error_pipe, close_errpipe ->
	close_error_pipe, olderr -> old_error.

	Modifications in open_error_pipe and close_error_pipe and addition
	of check_error_pipe to support my forth-coming version of the
	buffering. 

	Moved the wrap toggle from F5 to the correct place F2. Disabled
	the AIX meanings of F1 and F2.	

	regexp_search() disabled in the hex mode (previously only the fkey
	label was removed).  Replaced the RxSearch hotkey F8 with F6 (the
	fkey labels already mentioned F6 as the hotkey).

	(help_cmd): Added a help command to the internal viewer. BUGS:
	doesn't open the help file from the correct place (is not context
	sensitive), flashes the main screen when exiting from the help.

	(move_forward): A bug fix in move_forward(). Now it correctly
	scrolls forward when in wrap mode.

	* mc.1: (Internal file viewer): Documented the active keys inside
	the internal file viewer.

	* main.c (view_other_cmd): Because view_other_cmd() now works only
	in xterm I removed libgpm bug workaround (perhaps I should get a
	bugless version of libgpm, I am having too many segmentation
	faults when using mc on the console). 

	(check_for_default): When editing the extension file or the menu
	file if the file doesn't exist the default file is copied for editing.

	(ext_cmd, menu_edit_cmd): Uses check_for_default.

	(version): A little change in version string informing about xterm
	mouse support.

Mon Oct 10 21:10:46 1994  Miguel de Icaza  <miguel@sphinx>

	* key.c (mi_getch): Buggy SystemV curses now should be able to
	detect ESC+anything extra key sequences.

	* help.c: When going back in the history, it sets the selected
	link to the one that was followed.
	(select_prev_link): Now it's possible to go back in the hypertext
	viewer with the 'b' key.

	* configure.in: Added --with-old-tools configuration option.

Sat Oct  8 12:45:22 1994  Miguel de Icaza  <miguel@sphinx>

	* view.c (display): The viewer now can wrap text.  It's still
	missing movement by lines that correclty deals with wrapped text.
	(move_forward): Moves ok when wrap mode is on.
	(move_backward): Moves ok when wrap mode is on.

Fri Oct  7 19:58:42 1994  Miguel de Icaza  <miguel@sphinx>

	* menu.c (run_bar): Allways repaint menu bar.

Thu Oct  6 09:48:18 1994  Miguel de Icaza  <miguel@sphinx>

	* profile.c (load): Changed char c for int c.  That caused AIX and
	SGI machines to freeze when loading the profile.

	* setup.c: Added accidentally deleted entry for default_list_perm
	option. 

Thu Oct  6 09:47:42 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* menu.c (run_bar): Fixed wrong type cast for IRIX. 

	* auto.c: fixed tipo.

Wed Oct  5 11:37:38 1994  Miguel de Icaza  <miguel@sphinx>

	* key.c (mi_getch): Fixed small tipo: use_mouse_p == XTERM_MOUSE

	* menu.c (top_menu_handle): Fixed the problems with the mouse.  No
	more flashing menus, and correctly select entries in the
	query_boxes.
	(run_bar): Added a missing line.

	* main.c (main): Removed the \ec hack before entering do_nc, it
	was a hack to a baddly written termcap entry for the Linux console
	in my machine.

Wed Oct  5 10:44:30 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* zip.c (is_gunzipable): Clean up the code.

	* view.c (open_err_pipe, close_err_pipe): These functions are used
	for creating a pipe for capturing gzip error messages. If gzip
	encounters a error, the error message is now shown in a nice
	message box. Lot cleaner than the previous solution.
	(view): More fixes to gzip viewer.

	* main.c (view_other_cmd): The 'View other screen (xterm)' feature
	now shows an error box if current terminal is not xterm. It still
	doesn't work on Solaris xterm without real ncurses (well,
	documentation encourages people to use real ncurses, so it is not
	a bug, it is a feature).

Tue Oct  4 11:37:06 1994  Miguel de Icaza  <miguel@sphinx>

	* configure.in (LIBS): Little fix: if ncurses is in /usr/include
	then add -lncurses.

	* menu.c (top_menu_handle): Fixed bug that prevented current
	selection on dialog boxes to be selected in bars.

	* key.c (xmouse_get_event): Added double click support under
        xterms (double_click_speed loaded in setup.c).

Tue Oct  4 10:25:55 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* zip.c (is_gunzipable): The code can now figure out the size of
	pkzipped file.

	If the file to viewed has PACK_MAGIC, LZH_MAGIC or compress magic
	the code guesses that the uncompressed size is four times the
	compressed size. If the uncompressed size is later found to be
	smaller extra memory is freed with realloc.

	* configure.in: When specifying --with-ncurses flag, add the
	-lncurses library option.  Added a missing fi to the script.

	* view.c (search): If search string is not found, inform the user.
	(load_view_file): Gzip support was showing uncompressed data only
	worth the compressed size of the file. I fixed it and did two
	other minor adjustments to the gzip support. I hope it will work
	correctly now.

Mon Oct  3 17:21:46 1994  Miguel de Icaza  <miguel@sphinx>

	* main.c (do_cd): trim directory to cd.
	(do_cd): Use the new wonderfull micro-garbage collector.  This
	should help to clean up the code in the future.  I promise to
	change the actual code with the time to use the garbage collector.
	(do_cd): New: tilde expansion on cd.

Mon Oct  3 09:30:59 1994  Miguel de Icaza  (miguel@roxanne)

	* main.c (main): Friendly hack.

	* To configure the gpm mouse server, you need to specify
	--with-console-mouse.  Since now it always come with mouse support
	(since you may be running in an xterm, again, all that was made by
	Janne). 

	* mouse.c,main.c: changed use_mouse for use_gpm

Mon Oct  3 09:23:04 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* win.c (define_label, define_label_quit): Now works on xterms.

	* menu.c: Removed ifdefs around use_mouse, now on xterms it works. 

	* mouse.h: Modifications to use mouse on xterms without having the
	gpm package installed.

	* main.c: use_mouse_p now holds the type of mouse handling that is
	done.
	(main): Detect xterm and cleanup the constants.

	* key.c (init_key): Changes for using mouse in xterms.
	(xmouse_get_event): New function to handle xterminals mouse
	events. 
	(mi_getch): Parse xterm escape sequences.

	* view.c (load_view_file): Now it doesn't discard the first byte
	of the uncompressed file. 
	* view.c: clean up.

	* mouse.c: Include fcntl.h instead of sys/fcntl.h
	(init_mouse): new code for xterm mouse handling.
	(shut_mouse): new code for xterm mouse handling.


Sun Oct  2 18:52:05 1994  Miguel de Icaza  <miguel@sphinx>

	* setup.c (save_setup,load_setup): Cleaned up setup loading/saving.

	* zip.c (is_gunzipable): new function: determines if a file is
	prone to be gunziped.

	* view.c (hex_search): Added hex-search.
	(load_view_file): Now it's possible to display gziped files in the
	internal viewer.

	* dialog.c (run_dialog): Fixed bug: call (*refresh_fn)() instead
	of refresh_screen.  Should do it a stack of refresh functions.  To
	be fixed

Sun Oct  2 13:46:45 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* main.c (view_other_cmd): Added code to view command output on
        xterms.  C-o is binded to this command.

Fri Sep 30 18:52:53 1994  Miguel de Icaza  <miguel@sphinx>

	* view.c (toggle_hex_mode): Disable regular expression searching
	when given an hex pattern.

Fri Sep 30 16:32:18 1994  Massimo Fontanelli <MC8737@mclink.it>

	* configure.in: when compiling in AIX, use -D_BSD

	* main.c (mkdir_cmd): Spelling correction.

	* view.c (view): Corrected: use variable version of max_dirt_limit
	instead of constant.

Fri Sep 30 11:33:36 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* view.c (view): On systems with no mmap or with buggy mmap
	support, load the entire file into RAM and display it.

Wed Sep 28 20:07:30 1994  Miguel de Icaza  <miguel@sphinx>

	* win.c (set_label_text): used for changing the values of the
	labels.

Wed Sep 28 20:06:41 1994  Massimo Fontanelli <MC8737@mclink.it>

	* view.c (toggle_hex_mode): switch between Hex and Ascii labels

Tue Sep 27 10:47:10 1994  Janne Kukonlehto <jtklehto@stekt.oulu.fi>

	* view.c (view, one_line_up, one_line_down): scrolling speed
        enhancements.

	* view.c (display, toggle_hex_mode, move_forward, move_backward,
	view): Added hex mode display of files.

Fri Sep 23 13:29:54 1994  Miguel de Icaza  <miguel@sphinx>

	* main.c (mkdir_cmd): Fixed a little bug that didn't repaint
	correctly the screen in some conditions, the fix is to pass the
	name of the file to select to update_panels.

Mon Sep 19 12:12:03 1994  Miguel de Icaza  (miguel@sphinx)

	* To show dates instead of permission, you need to manually add to
	the .mc.ini file the default_list_perm = 0 setting.

	* screen.c (repaint_file): More temporary support to show dates
	instead of permission.

	* setup.c (load_setup): Save the name of the profile in the global
	pointer profile_name.

	* main.c (umount_this_dir): Added C-x m and C-x u to manually
	mount and umount directories. C-x a Toggles auto_mount flag.

Sat Sep 17 15:50:42 1994  Miguel de Icaza  (miguel@sphinx)

	* auto.c (try_auto_mount): New routines for
	auto-mounting/umounting directories.

	* main.c (do_cd): Changes to allow auto_mounting.

	* setup.c (load_setup): Changes to allow auto-mounting

	* configure.in: We don't use the config.h.in file anymore, only
	use the in the command line parameters.

Fri Sep 16 17:38:18 1994  Miguel de Icaza  (miguel@sphinx)

        * ALPHA-2-0.15

	* configure.in: AC_AIX added

	* Replaced '\e' for ESC_CHAR, to allow compilation under AIX.

Wed Sep 14 16:21:51 1994  Miguel de Icaza  (miguel@roxanne)

        * ALPHA-0.15

        * Changes in many files to support GNU autoconf

Thu Sep  8 12:50:34 1994  Herman Horsten (horsten@wins.uia.ac.be)

        * Version 0.14

	* view.c (view): Don't display empty files.

Wed Sep  7 19:08:31 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c: Added Some extra C-x hot keys. The Alt-A Alt-a solution
	to copying paths was very complex to remember. 
	(copy_tagged): C-x s, copies the tagged files or the selected
	file to the command line.

Tue Sep  6 15:58:49 1994  Miguel de Icaza  (miguel@sphinx)

	* util.c (unix_error_string): New unix_error_string function,
	stolen from a posting of Roland McGrath in the mach4 mailing list
	:-)

Mon Sep  5 19:03:13 1994  Miguel de Icaza  (miguel@sphinx)

	* dir.h,dir.c,main.c,screen.c: Changes to allow unlimited
        directory size handling.

Tue Aug 30 14:22:04 1994  Miguel de Icaza  (miguel@sphinx)

        * Release 0.13

	* main.c (ren_cmd): Changed the update_panels call, before it was
	called with (UP_OPTIMIZE, 0, 0), now it's with UP_KEEPSEL to let
	the bar stay near the original file was standing.
	(menu_edit_cmd): Added menu file edit to the program.

	* dir.c (do_load_dir): If there is no way to load a directory,
	load a dummy directory.

	* main.c: Added keybinding C-r to reread_cmd.
	(do_re_sort): Now when resorting a panel, the selected file is
	kept selected.

Mon Aug 29 18:13:42 1994  Miguel de Icaza  (miguel@sphinx)

	* input.c (forward_word): Changed use of isalpha for isalnum in
	order to skip over numbers. 

	* main.c (delete_cmd): Check that the result from query_dialog is
	not escape (-1), since this deleted files when users pressed
	esc. Oops.

Mon Aug 29 16:36:27 1994  Jean-Daniel Luiset (luiset@cih.hcuge.ch)

	* view.c (one_line_up,move_backward): Fix the backward scrolling.

	* view.c (view_status): Change the way the computation of the
        percentage to follow the norton commander's (% from the beginning,
	start = 0).

	* view.c (view): Add KEY_HOME and KEY_END.

Thu Aug 18 15:34:18 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c (main): At setup, don't use the opanel and cpanel macros,
	they don't point to valid data yet (until init_panels is called).

Thu Aug 18 12:55:12 1994  Miguel de Icaza  (miguel@roxanne)

	* Release 0.12

Wed Aug 17 19:39:12 1994  Miguel de Icaza  (miguel@sphinx)

	* dir.c(do_reload_dir): Added missing call to closedir, in the
	Sparc it ran out of file handles.

Mon Aug 15 13:54:34 1994  Miguel de Icaza  (miguel@sphinx)

	* key.c (mi_getch): When compiling under SVR4, untouchwin stdscr.

	* main.c (ren_cmd): Bug fix: when file were selected, it only
	searched from files [0..cpanel->marked] instead of
	[0..cpanel->count].

Thu Aug 11 18:19:08 1994  Miguel de Icaza  (miguel@sphinx)

	* dir.c (d_namelen): Define to allow compilation under IRIX and
	Solaris 2. Thanks to Matthias Hammer
	hammer@kirk.fmr.maschinenbau.th-darmstadt.de for his comments.

Wed Aug 10 12:42:57 1994  Miguel de Icaza  (miguel@sphinx)

        * Release 0.11

	* main.c: Changed hot-key for history.
	(do_cd): support cd -.

	* Makefile (dist): Moved mc.hlp dependency from install to dist.

	* main.c (goto_bottom_file, goto_top_file, goto_middle_file),
	functions to quickly select a file.
	(main): Now correctly chdirs to the first directory specified in
	the command line.

	* util.c (trim): Now, it correctly trims the directory names.

	* main.c (ok_to_copy): Fixed a very ugly bug in ok_to_copy. I was
	freeing the wrong pointer.

Tue Aug  9 14:23:51 1994  Miguel de Icaza  (miguel@sphinx)

	* menu.c (get_motion): Allow the first character in a query to
	select the option.

	* setup.c (save_setup): Now, instead of setting the defaults in
	setup.c, use the values provided by the definition of the
	variables. 

	* key.c (mi_getch): Fixed the mouse event auto repeat timeout
	problem. 

	* menu.c (run_menu): Corrected bug that prevented option letters
	from being used for selection in the menus.

Tue Aug  9 13:39:35 1994  Torben Fjerdingstad <tfj@olivia.ping.dk>

	* main.c (copy_cmd): use copy_file_file when copying to a file and
	not copy_file_dir.
	* main.c (main): Added missing "c" to getopt option.
	* main.c (execute): Added call to cbreak () to allow "any key to
	continue, and not just break".


Mon Aug  1 14:13:07 1994  Miguel de Icaza  (miguel@sphinx)

        * Release 0.9

	* menu.c (send_yes_event): Send an enter when the right mouse
	button is pressed on menu_bars.

	* main.c (panel_event): Added inline mark_if_marking to allow
	marking when dragging the mouse.
	(mkdir_cmd): changed update_panels (..., UP_KEEPSEL...) for not
	trying to keep the selection. This fixed a bug when creating a
	subdirectory. 

	* screen.c (repaint_file): Added call to wrefresh to fix the bug
	in b&w mode.

Fri Jul 29 12:03:23 1994  Miguel de Icaza  (miguel@sphinx)

	* mouse.c: (mouse_handler): Redraw correctly the mouse pointer. 

	* mc.1: Updates to the documentation.

	* main.c (action): If trying to execute a symlink, check that the
	file it points to is an executable.
	(main): Added option to negate Force Black and White.

	* dir.c (if_link_is_exe): New function, used to check if a symlink
	points to an executable.

	* screen.c (repaint_file): Instead of showing ctime, display
	mtime. Fix by Torben Fjerdingstad <tfj@olivia.ping.dk>.

Thu Jul 28 17:13:07 1994  Miguel de Icaza  (miguel@sphinx)

	* file.c (copy_file_file): Added verbose operation for file
	copying.

	* main.c (do_nc): If connection baud rate is too slow, verbose
	mode is turned off.

	* file.c (copy_file_file): Add verbose messages when copying a
	file. 

	* main.c (main): Bug fix when specifying directories in the command
	line. 
	(delete_cmd): Fixed a bug in the newly introduced confirm delete.

	* file.c: New builtin copy command, taken from GNU's cp.

	* main.c (do_cd): If we cant open the specified directory
	(copy_cmd): Added confirmation when overwriting files.

	* dir.c (do_load_dir): Avoid segmentation fault if we can cd into
	a direl, but don't have read access.

Wed Jul 27 17:07:58 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c (pre_exec): Call shut_mouse before running a child
	process. This is to avoid getting unhandled events. Thanks to
	Alessandro Rubini.
	(post_exec): Call init_mouse after return.

	* Various changes to rename the MouseLess Commander from 'nc' to 'mc'.

	* mouse.c (mouse_handler): Removed the mouse cursor display, let
	the server do the work. 
	(init_mouse): Let the server handle GPM_MOVE|GPM_HARD. 
	use that in defaultMask. Enhancement by Alessandro Rubini
	(rubini@ipvvis.UNIPV.IT).

Tue Jul 26 14:37:35 1994  Miguel de Icaza  (miguel@sphinx)

	* dialog.c (create_dialog): When creating a dialog, a new frame is
	pushed with the coordinates of the dialog.
	(destroy_dialog): Call pop_frame.

	* mouse.c (push_frame): Remember active mouse_events pointer.
	(pop_frame): Pop mouse_events until previous state is restored.

	* menu.c (run_bar): Now uses the frames to enter/leave subroutines.

	* view.c (view): Now uses the frames to enter/leave subroutines.

	* input.c (handle_char): Don't allow characters > 127 to be
	inserted in input lines.

	* help.c (interactive_display): When selecting a target outside
	the view windows, start the display at the point where the link
	was found.

	* menu.c (run_menu): Menu entry lenghts are not limited to 20
	characters any more.
	(run_menu): Code cleanup and added mouse support.

	* user.c (menu_input_loop): Now uses my_getch.

Mon Jul 25 16:14:49 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c (delete_cmd): Added delete confirmation.

	* view.c (init_view): Added null_event handling.
	(search): Source code reorganization for mouse handling.

	* user.c, help.c: Display error message if unable to open file.

	* util.c (load_file): If there is a problem stat()ing or open()ing
	the file, return 0 and don't show any message.

	* main.c (action): Split enter () in enter () and action (). The
	later is to be called by the mouse handler.
	(panel_event): Added double click managing.
	(main): Added nice usage message

	* dialog.c (destroy_dialog): Changed name (was: done_dialog),
	null_event handling.

Fri Jul 22 18:58:21 1994  Miguel de Icaza  (miguel@sphinx)

	* screen.c (display_mini_info): The mini info now shows the number
	in pretty format.

	* util.c (size_trunc_sep): Nice formating of numbers.

	* main.c (init_panels): Added events for the panels.
	(panel_event): Added function that handles mouse events.

	* key.c (mi_getch): Various changes to support the mouse. 

Thu Jul 21 13:20:41 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c (move_up, move_down): Call select_item always, as
	cpanel->selected must be properly set.
	(reverse_cmd): Now, it's possible to sort the file in inverse order.

Tue Jul 19 15:03:29 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c (long_cmd): Bug fixes to disable activating a panel that
	is disabled.

	* setup.c (options_load): Now per panel options are saved.

	* util.c (name_trunc): Added new truncate option. Now we use a ~
	in the middle of the name instead of a > at the end of the
	truncated name.

	* input.c (create_input): More Input line changes.

	* find.c (input_find): Adjustments to create_input.

Mon Jul 18 17:02:46 1994  Miguel de Icaza  (miguel@sphinx)

	* dialog.c (my_wputs): Woraround ncurses wclreol when printing
	\n. Better visual effect.

	* screen.c (display_mini_info): When displaying the brief format,
	show in the mini info the details of the directory.

Fri Jul 15 12:23:46 1994  Miguel de Icaza  (miguel@sphinx)

	* win.c (define_label): Added callback support.

	* main.c (init_labels): Added callbacks for mouse operations.

	* input.c: More code reorganization; new Alt-D and Alt-Backspace
	key handling.

Thu Jul 14 19:37:18 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c (toggle_fast_reload): Show the warning message when
	activating for the first time the Fast directory reload.

Wed Jul 13 11:51:51 1994  Miguel de Icaza  (miguel@sphinx)

	* util.c (init_uid_gid_cache): New cache for get_group and
	get_name. This should speed up the Long directory listing.

	* input.c (delete_char): New function. Patch from Ralf G. R. Bergs
        <rabe@advw2.GM.FH-Koeln.DE>.
	(backward_word): Skip correctly over punctuation characters.

Mon Jul 11 14:36:15 1994  Miguel de Icaza  (miguel@sphinx)

	* input.c: New command history in all input lines.

	* view.c (view_status): Display 100 percent with files with 0
	bytes size.

	* screen.c (repaint_file): Small cosmetic change that paints
	>UP--DIR< when the directory is "..".

	* input.c (handle_char): Use a keymap instead of the old switch in
	the input mechanism.
	(kill_save): Updated kill/yank mechanism.

	* main.c (start_search): Now it's again possible to search
	incrementally for a file name.
	(do_search): Now can go back in the search string.

Wed Jul  6 14:43:12 1994  Miguel de Icaza  (miguel@sphinx)

	* help.c (interactive_display): Added entries for page-up,
	page-down. 

	* main.c (mkdir_cmd): Added missing call to select_item to
	reselect the just created directory.

Mon Jul  4 12:52:34 1994  Miguel de Icaza  (miguel@sphinx)

        * Relase 0.8

	* help.c: Changed node separator from '%' to ^D (octal 004).
	(interactive_display): When pressing enter on a node without
	links, go back to the previous link.

	* util.c (regexp_match): Removed buggy optimization for detecting
	same if the same pattern was being applied.

	* main.c (try_to_select): Added call to display_mini_info. 
	try_to_select may be called when the file does not exist anymore.

	* find.c (select_and_change_panel): When changing directories,
	reset the total byte count (cpanel->total).

	* main.c (do_cd): When changing directories, reset the total byte
	count (cpanel->total).

	* help.c (search_string_node): If start is 0, return the main node.

	* man2hlp.pl, gindex.pl: New programs to convert the man page to
	the help file format.

Thu Jun 30 14:25:34 1994  Miguel de Icaza  (miguel@roxanne)

	* Changes all over the place to remove warnings from -Wall
	-Wno-implicit.

Wed Jun 29 15:32:06 1994  Miguel de Icaza  (miguel@sphinx)

	* input.c (handle_char): Input lines now support M-b, M-f for word
	by word movement.

	* main.c (default_key, do_nc): Now file name searches are started with
	the Alt-S keysequence. Code cleanup.

	* input.h (ALT): New Macro for alt-keys

	* input.c (create_input, insert_char, update_input): All input
	lines are malloced. They realloc as needed, they scroll as needed.

	* find.c (input_find): Keep in sync with new Input line management.

	* main.c (ren_cmd, copy_cmd, mkdir_cmd, select_cmd, unselect_cmd):
	Fixed small bug. Keep in sync with the new Input line management.

	* dialog.c (input_dialog): Keep in sync with new Input line
        management.

	* main.c (do_nc): Use COLS-strlen(prompt) instead of COLS-2-...

	* input.c (create_input): Code cleanup.

	* main.c (main): The unknown option is already handled by getopt,
	just exit(1).

	* key.c (mi_getch): Bug fix: Added option to recognize ESC-Tab.

Mon Jun 27 13:01:03 1994  Miguel de Icaza  (miguel@sphinx)

        * Release 0.7

	* screen.c (Xtry_to_select): New: now tries to select a file near
	the deleted file. The old behavior was really painful.

	* main.c (toggle_fast_reload): Added configuration option to use
	fast directory reload.
	(main): Abort execution if unknown option passed to the program.
	(execute): Replaced repaint_screen for refresh_screen. 
	(select_item): New macro to select a file without repainting the
	screen. 
	(try_to_select): Select without repainting the selection.

	* screen.c (panel_reload), main.c (save_cwds_stat): Now,
	optionally use the stat trick to do a fast reload of a directory.

	* profile.c: Added include sys/types.h
	(GetPrivateProfileInt): Extended the integer array size from 5 to
	6.

Fri Jun 24 12:25:25 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c (main): Call save_stop_handler ().
	(pre_exec): Call endwin ().
	(execute): call my_system, this should get rid of most of the
	problems related to complex commands spawned.
	(execute): removed call to repaint_screen.

	* util.c (my_system): Misc changes to replace the actual execute
	command sequence. This must fix also the annoying bug that
	repaints the screen.

	* ext.c (regex_command): Now it correctly recognizes all the
	extensions in the extension file.

	* main.c (mark_file): Fixed bug that didn't repaint the mini info
	in some conditions.

Wed Jun 22 18:49:07 1994  Miguel de Icaza  (miguel@sphinx)

	* screen.c (panel_reload): Now it correctly clears the number of
	bytes in tagged files.

	* main.c (main): Added option -P that prints the ending working
	directory at program exit. It's still buggy.

	* dir.c: Now it's possible when sorting files to show files and
	directories together or separated (like the original nc).

	* main.c (mark_file): Fixed cosmetic bug that didn't clear the
	mini_info area correctly.

	* screen.c (repaint_file): Added support for showing dates instead
	of permissions in the panels. Still no way to activate it.

	* main.c (copy_other_prog_name): Added Meta-Tab key. It inserts
	the selected file name in the other panel into the input line.

Tue Jun 21 19:25:26 1994  Miguel de Icaza  (miguel@sphinx)

	* help.c (interactive_display): Added history to the hypertext
	browser.

Tue Jun 14 17:47:30 1994  Miguel de Icaza  (miguel@sphinx)

	* find.c: new version from Mauricio.

	* main.c (save_cwds_stat): removed the stat () trick optimization.

	* screen.c (panel_reload): removed the stat () trick optimization,
	it's not working in some cases, and I don't know how to fix it.

Mon Jun 13 20:32:07 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c (ext_cmd): Fixed bug that didn't pass home_dir to sprintf.
	(mkdir_cmd): Now it will select the directory just created.

	(do_edit,xmalloc): Thomas Roettgers fixes to a couple of bugs.

Mon Jun 13 17:40:36 1994  Mauricio Plaza (mok@lya.fciencias.unam.mx)

	* find.c: Many bug fixes.

Wed Jun  1 17:19:13 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c: corrected entry for User Menu.

	* view.c (move_forward, move_backward): Corrected bug, fix by
	Torben Fjerdingstad <tfj@olivia.ping.dk>.

	* main.c: replaced condition marked > 1 by marked > 0. The code
	didn't check correctly when only one file was tagged and operated
	on the selection instead.

Tue May 31 19:59:30 1994  Miguel de Icaza  (miguel@sphinx)

	* user.c (execute_menu_command): Fixed temporary file unlink bug.

	* ext.c (exec_extension): Fixed temporary file unlink bug.

	* main.c (ext_cmd): New extension file edit command.

	* user.c (expand_format): expansion of %f, %d, %F and %D in the
	user menu commands and in the extension dependant exec.

	* ext.c (regex_command): Execution of programs based on the
	filename extension implemented.

	* menu.c (run_menu): Fixed bug to select entries in the menus by
	letter. 

Mon May 30 13:03:07 1994  Miguel de Icaza  (miguel@sphinx)

	* screen.c, main.c: various changes to optimize directory loading
	(suggested by Torben Fjerdingstad <tfj@olivia.ping.dk>). Now it's
	a pleasure to use the program even on /usr/local/bin.
	(long_frame): corrected cosmetic bug (COLS/2 -> COLS-2)

	* color.c: Added option to disable colors.

	* main.c (main): Now it's possible to specify an initial directory
	for both panels.

	(main): Added option to disable colors.

	(main): -V option added to report version number.

Mon May 23 21:12:14 1994  Miguel de Icaza  (miguel@sphinx)

	* help.c, menu.c: added copyright

	* view.c (display): Don't display characters above 127.
	(init_view): Added clearok to view_win to clean the screen before
	updating view_win.

Sun May 15 14:11:47 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c: fixed bug that didn't set correctly select variable
	after calling try_to_select.

Sat May 14 13:43:58 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c: Added help and user menu to the File Menu.

	* dialog.c (refresh_fn): points to a variable to refresh the
	current screen.

	* util.c (icase_search): new routine based on search_string.

	* help.c (search_string): corrected typo (e now is *e).

Thu May 12 16:40:45 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c: Misc patches to interface the new internal viewer.

	* view.c: New internal viewer.

	* key.c (mi_getch): Added support for ESC->, ESC-<,
	ESC-Upper(letter). 

	* screen.c: many changes to support long display

	* main.c: misc changes for support for long display

	* main.c: Use panel_refresh instead of wrefresh (panel->win_file). 

	* main.c: Fixed bug that didn't correctly set the selection
	variable when using page/up/down/home/end keys.

Wed May 11 15:52:49 1994  Miguel de Icaza  (miguel@sphinx)

	* help.c: corrected bug that crashed the program (trying to select
	a link on a node without links).

Tue May 10 11:40:21 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c (move_home): now it goes home no matter if top_file is 0.

Mon May  9 11:01:09 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c (suspend_cmd): Added suspend option.
	(enter): Allow "cd" and "cd " to chdir to $HOME
	(do_cd): Allow "cd" and "cd " to chdir to $HOME

Sun May  8 13:42:41 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c (execute): system now executes commands by calling the
	user's shell with -c command argument.

	* screen.c (try_to_select): Corrected bug introcuted when fixing
	selection of root directory subdirectories.

	* user.c: New: user menus.

	* main.c: Corrected unselect key.

Fri May  6 13:10:52 1994  Miguel de Icaza  (miguel@sphinx)

	* screen.c (try_to_select): Correctly try_to_select when going up
	to the root directory.

Tue May  3 11:07:45 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c (init_panels): Now it corretly changes the other_dir
	(update_panels): does a chdir to cpanel->cwd after updating
	the information.

	* screen.c (display_mini_info): Changed selection for
	panel->dir [panel->selected].fname since it showed wrong
	information in opanel.

	* main.c: (check_menu_panel): Corrected indexes to reflex the
	released features

        * main.c (copy_cmd): Now it unselects the copied files.

	* main.c, util.c: Added setup loading/saving.

	* util.c (regexp_match): modified code to handle the '?' meta
	command as a '.' in the regular expression.

	* input.c (handle_char): When pasting characters with c-y the
	buffer would overflow.

	* main.c (ren_cmd): fixed minor bug.

Mon May  2 10:25:11 1994  Miguel de Icaza  (miguel@sphinx)

	* many changes to support variable screen widths/lengths.

	* color.h, menu.c: Fixed problem with menu colors on monochrome
	terminals. 

	* dir.c (do_reload_dir): Fixed bug that didn't retag corrently the
	files (next_free instead of count).

Sun May  1 16:29:05 1994  Miguel de Icaza  (miguel@sphinx)

	* main.c (cmd_quit): Asks before quiting, clear screen when
	finishing the program.

	* menu.c (get_motion): Fixed bug for query box.

	* find.c (select_and_change_panel): Call select_item to update the
	content of the selection variable.

	(do_find): After running the find, restore nodelay to false.

