Pavel Roskin
dfdb879eb1
* main.c (argument_table): Improve help for "+number" - it has
...
to be re-translated anyway.
2002-09-19 06:43:06 +00:00
Pavel Roskin
d12a6c2eb6
* main.c (argument_table): Add missing descriptions.
2002-09-19 06:29:25 +00:00
Pavel Roskin
7d2f7d94dd
* main.c [NATIVE_WIN32]: Remove -S option, it's useless.
2002-09-19 06:16:42 +00:00
Pavel Roskin
331a4c7bab
* main.c (print_mc_usage): Use poptPrintHelp() instead of
...
manually formatted help text. Adjust callers to pass popt
context.
2002-09-19 06:03:24 +00:00
Pavel Roskin
c3e1e0e19d
* cmd.c (other_symlink_cmd): Remove, this function is
...
undocumented and poorly implemented.
* main.c: Remove call to other_symlink_cmd() on C-x C-l.
2002-09-18 22:30:48 +00:00
Pavel Roskin
eeea579c19
* main.c: Remove advanced_chfns variable. Adjust all
...
dependencies.
2002-09-13 16:33:18 +00:00
Andrew V. Samoilov
40c35f02c5
* main.c (process_args) [WITH_SMBFS]: Call smbfs_set_debugf()
...
for "-l" option.
2002-09-13 10:04:21 +00:00
Pavel Roskin
05af9f14c7
* main.c: Fully remove obsolete "-m" option.
2002-09-13 06:42:03 +00:00
Andrew V. Samoilov
b7cae0c6e2
* main.c [WITH_SMBFS]: Include ../vfs/smbfs.h.
...
(argument_table) [WITH_SMBFS]: Add -D, --debuglevel option for
smbfs debug level.
(process_args) [WITH_SMBFS]: Handle new -D option.
(print_mc_usage) [WITH_SMBFS]: Describe -D, --debuglevel option.
2002-09-11 10:05:24 +00:00
Pavel Roskin
485b40ac2a
* utilunix.c (mc_tmpdir): New function that returns temporary
...
directory for mc.
* util.c (mc_mkstemps): Use mc_tmpdir().
* main.c (main): Call mc_tmpdir().
2002-09-11 04:58:24 +00:00
Pavel Roskin
ec1b1f9614
Globally replace OS2_NT and _OS_NT with WIN32_NATIVE.
2002-09-10 22:04:11 +00:00
Pavel Roskin
9af6bedb04
* main.c (load_prompt): Don't shorten the prompt if COLS is 8 or
...
less.
2002-09-10 21:18:11 +00:00
Pavel Roskin
ef9a43a7a3
* tty.h [!HAVE_SLANG]: Remove all slang_* definitions.
...
* main.c (main) [!HAVE_SLANG]: Don't call slang_shutdown().
* myslang.h: Remove slang_done_screen(), it's unused.
2002-09-08 16:22:54 +00:00
Pavel Roskin
5d2757fb8d
* key.c (get_event): Check gpm_fd only if gpm is actually used.
...
* layout.c (done_screen): Move disable_mouse() call ...
* main.c (done_mc): ... here.
2002-09-08 15:50:02 +00:00
Pavel Roskin
87da6b9f42
* main.c (load_hint): Don't hardcode copyright years. Use a
...
translated message.
2002-09-05 16:36:43 +00:00
Pavel Roskin
01e2780615
* main.c (midnight_callback): Avoid calling the default DLG_DRAW
...
handler. From David Martin <dmartina@excite.com>
2002-09-05 06:59:17 +00:00
Pavel Roskin
206fdf6f1d
* global.h: Eliminate xgetch, update all dependencies.
2002-09-03 22:23:27 +00:00
Pavel Roskin
556f733f12
* boxes.c: Fix remaining old-style calls to create_dlg().
...
* complete.c: Likewise.
* main.c: Likewise.
* view.c: Likewise.
2002-09-03 20:19:22 +00:00
Pavel Roskin
66f37c0af4
* main.c (do_nc): Make midnight_colors[] local to do_nc().
...
Initialize normal color - it's used by the tree.
* boxes.c (tree_box): Use standard dialog_colors.
* tree.c: Use NORMALC for normal entries.
2002-08-31 05:50:06 +00:00
Pavel Roskin
2adae11aa4
* main.c (init_xterm_support): Force xterm-style screen saving
...
and no mouse on "cygwin" terminal.
2002-08-26 15:26:38 +00:00
Pavel Roskin
8aa61fffa3
* dlg.h (struct Dlg_head): Fold fields "raw" and "has_menubar"
...
into one field "flags". Adjust all dependencies. Add new flag
DLG_COMPACT.
* wtools.c (dialog_repaint): Draw frame without spaces if
DLG_COMPACT flag is set.
* complete.c (complete_engine): Set DLG_COMPACT.
(query_callback): Use common_dialog_repaint().
2002-08-22 15:34:25 +00:00
Pavel Roskin
608d74abda
* menu.c (create_menu): Get help node as an argument.
...
* main.c: Use new create_menu() interface.
2002-08-20 21:30:06 +00:00
Pavel Roskin
2c8f2419e5
* main.c (handle_args): Set POPT_CONTEXT_NO_EXEC flag for
...
poptGetContext().
* popt.c: Call abort() in execCommand() - we should not execute
anything here.
2002-08-20 00:01:33 +00:00
Pavel Roskin
342b4bbd0f
* cmd.c (fishlink_cmd): Implement user interface for FiSH.
...
* main.c: Add it to the menu.
2002-08-19 06:06:09 +00:00
Pavel Roskin
0d89dec899
* main.c: Remove extremely unsafe and poorly designed support
...
for /tmp/mc.$PID.control file.
* util.c (my_putenv): Remove, it's unused now.
2002-08-18 22:31:49 +00:00
Pavel Roskin
69f67049fa
* layout.c (init_curses) [!HAVE_SLANG]: Add support for
...
stickchars - fill acs_map[] with ASCII approximations.
* main.c [!HAVE_SLANG]: Enable --stickchars (-a) for ncurses.
2002-08-18 16:34:29 +00:00
Pavel Roskin
f0dbdeb72e
* subshell.c (read_subshell_prompt): Remove argument "how", it's
...
never set to VISIBLY. Adjust all dependencies. Eliminate hack
with "clear_now" - it causes invalid memory access and hides the
real problem.
* util.c (strip_ctrl_codes): Fix possible invalid memory access
if the escape sequence ends unexpectedly.
2002-08-15 06:53:44 +00:00
Pavel Roskin
6d2f235053
* main.c (do_execute) [!HAVE_SUBSHELL_SUPPORT]: Compile fix.
2002-08-15 01:36:09 +00:00
Pavel Roskin
b7cdfa9c93
* main.c (sigchld_handler_no_subshell) [linux]: SIGTSTP is
...
always defined on Linux.
* subshell.c (sigchld_handler): No need to use SIGTSTP
explicitly when we really care about SIGCONT.
2002-08-09 23:36:06 +00:00
Pavel Roskin
e2a37d3809
* charsets.c: Unconditionally enable finalization code that was
...
only used with HAVE_MAD.
* color.c: Likewise.
* color.h: Likewise.
* key.c: Likewise.
* main.c: Likewise.
* slint.c: Likewise.
* subshell.c (exit_subshell): Free subshell_prompt.
2002-08-01 20:31:52 +00:00
Pavel Roskin
105cb58726
* mad.c: Remove.
...
* mad.h: Likewise.
* Makefile.am (SRCS): Remove mad.c and mad.h.
* cmd.c: Remove references to MAD.
* main.c: Likewise.
* dlg.c: Use inline, not INLINE.
* hotlist.c: Likewise.
* menu.c: Likewise.
* global.h: Don't include mad.h.
2002-08-01 19:40:43 +00:00
Pavel Roskin
17ceeead44
* main.c (do_execute): Add newline after "Press any key to
...
continue".
2002-07-29 19:30:41 +00:00
Pavel Roskin
6bdeafba4d
* dlg.c: Eliminate all useless x_* functions.
...
* dlg.h: Likewise.
* panel.h: Likewise.
* textconf.h: Likewise.
* view.c: Likewise.
* view.h: Likewise.
* widget.c: Likewise.
* main.c: Remove panel_update_marks(). Move try_to_select() ...
* screen.c: ... here. Eliminate x_* functions.
* main.h: Remove panel_update_marks().
2002-07-19 22:16:24 +00:00
Pavel Roskin
17671c4de9
* main.c (handle_args): Don't call mc_get_current_wd().
2002-07-19 19:08:26 +00:00
Pavel Roskin
ead99974fb
* main.c (directory_history_list): Report error if cannot change
...
directory.
2002-07-19 05:03:44 +00:00
Pavel Roskin
bb34f88152
* main.c (do_execute): Don't ask to press any key when the shell
...
is running a command - the user has already pressed Ctrl-O.
2002-07-16 06:00:54 +00:00
Pavel Roskin
a2f136fdc3
s/ommited/omitted/
2002-07-14 06:36:07 +00:00
Pavel Roskin
74288460f5
* file.c (do_transform_source): Cast the argument to functions
...
for character classification to unsigned int.
* main.c (handle_args): Likewise.
* util.c (size_trunc_sep): Likewise.
(skip_numbers): Likewise.
2002-07-03 19:47:40 +00:00
Pavel Roskin
a83d080370
* mad.[ch] [__GNUC__] (mad_strconcat): Use macro varargs.
...
(mad_strdup_printf): Likewise.
(mad_strdup_vprintf): Likewise.
* main.c [HAVE_MAD] (main): Release this_dir and other_dir.
2002-07-03 15:58:54 +00:00
Pavel Roskin
bbbb6eb183
* main.c (stop_dialogs): New function to stop all dialogs.
...
(quit_cmd_internal): Use stop_dialogs() instead of stopping
midnight_dlg only. This fixes exit from the shell invoked from
the internal viewer or editor.
2002-07-03 06:19:40 +00:00
Andrew V. Samoilov
f2ea65904e
* main.c [HAVE_MAD && !_OS_NT] (main): G_free mc_home.
2002-05-30 13:35:09 +00:00
Andrew V. Samoilov
5a255dd2ea
* main.c [!WITH_MCFS] (PanelMenu): Eliminate mcfs related entry.
...
(RightMenu): Likewise.
* textconf.c (features): Likewise.
* cmd.c (netlink_cmd) [!WITH_MCFS]: Eliminate.
2002-04-19 07:21:09 +00:00
Andrew V. Samoilov
8766ce3b02
* cmd.[ch] [USE_INTERNAL_EDIT] (edit_syntax_cmd:) New dialog
...
to edit Syntax Highlighting definitions file.
* main.c (CmdMenu) [USE_INTERNAL_EDIT]: Add 'Syntax file edit'
entry.
(process_args): Print mc's library directory to stdout.
2002-03-25 07:46:18 +00:00
Andrew V. Samoilov
fae9735bb9
* textconf.c (version): Write to stdout.
...
* main.c (print_mc_usage): Add "stream" parameter to specify
file stream.
(process_args): Use print_mc_usage() with stdout as stream.
(handle_args): Use print_mc_usage() with stderr as stream.
(print_color_usage): Write to stdout.
2002-03-20 11:28:08 +00:00
Pavel Roskin
8c9fc66db0
* background.c (background_attention): Cast pointer to long
...
instead of int because it's unsafe of 64-bit systems.
* main.c (init_xterm_support): Likewise.
2002-02-21 01:49:29 +00:00
Andrew V. Samoilov
455e64673e
* main.c (update_one_panel_widget): Call ftpfs_flushdir().
2002-02-07 19:24:44 +00:00
Pavel Roskin
93fd1572a5
* main.c: Include "drive.h", not <drive.h>, do it after panel.h.
...
Use _OS_NT as the condition for including drive.h.
* screen.c: Use _OS_NT as the condition for including drive.h.
2002-01-22 00:30:51 +00:00
Pavel Roskin
3a9692b680
* global.h: Provide fallbacks for getuid(), getgid(), geteuid()
...
and getegid().
* fs.h: Fully trust HAVE_DIRENT_H.
* complete.c: Don't include dirent.h directly, fs.h takes care
of it.
* file.c: Likewise.
* filegui.c: Likewise.
* main.c: Likewise.
* treestore.c: Likewise.
2002-01-21 20:47:05 +00:00
Pavel Roskin
73ed832576
* cmd.c: Remove OS/2 specific code.
...
* file.c: Likewise.
* main.c: Likewise.
2002-01-17 07:23:50 +00:00
Pavel Roskin
03f801b0f2
* main.c: Remove unused toggle_* functions.
2002-01-17 06:56:22 +00:00