📄 ochangelog
字号:
* view.c (regexp_view_search): replaced re_search() and
re_match() with a single call to regexec().
* view.c (regexp_view_search): made regexp matching case
sensitive only when the search pattern contains upper case
characters - new.
Thu Aug 28 19:22:54 1997 Liviu Daia <daia@stoilow.imar.ro>
* edit/editcmd.c: separated searching by regexp from the scanf
stuff.
* edit/editcmd.c: Regexp search recognized ^ only if it was the
first character in the pattern - fixed.
* edit/editcmd.c: Regexp search didn't handle empty patterns
correctly - fixed.
Wed Aug 20 17:29:12 1997 Norbert Warmuth <k3190@fh-sw.de>
* main.c (setup_dummy_mc): Setup a more complete MC for mcedit
and mc -v to avoid coredumps on screen resize. I think that's
the best way to handle this bug.
* view.c (do_view_init): filtered_view_cmd invokes the internal
viewer with command != 0 and with file == "".
With the wrong Parse/Raw option (set with F8 when viewing the
former file) MC tried to open the file "" - fixed.
* util.c (strip_password, strip_home_and_password): handle pathes
like ftp://host/abc:defg@hij correct
* find.c (do_find): when searched for content the chdir button
didn't work - fixed.
* util.c (strip_password): New function used to remove the password
from a path (persons storing passwords in the hotlist just
don't want to see plain passwords on top of the panel). Currently
strip_password is only used by strip_home_and_password.
Note: Everything between : and @ is removed, i.e. strip_password
has to be called without ftp:// and mc:. I have not added checks
already done in strip_home_and_password. As soon as strip_password
is called from somewhere it should be reconsidered where to add
the checks.
* util.c, util.h, screen.c (show_dir): Renamed strip_home to
strip_home_and_password
* util.c (icase_search): Use toupper for the case-insensitive
compare to make icase_search aware of national characters.
Thu Aug 14 00:17:40 1997 Norbert Warmuth <k3190@fh-sw.de>
* slang/slgetkey.c: Commented SLang_input_pending and SLang_getkey out
because in order to enable input of characters from 128 to 159
I have to remove the DEC_8BIT_HACK from SLang_getkey. And because
I don't want any diffrence when compiling with a shared slang library
and our slang I moved as much as necessary to slint.c and then
made the change in slint.c. (SLang_input_pending only moved to be
sure it is using the correct SLang_getkey).
Perhaps I should give up the attempt to make MC compile with a
system installed slang library?!?
* slint.c: New functions SLang_input_pending2 and SLang_getkey2 with
the same functionality without the DEC_8BIT_HACK
* slint.c (getch): use SLang_getkey2/SLang_input_pending2
* file.c (copy_dir_dir): preserve access and modification time of
copied directories
* file.c (panel_operate, real_query_recursive): The logic of
know_what_am_i_doing was wrong i.e. the configuration option
"safeDelete" did the opposite as it pretented. I renamed the variable
and every reference to match the setting of "safeDelete".
When deleting files the yes/no query defaults to yes when "safe Delete"
isn't checked.
The query defaults to no when safeDelete is checked and recursive
recursive deleting of directories gets very difficult.
* myslang.h (initscr): In order to make the -a option work we have
to reset SLtt_Has_Alt_Charset after every call to SLtt_get_terminfo.
Mon Aug 11 12:11:53 1997 Norbert Warmuth <k3190@fh-sw.de>
* acconfig.h, config.h.in: Define 'unix' because some Compiler don't
define it and SLang requires it.
* configure.in, aclocal.m4 (fp_PROG_CC_STDC): new macro to check
whether an option is needed to put the C Compiler into ANSI C mode
(as suggested by GianPiero Puccioni <gip@fox.ino.it>)
* cmd.c (view_other_cmd): Disable/enable keypad when switching
panel's off/on with C-o (this fix is supposed to solve the problem
with cursor keys in an xterm reported by Paul Seelig
<pseelig@goofy.zdv.Uni-Mainz.de>
* main.c (handle_args): Replaced -m option with an error message
because first we can set in in the option's menu and second load_setup
will possibly override a given -m later.
Removed the obsolete -N option.
Added option -a in order to force +, |, - used as line drawing
characters when compiled with slang. Useful for persons not wanting
to modify their terminfo databases (Thanks to GianPiero Puccioni
<gip@fox.ino.it> for this suggestion).
* slint.c (slang_init): Force slang to use +, |, - when the option -a
is given.
* tk/tkscreen.c (x_fill_panel), xv/xvscreen.c (xv_insert_panel_item,
xv_panel_repaint_item): Necessary changes due to Timur's new screen
code i.e. make Tk and XView version compile.
Mon Aug 4 01:20:42 1997 mc@timur.kazan.su (Bakeyev I. Timur)
* panel.h (format_e): add new fields: next - pointer to the next
element in the list; id - pointer to the token identificator.
(WPanel): Current display format placed in the linked
list with header pointed by *format. The similar list used to hold
status info display string in *status_format. fmt_count is now obsolete, deleted.
Added #define for current line display mode, deleted
set_attr() as unneccesary, add extra parametrs to repaint_file()
and format_file(), new function mini_status_format() and variable
highlight_mode added. (See screen.c)
* screen.c (set_attr): deleted, now uses attrset.
(mini_info_brief): absolutly fixed :), deleted. See below.
* Rewritten display format string handling. Array changed to
linked list. Mini status format string also keeps in list. Unified
parse_display_format() and parse_panel_size() to hold both
cases. Other functions (paint_dir(),paint_frame() and other) works
with list.
* (mini_status_format): new function. Currently, each
display format has apropriate default mini status display format.
* (add_permission_string): new function. New feature: if
highligh_mode > 0 permission string displays with highlighted user
access rights.
* (normal_color): new function. New feature: if highligh_mode=2,
then each file type highlights with it's own color.
* (delete_format): new function. Destruct format linked list.
* (string_file_size_brief), (string_dot): new functions. First
gives size for files and "SUB-DIR" for directories. Second simply
adds "dot" to the tokens in format string. (Try
">owner,dot,<group"). Also add "bsize" and "dot" to formats.
* (repaint_file): add extra parameters, color choosen here.
* (format_file): here we actually do output to the screen and make
highlighting.
* (display_mini_info): delete currently unneccesary 3 calls to
parse_display_format per line.
* (parse_display_format()): fix some problems in parsing and
rewrite it to creat linked list.
* color.h, color.c: add 6 new color pairs: input - for input
fields, directory, execute, link, special, device - for type
highlighting.
* info.c, tree.c: change calls to set_attr to attrset.
* main.c (listing_cmd): slightly changed, to parse both user
defined display format and mini status format at the same time
(due other changes).
* main.c: add calls to init_groups and delete_groups for
initialization and destruction list of groups, to which user
belongs, for proper access highlighting.
* setup.c: add highligh_mode to mc.ini.
* util.h, utilunix.c: add functions init_groups, delete_groups,
get_user_rights to proper detection user access
rights. get_user_rights returns 0, if accessable on user level, 1
- on group, 2 - as other.
Tue Aug 5 11:33:23 1997 Alex Tkachenko <alex@bcs.zp.ua>
* configure.in, vfs/local.c: autodetection of statlstat() added
* slang/sldisply.c: TIOCGWINSIZ ifdef'ed to exclude window
resize on SCO (there is no struct winsize defined). Maybe someone
could explain, why they have it defined in termio.h, but only
for _IBCS2 define; and TIOCGWINSIZ defined unconditionally?
* src/cons.hanler.c, slang/sldisply.c: little cosmetic changes
to remove compiler warnings
Tue Aug 5 08:48:21 1997 Fernando Alegre <alegre@debian.org>
* Debian viewer now handles both pre and post tar-1.12 formats
Mon Aug 4 18:27:43 1997 T.E. Dickey <dickey@clark.net>
* change declaration of keyok() to 'int' rather than 'void'.
* configure.in: add test for 'resizeterm()' and 'keyok()' (I did
test builds against ncurses 4.1, 4.0, and 1.9.9e).
Btw, I tested resizing on SunOS 4.1, with both ncurses and slang.
Your application handles a few resizing events before getting hung
(this is not related to the libraries - perhaps you should
investigate it further).
* Makefile.in: remove a couple of items from the distclean rule
that don't correspond to generated files.
* resize (supported in NCURSES 4.0)
* mouse (supported in NCURSES since 1.9.6, but not compatible with MC
-- the simplest solution is to turn off the mouse code in NCURSES so
that MC can do what it wants. I've constructed a patch that will do
this - the function will be in the next release of NCURSES; it was a
minor item on my list, so I did it this week to get MC working).
* some configure nits (if ncurses is installed as curses, your script
does the wrong thing).
* vt100-style codes for F1-F4 (you'll need these for the XFree86 xterm)
* add some stuff to the "make distclean" rule, so it _is_ clean.
(Otherwise I waste time making the patch).
* initialized a variable in menu.c (your program dumped core while I
was testing the mouse events).
Mon Aug 4 18:24:25 1997 Alexander Dong (ado@software-ag.de)
* edit/edit.c, editcmd.c: changes for handling ^M.
* nt/config.h: updates
* slang/myslang.h: some constants that are used by the Windows and
OS/2 ports are here.
* nt/utilnt.c: New way of executing programs. Use _P_NOWAIT in
the spawn invocation for win16 and win32 applications.
(unixlike_canonicalize_pathname): Do manual canonicalizing needed
for some VFS fucntions.
Mon Aug 4 17:48:39 1997 Norbert Warmuth <k3190@fh-sw.de>
* configure.in: My last patch wasn't complete. I forgot to delete a
few lines in order to make it work the way I want.
* slang/Makefile.in: Removed a few defines which are no longer needed.
* slang/sltermin.c: Renamed SLtt_try_termcap to SLtt_Try_Termcap within
Ching Hui fixes for AIX and OSF/1 (the new slang source had this
change).
* cmd.c: Don't include edit/edit.h because it defines open to mc_open
but mmap remains mmap. This broke the compare directories command
(thorough compare).
* cons.saver.h: When HAVE_X is defined replace all the console-stuff
with no-ops. I think the TK and XView version don't need to save and
restore consoles.
* main.c (init_menu): In the menues use Above/Below instead of Left/
Right when the panels are horizontally split (only non X version).
Made init_menu and done_menu non-static because they are used in
layout.c.
* layout.c (layout_change): Make a new menubar in case the vertical/
horizontal split changed.
* main.c (sigchld_handler_no_subshell): Body of function commented out
for XView and TK version.
* main.c (main): Moved OS_Setup before xtoolkit_init to avoid using of
mc_home == 0 (mc_home is set in OS_Setup).
* myslang.h: A few definitions were wrong causing keys not to work.
* screen.c (start_search), tree.c (start_search): The filename search
(C-s, M-s) didn't wrap around when hitting C-s again and the panel's
last filename and one more file matched the search string.
* screen.c (panel_callback): Always define the label for the F1 key
on WIDGET_INIT and WIDGET_FOCUS (with one panel in tree mode only the
help for the directory tree was displayed furthermore).
* view.c (view_callback): When v was renamed to i (because the
parameter v was hidden by a local variable) one location was forgotton
to change.
* tk/Makefile.in, xv/Makefile.in: Don't link with cons.saver.o.
Re-arranged a few object files in order to compile the TK and XView
version without the console save/restore stuff.
Thu Jul 31 12:57:01 1997 Norbert Warmuth <k3190@fh-sw.de>
* slang/sltermin.c: Put Ching Hui's AIX and OSF/1 workarounds into
the code again again.
* boxes.c (tree): Add a buttonbar to the tree-box in order to
make it possible to redefine the function keys in the tree-widget
* main.c (tree_box): Change to the selected directory as described
in the online help.
* tree.c (tree_keymap): Activated the C-r key for the tree box
(with a panel in tree mode C-r did already something, but with
the tree invoked with Command/Directory tree C-r and all function
keys did not work)
* configure.in: First check for a system installed SLang library,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -