📄 ochangelog
字号:
Fri Jan 16 00:11:20 1998 Norbert Warmuth <k3190@fh-sw.de>
* popt.c (poptGetNextOpt, poptReadConfigFile): added missing free
and munmap
* vfs/ftpfs.c: Activated CD_THEN_LS_DOT as default; instead of
"LIST path" send the commands "CWD path" and "LIST ."
* vfs/ftpfs.c (command): First check errno because
disable_interrupt_key might change it.
* vfs/ftpfs.c (resolve_symlink): Finished the CD_THEN_LS_DOT hack.
If you activate it you will be able to browse directories containing
spaces in their name (that's a compile-time option; search
for the define in this file).
* vfs/ftpfs.c (__ftpfs_chdir): New function; this code is moved from
ftpfs_chdir, takes a remote path and for performance reasons it keeps
track of previous CWD's.
* vfs/ftpfs.c: To change directories use __ftp_chdir instead of
sending the CWD command.
* vfs/vfs.c (parse_ls_lga): Added support for symlinks containing
spaces (spaces either in the name of the symlink or in the target
of the symlink).
Thu Jan 15 23:09:58 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* color.c (get_two_colors), (configure_colors_string): get two
colors now splits the color names instead of brute force text
matching. make a copy of the string to be able to patch the
string.
* screen.c (file_compute_color): renamed, old name was
normal_color. This is now used by the gnome port as well. The Tk
port should be using this too instead of having its own color
scheme.
* color.h: Use PORT_COLOR to choose the color.
* gscren.c: Compute the proper sizes for the panel columns; Add
sorting callbacks for the buttons on the top
Wed Jan 14 22:29:01 1998 Peter Daum <gator@cs.tu-berlin.de>
* patchfs: added new file system for browsing patch files.
Wed Jan 14 20:54:38 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* screen.c (parse_display_format, use_display_format):
Functionality has been splited now. the former routine only
parses the user specified format, while the later parses and
activates the format for text mode editions.
* panel.h (format_e): we now have a couple of extra fields:
use_in_gui indicates that this field should be displayed on a GUI
(ie, only the text-mode decoration tags are ommited).
expand field indicates that the field should be expanded.
Wed Jan 14 12:55:19 1998 Sung-Hyun Nam <namsh@lgic.co.kr>
* mc.tcl: find a user specific 'tkmc' file in the ~/.mc
Tue Jan 13 17:15:21 1998 Pavel Roskin <pavel.roskin@ecsoft.co.uk>
* main.c (pre_exec): reset_prog_mode is not called if mc is
compiled with SLang. Otherwise, raw_mode in invoke_subshell()
may be improperly initialized. In this case Ctrl-O was ignored
Tue Jan 13 09:08:32 1998 Alex Tkachenko <alex@bcs.zp.ua>
* widget.c (show_hist): cleaned up; historylist_callback (now removed)
replaced with listbox_finish to enable selection with mouse double click
* wtools.c (create_listbox_window): added comparison of passed width
with title and cancel button length. Max value of three is now taken;
fixed cancel button xpos calculation.
Sun Jan 11 11:31:39 1998 Alex Tkachenko <alex@bcs.zp.ua>
* view.[ch]: removed obsoleted macro HEX_EDIT and related code
cleaned up.
* wtools.c (query_dialog): added color to hotkeys in focus
by subshell on FreeBSD.
* mouse.h: obsolete code removed. gpm-xterm.h doesn't exist anymore
* nt/Makefile.NT: sldisply.c is not linked with mc.
* myslang.h: we don't try to draw double lines for panels anymore
because "official" SLang doesn't support them supported for OS/2
and NT.
* doc/mc.sgml: "<tscreen><verb>" should not appear in mc.1 and
mc.hlp anymore.
* layout.c, main.c: "mc -a" is not supported for OS/2 and NT.
* configure.in: libtermcap is linked only if it is available and
needed.
* vfs/undelfs.c: umode_t is undefined before entering the kernel
headers, because the Linux kernel defines its own umode_t
* key.c: First left mouse click on xterm was interpreted as
a right click. Now event->buttons doesn't need to be initialized
(exactly as in liblow.c in libgpm)
* screen.c, key.c: Some routines were surrounded with HAVE_XVIEW.
HAVE_X is used instead since that code is not used in Tk and gnome
versions either.
Tue Jan 13 11:08:26 1998 Norbert Warmuth <k3190@fh-sw.de>
* lib/mc.menu: Bugs fixed caused by quoting the expanded %-macros
Fri Jan 9 20:33:14 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* layout.h (get_other_panel): Define get_current_panel/get_other_panel
as macros that use the index stuff we used before. I am getting
rid of this.
* gnome/glayout.c: Gnome code does not link with the layout.c
code, we use our own set of routines here.
Fri Jan 9 13:24:22 1998 Norbert Warmuth <k3190@fh-sw.de>
* vfs/extfs.c (extfs_get_path_from_entry): New function which maps
a struct extfs_entry to a local path inside the archive.
(extfs_open, extfs_close): Use the path to the resolved symlink
when making or storing a local copy of a file from the archive
(at least the zipfs doesn't follow symlinks).
Thu Jan 8 20:10:23 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c: Moved some edition specific code into the edition
specific routines (Tk, XView, Gnome and text).
* text.c: new file, has some of the text mode edition code bits.
Sat Dec 6 23:24:23 1997 Yuri Kuzmenko <yuri@microsoft.kiev.ua>
* main.c: added -r command-line option. It removes
"The shell is already running a command" message in
Thu Jan 7 14:50:00 1998 Norbert Warmuth <k3190@fh-sw.de>
* screen.c (panel_callback): Don't set h->grided to zero. The fix
in dlg.c (create_dlg) is sufficient.
Wed Jan 7 17:55:40 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* dlg.c (create_dlg): Initialize new_d->grided to zero. [ Note:
Strange, very very strange, as this is supposedly initialized by
x_create_dialog from the D_GRID flag. Mhm, wonder what is going
on there ].
Wed Jan 7 17:30:53 1998 Norbert Warmuth <k3190@fh-sw.de>
* screen.c (panel_callback): Initialize h->grided to zero.
* extfs.c: fix crash by using properly quoted file names to the
scripts.
* configure.in: INSTALL_PROGRAM mustn't be set explicitly. configure
adapts the path in INSTALL but not in INSTALL_PROGRAM and INSTALL_DATA
(adaption of the path is necessary when the compilation tree is
different from the source tree and mc/install-sh is used for
installation).
Tue Jan 6 18:10:55 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* tkwidget.c (tk_new_command):
There are two types of dialog boxes in the Tk edition: those that
are manually layed out (which have a layout_XXXX routine in
mc.tcl) and those that are layed out according to the information
generated by the GUI designer (gd.tcl). The layout information
for the later are called gui.XXX.tcl, and they contain information
used for laying out widgets according to a table.
Now, dialogs that used the GUI designer, had their widgets labeled
(this label was recently used by the history code (and thus, some
widgets that did not have name, got names, which means that they
will be tried to be layed out with the wrong laying out routine).
The flag DLG_GRID is used when creating a dialog box that uses the
gui designer, so we store this variable now and use it when
creating the widgets.
Tue Jan 6 18:07:24 1998 Norbert Warmuth <k3190@fh-sw.de>
* edit/edit.c (edit_load_file), editcmd.c (edit_save_as_cmd,
edit_save_cmd, edit_quit_cmd): Delete the edited file if we
created it in edit_load_file (e.g. mcedit <non-existing-file>)
and the file wasn't modified OR it wasn't saved.
* editcmd.c (my_open, pipe_mail): Deleted the external declaration
of errno (errno is delared in errno.h which is already included);
deleted the only reference to errno (I can't see it's purpose).
Mon Jan 5 13:11:54 1998 Norbert Warmuth <k3190@fh-sw.de>
* acconfig.h: Define HAVE_CRYPT when libcrypt or libcrypt_i are
available. AC_CHECK_FUNCS(crypt) defines HAVE_CRYPT but
AC_CHECK_LIB(crypt, crypt) doesn't (the consequence were login
failures with mcserv).
* configure.in: Define HAVE_SOCKET also when the function socket
isn't found in libc but in a other library.
Don't define HAVE_GETHOSTBYNAME by using AC_CHECK_FUNC instead of
AC_CHECK_FUNCS (we don't use this define and to be consistent we
would have to do the same as for HAVE_SOCKET and HAVE_CRYPT).
* doc/mc.in.1, doc/mc.sgml, mc.hlp: Updated the find-file entry
(the contents field is interpreted as regular expression).
* lib/mc.hint: Updated the information for lynx-style navigation.
* layout.c (layout_cmd): Removed de-reference of NULL-pointer in the
XView edition
* main.c (reload_panelized): Update the panel's summary information
* popt.c: removed references to alloca
* widget.c: more changes to prevent mxc from issuing characters
on the console
* vfs/Makefile.in: Install extfs/arfs from the source directory
and not from the compilation directory which lacks arfs if both
are different directories.
*vfs/extfs.c: Quote special characters before passing it to pipe.
(read_extfs_archive): List a symlink as normal file if the extfs-
script lists symlinks without providing the destination of the symlink
(namely the zipfs caused coredumps)
* vfs/mcfs.c (mcfs_login_server): Close the socket after and not
before it's last use.
* xv/Makefile.in: Some sourcefiles which depend on HAVE_XVIEW and
HAVE_X were not recompiled.
* xv/xvwidget.c (x_create_gauge): set the PANEL_CLIENT_DATA (other
parts of the code depend on it)
* lib/mc.ext.in: Added entry for ftplist-extfs
* user.c (expand_format): Added parameter which decides whether
expanded %-macros are quoted or not.
Adapted every reference to "expand_format" for the additional
parameter
* ext.c (exec_extension): Don't quote the result of expanded %-macros
when we use it internally (e.g. the parameters of %cd).
* util.c (name_quote): Quote backticks.
(fake_name_quote): New function used by exec_extension (I need this
function only because I was too lazy to recode exec_extension
completely and wanted to avoid a lot of if-clauses).
* vfs/extfs/arfs, deb.in: Set LC_ALL to the C locale because we run
"date" and expect the output to be formated for this locale.
* vfs/extfs/*: Removed "eval" from the scripts because it made problems
with filenames which contain special characters, e.g. ', "
* vfs/extfs/ftplist.in: If mc is compiled with "-DWANT_PARSE" you
will be able to hit return in order to connect to ftp servers listed
in the ftplist-extfs.
* vfs/extfs/zip.in: Added support for symlinks in zip-files.
Tue Dec 30 15:20:13 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* widget.c (button_new): We no longer require the hotkey and the
hotposition arguments, these are automatically computed from an
embedded "&" in the button text. This is required for
internationalizing the program.
* achown.c (init_chown_advanced): Adhere to new button_new
convention.
* achown.c, boxes.c, chmod.c, chown.c, file.c, find.c, wtools.c,
panelize.c, option.c, listmode.c, learn.c, layout.c, hotlist.c:
likewise.
* wtools.c (query_dialog): Do not use the first character as the
hotkey, clients now should use the widget "&" character.
Tue Dec 30 15:06:52 1997 Tomasz K硂czko <kloczek@rudy.mif.pg.gda.pl>
* edit/: Many small changes preparing for internationalization.
* doc/: renamed the manual pages to include a .in, the manual
pages are now generated by configure.
* makimg definition INSTALL_PROGRAM depended on
--with[out]-debug. Default value INSTALL_PROGRAM is "${INSTALL}
-s" (striping binaries on installing), with --with-debug is
"${INSTALL}"
* tk/Makefile.in: Compiling the tk edition on first pass.
* mc.spec.in: Cosmetic changes.
Tue Dec 30 14:30:09 1997 Pavel Roskin <pavel.roskin@ecsoft.co.uk>
* vfs/extfs/arfs: UID and GID shell variables renamed because they
are read-only under Linux.
* configure.in: mxc can be compiled if even libXext is missing.
* main.c, layout.c: minor changes to prevent tkmc and mxc from
issuing some characters on the console. initscr is included into
init_curses.
Tue Dec 30 14:28:54 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* view.c (view_hook): Allow viewing links in quick view mode.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -