?? changelog
字號:
Mon Oct 5 21:33:14 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* screen.c (parse_display_format): Don't dereference NULL pointer
when format string is an empty string.
Fri Oct 2 19:22:24 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* setup.c (panel_load_setup): equality operator used for assignment
* setup.c: save and restore new global variable/option
ftp_use_unix_list_options
Mon Sep 28 21:55:13 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* find.c: Changed hotkey of the continue-button (both Chdir and
Continue used `C').
Tue Sep 15 21:52:00 1998 Norbert Warmuth <k3190@fh-sw.de>
* mc.hlp, doc/mc.1.in, doc/mc.sgml: updated my EMail address
1998-09-14 Norbert Warmuth <k3190@fh-sw.de>
* file.c (move_dir_dir): Fixed severe bug reported by Andrew Pechenov
<zx80@demo.ru> (losing files when moving directories cross filesystem
boundaries): make sure erase_list is emptied always not only when we
deleted files.
1998-08-26 Ludovic Drolez <ldrolez@usa.net>
* Made the program relocatable by using the MCHOME environment
variable.
Mon May 25 23:32:35 1998 Norbert Warmuth <k3190@fh-sw.de>
* editdraw.c (print_to_widget): Ifdef'd SLang specific code in order
to make it compile with ncurses. Syntax highlighting in the
internal editor is already disabled when SLang isn't used.
1998-05-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
* widget.c (port_region_marked_for_delete): New per-port
piece of code: Provides a way for good selection killing.
Sun May 24 02:45:03 1998 Norbert Warmuth <k3190@fh-sw.de>
* utilunix.c, util.h (errno_dir_not_empty): deleted
Sat May 23 22:29:57 1998 Norbert Warmuth <k3190@fh-sw.de>
* file.c (check_dir_is_empty): New function which takes a path and
returns -1 on error, 1 if there are no entries besides "." and
".." in the directory path points to, 0 else. This function
actually opens and reads the directory and doesn't do tricks we
used to do with rmdir.
* file.c (erase_dir, erase_dir_iff_empty): Use check_dir_is_empty
to detect non empty directories. The old code tried to remove the
directory and decided on errno whether the failure of rmdir was
caused by a non empty directory or whether there was a different
error.
Unfortunatly not every filesystem sets errno to EDIRNOTEMPTY if
you try to delete a non empty directory. Namely the linux user
space nfs server sets errno to EIO, Suns nfs server sets it to
EEXIST and the AIX nfs server sets it to ??? (Steve reported
problems on AIX so I guess AIX sets errno to a value we currently
don't check).
1998-maj-18 Tamasi Gyorgy (gt_cosy@usa.net)
* lib/mc.menu: 'Z' on 'tar.Z' and 'tar.z' files: '%f' -> '$1'.
* lib/mc.ext.in.qnx.diff, lib/mc.menu.qnx.diff (QNX): modified
'mc.ext.in' (tar -t: output to stderr); modified 'mc.menu' (tar is
not GNU tar: doesn't know '-z'); support for '*.tar.F':
'freeze'-compressed tar files [No automatic configure/install
implemented: patches must be applied before running 'configure'
(mc.ext.in.qnx.diff: this patch can be not only QNX-specific...)]
* lib/Makefile.in: 'mc.ext.in.qnx.diff' and 'mc.menu.qnx.diff' added
to DISTLIB.
* slang/sldisply.c:
SLTT_TRANSP_ACS_PATCH dependant code:
The problem: some terminals (QNX/qansi*, SCO OS5/ansi [?]) map the
whole upper half of the ASCII table to the lower half, when
alt-char-set is activated with the smacs/as string-sequence. This
means, that if 0 <= ch < 128 written to the terminal, it will be
translated to (ch+128) automatically by the terminal: so not only
the line-drawing characters can be written, when the alt-char-set
is activated. It implicitly means, that space, NL, CR, etc.
characters (exactly: anything besides the "standard" line drawing
characters) can not be written directly to the terminal, when the
alt-char-set is activated, because writing these characters
doesn't cause an implicit/temporary switching-back to the standard
char-set!
The original code in SLang assumes that space, NL, CR, etc. can be
printed when alt-char-set is activated. If SLTT_TRANSP_ACS_PATCH
is defined, the modified code will not use this assumption.
[Remark: the patch-code is not the most exact solution, but
works...]
QNX_QANSI_SLANG_COMPAT_ACS_PATCH dependant code:
A more OS/terminal-specific solution for the problem mentioned
above (->SLTT_TRANSP_ACS_PATCH).
If QNX_QANSI_SLANG_COMPAT_ACS is defined, the default smacs/sa,
rmacs/ae, acsc/ac [and sgr/sa, if it would be used!] command
sequences will be replaced internally with the "old style"
(pre-QNX 4.23) sequences in case of QNX/qansi terminals. Using
these optional command sequences the terminal remains compatible
with the original SLang code (without using the workaround-code
enabled by defining SLTT_TRANSP_ACS_PATCH).
Remark:
Currently SLTT_TRANSP_ACS_PATCH is not auto-configured by
'configure'. (Must be manually defined...)
There is some (QNX-specific) auto-configuration hand-coded in the
source:
#ifdef SLTT_TRANSP_ACS_PATCH
# if defined(__QNX__) && defined(QNX_QANSI_SLANG_COMPAT_ACS)
# undef SLTT_TRANSP_ACS_PATCH
# endif
#else
# if defined(__QNX__) && !defined(QNX_QANSI_SLANG_COMPAT_ACS)
# define QNX_QANSI_SLANG_COMPAT_ACS 1
# endif
#endif
* slang/slutty.c: "newtty.c_iflag &= ~(ECHO | INLCR | ICRNL);"
ECHO(0x08) is a c_lflag bit, it means PARMRK(0x08) in c_iflag. (!?!)
* src/file.c: 'do_reget' can be extern if (USE_VFS && USE_NETCODE),
not if (USE_VFS).
* src/find.c (search_content()): Variable 'i' "must be" 'int', not
'char'. ["i == -1": (buggy?) WCC 10.6 doesn't convert automatically
(int)(-1) to (char)(-1) (GCC does), so "comparison result always 0"
warning produced. It is cleaner to define 'i' as 'int', than cast
'-1' to 'char', because 'read()' returns 'int'.]
* src/key.c (init_key()): Call load_xtra_key_defines() and clear
'use_8th_bit_as_meta' by default under QNX, if a 'qnx*' terminal
detected. (A saved config file (mc.ini) can override it later...)
* src/key.h: Declare load_xtra_key_defines().
* src/keyxdef.c: Provides a method to define some platform-specific
additional key mappings. (e.g. QNX terminals can handle most of
META-? combinations as ALT-?...) ('keyxdef.c' currently not listed
in doc/FILES...)
* src/layout.c: TIOCGWINSZ must be available (so <sys/ioctl.h> (?)
included), because window-resizing code doesn't work, if not defined.
* src/main.c: 'print_usage()' is reserved name in the QNX run-time
library, so 'print_usage()' renamed to 'print_mc_usage()'
* src/mouse.c (QNX): ncurses 1.9.8a ported to QNX doesn't provide the
'SP' pointer as a global symbol in the library, so the keyok()
emulation currently can not be used under QNX (4.24 & Watcom C 10.6
release version).
* src/slint.c (QNX): 'qansi*' terminals added to the color_terminals[]
list.
* src/subshell.c, src/utilunix.c (QNX): include <unix.h> to get
prototype for exec*()!!! [See README.QNX/Section 1.4 about the
dangerous "No prototype for <function>" warnings emitted by Watcom C,
if <function> is a 'printf()'-style function having variable number
of arguments and you compile your source with the default register
calling convention!!!]
* Makefile.in: 'keyxdef' module added to SRCS and OBJS.
* <mc-root>/README.QNX: QNX-specific notes.
* <mc-root>/configure (line 3369), <mc-root>/configure.in (line 88):
'test x$CCOPTS = x;' modified to 'test "x$CCOPTS" = x;'
* <mc-root>/Makefile.in: README.QNX added to DISTMAIN.
Thu May 21 00:09:45 1998 Norbert Warmuth <k3190@fh-sw.de>
* menu.c (menubar_event): Don't set menubar->selected to the
invalid value -1. Fix for the bug reported by root@liepa.soften.ktu.lt
* menu.c (menubar_drop_compute): removed the check for inrange
items which isn't necessary any longer.
Wed May 20 16:27:56 1998 Norbert Warmuth <k3190@fh-sw.de>
* widget.c (history_put): input line history was defunct because
there was an #ifndef where an #ifdef should be.
Btw. PORT_WIDGET_WANTS_HISTORY seems incomplete because a lot of
history code is included even when this define is undefined.
1998-05-19 Tamasi Gyorgy <gt_cosy@usa.net>
* src/*: Until I get a better ChangeLog: Tamasi's port of the
code to QNX.
1998-05-19 Alexander Lukyanov <lav@yars.free.net>
* Makefile.in: Distirbution fix so that people are not forced to
install gettext.
1998-05-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
* ext.c: Memory leak fixed.
Mon May 18 22:24:09 1998 Norbert Warmuth <k3190@fh-sw.de>
* lib/mc.ini.in: s/reges/regex/
* main.c (process_args): return void, the return value was only
used once but wrong (-h displayed help twice).
(handle_args): -h: don't display help twice
(print_usage): Don't print program name and version, that's
already done by version(0).
* menu.c (menubar_paint_idx): Highlight Hotkeys also on slow
terminals (hotkeys were not displayed at all).
1998-05-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
* menu.c (menubar_drop_compute): Check for inrange items.
1998-05-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
* color.c (init_colors): Provide X-only version of color
initialization.
Thu May 14 01:56:11 1998 Norbert Warmuth <k3190@fh-sw.de>
* configure.in: Don't add -lintl to LIBS when included gettext is
used (further checks for libraries would fail because libintl.a
isn't build, yet). Instead use and substitute LINTL.
* Makefile.in (OURLIBS): add @LINTL@
Tue May 12 17:45:49 1998 <psheer@obsidian.co.za>
* syntax.c: yet more minor modifications.
1998-05-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c: New default: auto-save setup.
* screen.c (move_right, move_left): Add support for icon-view movement.
1998-05-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
* setup.c (panel_load_setup): On non-icon editions, fall back to
list_full
Sun May 10 13:27:50 1998 Norbert Warmuth <k3190@fh-sw.de>
* widget.c (handle_char): Don't try to to delete default text in
input widget more than once. Right after MC's start copy_filename
(ESC Enter) failed because a flag wasn't cleared while characters
were stuffed into the commandline (Andrej reported this bug).
* main.c (copy_readlink): usr mc_readlink instead of readlink
* file.c: Changed default for the copy/move option "dive into
subdir if exists" to off (note: this was only possible after the
change in setup.c).
(copy_dir_dir): Activated the previously uncommented code which
implements "Dive into subdirs". Even when there's no case where we
actually would like that behaviour it is a documented feature.
Though I don't wanted to change the default behavour. Hence the
option change.
(file_mask_defaults): set dive_into_subdirs
(file_mask_dialog): Fix for debian Bug #20727: Move operation with
"[ ] Dive into subdir if exists" and destination filename not
wildcarded. If destination is an existing directory then files
will be moved into this directory. If destination is not an
existing directory then src file will be renamed (one file
selected) or an error will be displayed (more than one file
selected).
(file_mask_dialog): made the option "Using shell patterns" local
to the current copy/move operation, i.e. this option is always
initialized with the global options's value. Previously it affected
the global Options/Configuration/shell Patterns.
Another possiblilty would be to make the global option a default
option on startup and keep changes in the copy/move dialog
(without saving these changes with save setup).
* setup.c: Don't save and load options which can be changed
outside the options menu. For example I don't like that
preserve_uid_gid and dive_into_subdirs from the copy/move dialog
are saved and restored (strange, what about the other options from
this dialog?).
It would be much cleaner to make these option read-only. This way
one could edit ~/.mc/ini to provide default option setting on
startup and "Save setup" wouldn't have side effects outside the
option's menu.
Sun May 10 13:24:20 1998 Norbert Warmuth <k3190@fh-sw.de>
* doc/mc.1.in, doc/mc.sgml, mc.hlp: Updated to reflect new default
for dive into subdirs.
Sun May 10 13:21:45 1998 Norbert Warmuth <k3190@fh-sw.de>
* edit/syntax.c: Disable debug messages on stderr.
* edit/edit.h: Added missing _()
1998-05-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* layout.c (flag_winch): Propagate the window change to the slave
pty even when not running our event loop. The resize_subshell
routine is thread safe.
* dlg.c (update_cursor, dlg_broadcast_msg_to): Do not send
messages if no widgets are on the Dlg_head, this happens now with
the gmc code, as we can have all of the windows shut down.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -