📄 ochangelog
字号:
* cmd.c (menu_edit_cmd): use concat_dir_and_file instead of
copy_strings
* util.c (set_int): enlarged the temporary buffer because the
ascii representation of an integer value can be greater than
five chars.
* file.c (file_mask_defaults): New function which sets the global
variables used by the copy and move file routines to a reasonable
default. Use file_mask_defaults when you don't want to call the
interactive file_mask_dialog.
Note: I know that always setting preserve_uidgid is redundant
for non-root when we keep the change in setup.c but I like it
this way better (everything set in one function without making
assumptions).
* setup.c (load_setup): removed the check for preserve_uidgid
which isn't longer necessary
* cmd.c (check_for_default), tree.c (tree_copy, tree_move): call
the new file_mask_defaults
Mon Dec 1 05:47:17 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* cmd.c (ext_cmd): use proper filenames for ~ and $MCLIB
* ext.c: likewise.
Mon Dec 1 05:14:41 1997 Alex Tkachenko <alex@bcs.zp.ua>
* popt.c: If mmap is not available, read the configuration file
into memory.
Sun Nov 30 18:11:18 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c: Tell the user about the new location of his
configuration files.
* subshell.c (init_subshell): Use .bashrc if the .mc/bashrc file
does not exist.
* user.c (user_menu_cmd): Cleaned up the menu filenames.
Fri Nov 28 12:38:39 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c (print_usage): Include the long options now on the
listing.
* mc.1, mc.sgml: Updated docs to new pathnames; Unformized usage
of the $HOME and ~ usage in the docs.
* user.h (MC_MENU), main.h (MC_BASE), ext.h, ext.c, main.c,
tree.h, cmd.c, main.c (do_compatibility_move): Move the midnight
commander specific files into ~/.mc.
Thu Nov 27 22:07:34 1997 Erik Troan <ewt@redhat.com>
* src/popt.c, src/popt.h: New files, long options argument parsing
module.
* src/main.c: Implement long options.
Thu Nov 27 19:14:33 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c (prepend_cwd): Prepend the directory only if the pathname
is a local pathname.
* configure.in: autodetect the ext2lib.
* mc.tcl: catch tk_popup output, there is a bug in tk 8.0
* util.c (get_current_wd): Replace HAVE_VFS with USE_VFS, thanks
to Pavel for submiting the relevant information.
Thu Nov 27 19:05:12 1997 Pavel Roskin <pavel.roskin@ecsoft.co.uk>
* boxes.c: very small patch for src/boxes.c Some array was
incorrectly initialized, XV_WLAY_DONTCARE was at a wrong position.
Thu Nov 27 11:48:06 1997 Norbert Warmuth <k3190@fh-sw.de>
* vfs/tar.c (load_compressed_tar): Allocate the memory for the
uncompressed tar file after mc_doublepopen, i.e. when forking MC's
process size will be much lower (that's a win on systems without
memory over-commitment); Make a memory hole in size of 100k which
enlarges on some system the chance that free can give back memory
to the operating system when the memory for the tar file is freed.
Wed Nov 26 11:16:01 1997 Pavel Roskin <pavel.roskin@ecsoft.co.uk>
* src/background.c, cons.handler.c, utilunix.c, extfs.c, tar.c:
Include sys/wait.h only if HAVE_SYS_WAIT_H is defined.
* Makefile.NT, Makefile.VC4: Updated
Mon Nov 24 16:48:16 1997 Norbert Warmuth <k3190@fh-sw.de>
* file.c (copy_file_file): "preserve Attributes" didn't work when
fetching files with ftp.
* utilunix.c (init_groups): Check the return value of getpwuid(),
it can be NULL.
Fri Nov 21 18:08:54 1997 Pavel Roskin <pavel.roskin@ecsoft.co.uk>
* view.c: Double escape on save dialog was save old changes. Now
it cancels quit.
* key.c: get_key_code() returns ERR in tkmc version. This
preventsome SLang functions from linking with tkmc.
* subshell.c: mc warns about unsuccessful directory change in
messagebox, not via fprintf().
* help.h: help_follow_link() is declared here to prevent a warning
when compiling mxc.
* tkmain.c: spelling error corrected. Internal viewer is
incomplete, but does work.
Fri Nov 21 16:46:44 1997 Norbert Warmuth <k3190@fh-sw.de>
* mountlist.c: For BSDI: Assume BSDI 2.1 if MOUNT_UFS is defined.
xBSD mustn't be defined to compile MC on BSDI 2.1. Moved all
defines after the include files.
Thu Nov 13 12:24:23 1997 Norbert Warmuth <k3190@fh-sw.de>
* find.c: fix the bug introduces by Pavel's fix. Goto a directory
which contains more files than the number of files which fit into
the panel, select the last file, find one file, panelize the
search result and voila - coredump.
* lib/mc.ext.in: added support for word2x and catdoc (disabled);
I'm not sure about the icon.
Wed Nov 19 12:51:51 1997 Alex Tkachenko <alex@bcs.zp.ua>
* setup.c (load_setup) ignoring preserve_uidgid config option
if called by non-root option.
* doc/mc.1 doc/mc.sgml added notes for local menu files.
Tue Nov 11 11:51:57 1997 Norbert Warmuth <k3190@fh-sw.de>
* file.c (make_symlink): If the option Stable Symlinks is enabled
and either source or destination directory is on a non-local filesystem
an error message will be displayed and stable symlinks will be disabled.
Previously the error message was displayed for every symlink and
no link was created at the target directory.
* vfs/ftp.c (open_command_connection, resolve_symlink, retrieve_dir):
Added an unique inode number generator to avoid problems with the
cyclic link detection while copying files.
Mon Nov 10 21:41:53 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* dlg.c: Cleaned up the generic dlg code from backend specific
bits.
* gmain.c, gwidget.c: GNOME versions of the main and widget bits.
Mon Nov 10 20:10:01 1997 Pavel Roskin <pavel.roskin@ecsoft.co.uk>
* file.h: added missing declaration for erase_file
* find.c: try_to_select is not called if the find window is
canceled.
* configure.in: support for using --without-gpm-mouse;
--with-gpm-mouse forces support for gpm.
* learn.c: MC crashed sometimes in the learn dialog because some
memory block was freed twice. Now fixed.
* tree.h, tree.c: tree_rescan_cmd is now void, no cast is needed.
* xv/Makefile.in: Target libedit.a was included twice. make
install tried to run mxc after installing.
* xv/xvicon.c, xv/xvscreen.c: ext.h is included for
regex_command. Old-style calls of regex_command are corrected.
* tk/mc.tcl: Procedure center_win was buggy. Requested width was
used as heigth and vice versa. Notably, viewer was incorrectly
"centered".
* 10) view.c: Debug printing in tk version is removed.
Mon Nov 10 11:34:57 1997 Alex I. Tkachenko alex@bcs.zp.ua
* user.c: (user_menu_cmd) added possibility to use user-defined
menu from current directory first. Local menus are used only if
owned by user or root and are not group and world-writable.
* cmd.c: (menu_edit_cmd) reorganized to allow local menu editing
via pull-down menus. After editing local menu file it is assigned mode
0600.
* cmd.c: (compare_files) added code for thorough file comparison
by reading them by BUFSIZ blocks. compare_dirs_cmd - removed #ifdef's
for HAVE_MMAP, because everyone now can check file byte by byte.
Fri Nov 7 17:52:55 1997 Bakeyev I. Timur timur@goff.comtat.kazan.su
* panel.h/screen.c: Changed highlight_mode variable to 2 separate
permission_mode and filetype_mode.
* setup.c: The same change for saving/restoring new variables.
* layout.c: Added 2 chechboxes to "Layout.." menu, to visualize
new variables changings.
Fri Nov 7 13:37:54 1997 Norbert Warmuth <k3190@fh-sw.de>
* tk/Makefile.in: gui.quick_file_mask_copy.tcl was listed twice
in the variable GUIS.
Thu Nov 6 11:39:24 1997 Norbert Warmuth <k3190@fh-sw.de>
* lib/mc.ext.in: When calling lynx use %f instead of %p. %p fails
for non-anonymous ftp and we have to make a local copy anyways
because %f is used.
* slang/slang.h: Removed the definition of REAL_UNIX_SYSTEM for
AIX. It's not necessary any longer because the previous #ifdef
defines already REAL_UNIX_SYSTEM (if "unix" isn't defined it will
be defined in config.h).
That's a patch I haven't tested but I'm really sure it will not
break compile for AIX ;-).
* slang/slutty.c: The translation of return-value-from-cfgetospeed
to baud-rate was made with assumptions about the value of symbolic
constants (B0 is defined to 0, B50 to 1, B75 to 2, ...). This assumption
is wrong for BSDI. There was already a fix for this problem but
I made a more generic and IMO better fix.
(speed_t2baud_rate): New function. Translate the symbolic constants
B0, B50, B75, ... to the actual baud rate.
* hotlist.c (hotlist_button_callback): After moving entries the
hostlist wasn't marked as modified, i.e. it wasn't saved.
* util.c (is_gunzipable): added recognition of BZIP headers
* file.c (copy_file_file): chmod and utime was called on the
destination file even if it couldn't be created or when it was
read-only
* file.c (move_dir_dir, copy_dir_dir): When moving files cross
filesystem boundaries don't erase subdirectories unconditional,
erase only files which were copied successful.
Added an parameter to copy_dir_dir to indicate wheather successful
copied files should be added to a linked list (to be deleted by
move_dir_dir when the subdirectory was copied completly) or whether
successful copied files should be deleted immediatly (that's
implemented but not tested and there's no checkbox to activate it;
I will delete this piece of code if I can't find a place and name for
this option)
(erase_dir_iff_empty): New function. Delete an empty directory, don't
report an error if the directory isn't empty.
* utilunix.c (errno_dir_not_empty): use of errno was wrong, use err
instead.
Tue Nov 4 17:52:39 1997 Michael K. Johnson <johnsonm@redhat.com>
* vfs/mcserv.c: PAM code updated.
Tue Nov 4 13:01:52 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
* util.c (decompress_command_and_arg, decompress_command): new
commands that return the command that should be invoked to
decompress a file.
(is_gunzipable): return the compression type.
* tkkey.c (delete_select_channel): Moved the Tk key code.
* tkscreen.c: Make it work/compile with Tk 7 and Tk 8.
(show_dir): Do not invoke the widget commands if the widget has
not been realized yet.
Wed Oct 29 14:06:48 1997 Norbert Warmuth <k3190@fh-sw.de>
* vfs/extfs/rpm: We set LC_TIME back to C but the order in which
the environment variables are checked is this: LC_ALL, LC_CTYPE,
LANG. This means if you set LC_ALL the setting of LC_CTYPE has no
effect.
Thu Oct 23 02:07:26 1997 mc@timur.kazan.su (Bakeyev I. Timur)
* boxes.c: Changes in "Listing mode" dialog box for handling 4
different user defined status lines, for each viewing type res-
pectively.
* panel.h (WPanel): Add an array of strings to handle different
status lines.
* setup.c (panel_save_setup/panel_load_setup): Some additions,
with the same purpose. Allows to save/load 4 user status lines.
(See above).
* screen.c (panel_update_format/set_panel_format): This functions
was changed to new one - set_panel_formats() due doubling the code.
Also improve error handling in seting new formats.
* main.c (listing_cmd), layout.c (panel_do_cols): Made apropriate
changes to use new set_panel_formats() instead of old ones. Clean error
handling in main.c - it was so buggy :) (My fault - allows to break
format strings and get fine blue panels after loading :).
* screen.c: Some changes to handle new feature - different status lines,
code cleanup.
* color.c, color.h: Delete sel_mark_color array - isn't necessary now.
* tree.c, rxvt.c: Supprese some compilation warnings.
Thu Oct 1 03:22:02 1997 mc@timur.kazan.su (Bakeyev I. Timur)
* files.c: Improve look of copy/move dialog. Fix screen breaks on
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -