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

	* 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 calle, 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 direcoties in the command
	line. 
	(delete_cmd): Fixed a bug in the newly introduced condirm 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. Enhacement 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 cordinates 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 miniinfo 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.

