📄 ochangelog
字号:
long directory filenames. Some other beautify :)
* boxes.c: Slightly chaneged some buttons positions, order, names :)
Make dialogs look more standart. Little cleanups.
Mon Oct 27 13:26:55 1997 Norbert Warmuth <k3190@fh-sw.de>
* slint.c (slang_init): On BSD based systems ignore the C-y and
C-v special control characters.
Mon Oct 27 13:24:28 1997 Steven N. Hirsch <shirsch@ibm.net>
* file.c: Restored the old defaults for attributes and follow
links: op_follow_links set to zero; op_preserve set to one.
Fri Oct 24 12:50:56 1997 Norbert Warmuth <k3190@fh-sw.de>
* edit/editcmd.c (my_open): Deleted the extern declaration of errno.
It's bad habit to declare errno in the source file instead of
adding the correct include file. And it's wrong for multi threaded
applications [heh, got this patch twice ]
* chwon.c (chown_cmd): getpwnam and getgrnam may return NULL if
<Unknown> is selected. This was the last place in the code where
the return values of this two functions were used without check.
* tree.c (pathcmp): Added comments and a slightly improvement in
speed which was suggested by "D. Hugh Redelmeier" <hugh@mimosa.com>.
* wtools.c (query_dialog): Skip '[' when searching for a hotkey.
The rename of buttons e.g. from " Yes " to "[ Yes ]" made some
hotkeys disappear.
Thu Oct 23 10:44:57 1997 Norbert Warmuth <k3190@fh-sw.de>
* doc/mc.1, doc/mc.sgml, src/mc.hlp: updated in order to reflect MC's
new behaviour when copying files
* background.c (real_message_[123]s): Added the OperationMode
(foreground/background) to the list of passed parameters.
background_attention called these functions already with an
additional parameter. It was passed as *first* parameter but
the compiler couldn't find the wrong parameter passing because
the function call was made indirectly by a function pointer.
Prefix the title of dialog boxes for messages from the background
process with " Background process:"
* background.c (message_[123]s): Call real_message_[123]s with the
additional parameter.
* file.c: A lot of changes to make MC behave (as default) the same
way as cp -R does. The new defaults:
- respect the umask
- follow links: dereference symlinks and hardlinks, new: follow
links to directories;
follow links can be toggled for the source of copy with the option
"follow links", it is always activated for the destination
- don't preserve file date, file mode, UIDs, GIDs
Note: the old defaults were:
- don't respect the umask at all
- don't follow symlinks (links in subdirectories were never followed
even if the option "follow symlinks" was set)
- always try to duplicate hardlinks as hardlinks
- always preserve filemode and date of copied files
Renamed the option "preserve UIDs/GIDs" to "preserve Attibutes"
(anyone a better suggestion??). If set it means
- preserve filemode and filedate for non-root and
- preserve filemode, filedate and UIDs/GIDs for root.
New features:
- follow symlinks to directories
- detect cyclyc symbolic links
- detect when directories are copied into itself (it's better not
to copy infinitly)
- stable symlinks when moving files works
- don't try to make stable symlinks across non-local filesystems
* file.c (make_symlink): New function (cut out of copy_file_file)
used to make symlinks resp. stable symlinks.
* file.c (copy_file_file, copy_dir_dir): exchanged the calls to
chown and chmod because chown might alter the file permissions.
* file.c (file_mask_dialog): Removed options without effect from
the file-move dialog (the old "follow symlinks", "preserve UIDs/GIDs").
Now there are two different dialogs: file-move and file-copy (formerly
the dialogs differed for root and non-root)
* tk/gui.quick_file_mask.tcl, tk/gui.quick_file_mask_move.tcl: New
files
* tk/gui.quick_file_mask.tcl: deleted
Mon Oct 20 18:11:39 1997 Norbert Warmuth <k3190@fh-sw.de>
* slang/slutty.c (SLang_init_tty): Don't use fileno(stderr) for
terminal input. It may hang MC when viewing files (exact: when between
calls to open_error_pipe and close_error_pipe we try to get some
terminal input with SLang_getkey)
* slint.c (slang_init): An independent fix for the same problem
(needed when MC is linked against a slang library which was
not built with the sources we ship with MC).
* key.c (init_key_input_fd): New function. Due to constraints in
the flow of execution I had to split init_key. init_key has to be
called before slint_init but a short piece of keyboard initialization
has to be done after the call of slint_init).
Also fixed: Since 4.0.8 it was also possible that we called
select on different file descriptors to see whether there is
new terminal input available.
Mon Oct 20 18:05:00 1997 Manuel Sugawara <masm@deprof.fciencias.unam.mx>
* edit/editcmd.c: add #include <errno.h>
Mon Oct 20 14:45:50 1997 Cezary Sliwa <sliwa@blue.cft.edu.pl>
* vfs/vfs.c (vfs_setup_wd): The bug in vfs_setup_wd caused "Couldn't
change to ." messages, particularly when starting mc from '/'.
Notice that an empty string in current_dir is equivalent to "/"
(see vfs_canon), while after bare 'cd'p you're at home (see
do_subshell_chdir).
* src/subshell.c (quote_directory): Handle more cases.
Sun Oct 19 10:26:43 1997 Paul Sheer
* editcmd.c: last_search for forward replace doesn't decrement
even when a replace with a smaller word shortens the file - fixed.
Fri Oct 17 22:02:12 1997 Norbert Warmuth <k3190@fh-sw.de>
* color.h: When not compiling with SLang use MARKED_SLECTED_COLORS
from version 4.1.4 because the change in 4.1.5 is only applicable
when compiling with SLang.
* vfs/extfs.c (read_extfs_archive): On failure there were two
missing calls to pclose
* xv/Makefile.in: The new xpm-files in 4.1.5 were not added to
Makefile.in. The result was that these files were missing in 4.1.5
Thu Oct 9 13:22:43 1997 Norbert Warmuth <k3190@fh-sw.de>
* editcmd.c (edit_load_macro_cmd): The macro-file was closed twice.
Made it more robust against defective macro files, e.g. delete one
non-space in the macro file and the rest of the file is skipped.
That's IMO still not very good error handling but better than the
endless loop we got before (to get the endless loop you had to delete
chars at the right side of the colon).
I hope this patch will also fix the bug reported by Paul Seelig
<pseelig@goofy.zdv.Uni-Mainz.de>. Thanks for the help with debugging,
Paul.
Mon Oct 6 11:59:00 1997 bill@kayhay.com (Bill Davidson)
*xv/xvmain.c (get_panel_color): Instead of passing this function a
color map segment, we pass it a pointer to an Xv_Singlecolor,
which we fill in.
*xv/xvmain.c (xtoolkit_init): Set up an array of
Xv_Singlecolor before calling get_panel_color(). Use this in
creating a color map segment which is NOT a dynamic CMS. Use
pixmaps to create the icons at defaultDepth.
*xv/xvmain.c (x_create_panel_container): Use pixmaps to create
icons.
*xv/xvinfo.c (x_setup_info): Use pixmap for mc_icon at defaultDepth.
*xv/xvscreen.c (copymove_in_panel): Return type is void.
*xv/xvscreen.c (user_drop): Return type is void.
*xv/xvview.c (textsw_notify): Return type is void.
*xv/xvview.c (create_frame): Added Quit button.
*xv/xvview.c (x_quit_cmd): New function, callback for Quit button.
*xv/pictures.h : dropped trailing commas from arrays.
*xv/panel_icon.xpm: New file, defines panel_icon_xpm[].
*xv/mc_icon.xpm: New file, defines mc_icon_xpm[].
*xv/mc.icon: Cleaned up trailing commas, added null
termination to mc_colors.
*xv/Regular.xpm: New file, defines Regular_xpm[].
*xv/Directory.xpm: New file, defines Directory_xpm[].
Tue Oct 7 21:53:57 1997 Paul Sheer <psheer@icon.co.za>
* edit/edit.c, edit/editcmd.c, edit/editwidget.c,
edit/editmenu.c: updated the editor files to match the
X version. This gives the editor backwards search and
replace. Also, a mail command was added to mail the edit
buffer.
Thu Oct 2 12:37:00 1997 Pavel Roskin <pavel.roskin@ecsoft.co.uk>
* view.c: F17 works as "Next search". Improved look of the
save dialog. Suppressed some warning about "incompatible
pointer type"
* cmd.c: Improved look of some dialogs (Mkdir, Filter, Filtered
view)
Wed Oct 1 11:25:49 1997 Norbert Warmuth <k3190@fh-sw.de>
* learn.c (learn_button): The old code was wrong because `*seq <
32 && *seq > 126' is always false. Now it is not possible to
redefine characters from space to ~ (I think that's the range we
should exclude from redefinition of single characters).
Mon Sep 22 12:35:53 1997 Norbert Warmuth <k3190@fh-sw.de>
* aclocal.m4 (fp_PROG_CC_STDC): Removed all the checks but the one
for HP-UX. I took over this macro from other gnu software without
further investigation but it broke compilation with the native
compiler on some systems (e.g. AIX). Now I take the opposite
approach and add flags only when I definitly know they are needed.
At the moment that's only for HP-UX the case. When we know that
some compiler need special flags we can add them later again.
Tue Sep 16 16:39:39 1997 Pavel Roskin <pavel.roskin@ecsoft.co.uk>
* src/main.c: Pressing of "tab" correctly refreshes the command
prompt.
* configure.in: Syntax error is corrected (function AC_CHECK_LIB).
Work-around for autoconf-2.12 bug is proposed. Two lines are just
changed.
Thu Sep 11 12:11:03 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
* vfs/ftpfs.c (login_server): Handle servers that do not ask for a
password.
Thu Sep 11 12:09:26 1997 Norbert Warmuth <k3190@fh-sw.de>
* tree.h: Deleted check_sublevel from WTree's definition because
it's not needed to recognice whether directory B is subdirectory
of directory A (e.g. "/usr/src" and "/usr").
* tree.c (pathcmp): New function ('strcmp for directories'). strcmp
gives the wrong result in a few cases
e.g. for strcmp ("mc/src", "mc.orig/src")
* tree.c (tree_append_entry): Commented out and replaced with
tree_add_entry to avoid strange results when an old (wrong sorted)
.mc.tree-file is loaded. The negative effect is that it takes now
a few us longer to display the tree the very first time.
* tree.c (tree_copy, tree_move): The input dialog was a little
bit to wide for 80-column-terminals.
* tree.c (tree_callback): Disabled function-key F7 because mkdir
is defunct in the directory tree.
* tk/Makefile.in: Moved mad.o from OOBJ to LOBJ in order to stop
bash (>= 2.0??) from complaining at the 'links' target.
Fri Sep 5 10:03:41 1997 Norbert Warmuth <k3190@fh-sw.de>
* file.c (check_buttons): Discard mouse events. Pressing the left
mouse button caused abort of file operations when MC was run in a
XTerm.
Thu Sep 4 12:08:53 1997 Matthias Moeller <mattes@ice.robin.de>
* vfs/tar.c: From time to time MC isn't recognizing symlinks while
extracting an archive. This is especially the case for some
archives not built with GNU-Tar (e.g. the cdrecord archive).
These archives don't set the symlink-flag in the header->mode
field, but only the header->linkflag to LF_SYMLINK. The original
GNU-Tar has no problems extracting these archives.
Thu Sep 4 12:06:44 1997 Norbert Warmuth <k3190@fh-sw.de>
* aclocal.m4 (fp_PROG_CC_STDC): The SVR4 option -Xc is also a valid
option for Unixware 2.1. But it turnes some useful extensions off
which are on by default. I extented the macro to avoid this.
* main.c (handle_args): New option -k to enable reset of HP softkeys
* slint.c (slang_reset_softkeys): New function only useful with HP
terminals which program the function keys. It is activated with the -k
commandline option. Thanks to GianPiero Puccioni <gip@fox.ino.it>
for testing.
* slint.c (getch): Removed the DEC_8BIT_HACK completely because I
think we don't need it. The initial motivation behind this hack has
to do with VTxxx terminal which are in eight bit mode and use some
characters between 128 and 159 as control characters. We can control
with the display-bits dialog which characters are displayed and so
I think we don't need the DEC_8BIT_HACK (it can break the mouse in
XTerms when buttons are pressed and the position is in either direction
between 128 and 159).
* vfs/tar.c (read_header): Some tar-files contain symbolic links
without S_IFLNK set in the mode field. I don't know whether this is
a feature or a bug but I use the header's linkflag to add the missing
information to the mode field (same for S_IFCHR, S_IFBLK and S_IFIFO
but I'm not really sure if this is necessary).
Wed Aug 27 22:33:42 1997 mc@timur.kazan.su (Bakeyev I. Timur)
* screen.c (panel_new): Use DEFAULT_USER_FORMAT:
* mc.sgml: fix typos.
Thu Aug 28 10:38:40 1997 Liviu Daia <daia@stoilow.imar.ro>
* util.c (icase_search): searching in the internal viewer didn't
find patterns containing troff formating sequences - fixed.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -