Pavel Roskin
3d8a56ee9c
* edit.h: Remove all references to O_TEXT, USE_O_TEXT and
...
MY_O_TEXT.
2002-09-23 07:00:30 +00:00
Pavel Roskin
c785d4195b
* global.h: Move fcntl.h inclusion here. Define O_BINARY.
...
* mountlist.c: Remove more includes already handled in global.h.
2002-09-23 06:43:22 +00:00
Pavel Roskin
572ea6be4d
Add: real_input_dialog_help() shouldn't use translated strings in the section
...
names in .mc/history.
2002-09-23 06:01:04 +00:00
Pavel Roskin
389f053c47
* man2hlp.c (handle_alt_font): Implement .BR, .IR, .RB, .RI, .BI
...
and .IB macros.
(handle_command): Call handle_alt_font().
2002-09-22 19:19:45 +00:00
Pavel Roskin
8fad60a1c6
* man2hlp.c: Take text width from help.h, not from the command
...
line.
* help.h: Declare HELP_TEXT_WIDTH.
* help.c: Use HELP_TEXT_WIDTH.
2002-09-22 17:03:28 +00:00
Pavel Roskin
f1cec8dc2d
* help.h: Replace CHAR_BOLD_ON, CHAR_BOLD_OFF and CHAR_ITALIC_ON
...
with CHAR_FONT_BOLD, CHAR_FONT_NORMAL and CHAR_FONT_ITALIC
respectively for better consistency.
2002-09-22 16:40:33 +00:00
Pavel Roskin
beb47e96db
More subshell-related items.
2002-09-22 08:07:23 +00:00
Pavel Roskin
bbf6cdb792
* util.c (is_printable): Disable "Full 8 bits output" on xterm,
...
fall back to "ISO 8859-1" due to problems with gnome-terminal,
which identifies itself as xterm.
Reported by Miven Dooligan <dooligan@intergate.ca>
2002-09-22 07:40:56 +00:00
Pavel Roskin
94fa3bbef9
Update.
2002-09-22 07:25:41 +00:00
Pavel Roskin
b5700cf6f8
* configure.in: Remove support for HSC proxy - it's obsolete.
...
Remove all references to HSC proxy everywhere.
2002-09-22 06:14:16 +00:00
Pavel Roskin
774b97e94c
* mouse.h: Put return codes from the mouse callback to an enum.
...
Remove MOU_ENDLOOP and MOU_LOCK - they are interpreted like
MOU_NORMAL. Adjust all dependencies.
* dlg.c: Use MOU_NORMAL instead of 0 for mouse_status.
2002-09-22 05:49:17 +00:00
Pavel Roskin
4085591bd0
* main.c (process_args): Print only data directory and nothing
...
else for the "-f" argument.
(argument_table): Rename --libdir to --datadir, adjust its
description.
2002-09-22 01:59:37 +00:00
Pavel Roskin
6979a9fddf
* Makefile.am: Rename LIBDIR to DATADIR, since it refers to
...
pkgdatadir now. Install cons.saver to pkglibdir, pass it to the
compiler as LIBDIR.
* cons.handler.c (handle_console): Use LIBDIR.
* main.c (OS_Setup): Use DATADIR instead of LIBDIR. Rename
MC_LIBDIR to MC_DATADIR.
2002-09-22 00:13:32 +00:00
Pavel Roskin
748e028d05
* */Makefile.am: Replace mclibdir with pkgdatadir to use "share"
...
directory for architecture-independent files.
2002-09-21 23:49:52 +00:00
Pavel Roskin
7fcd9a6517
* panelize,c: Remove unused variable panelize_title.
2002-09-21 06:20:25 +00:00
Pavel Roskin
28ee4bd6f0
* view.c (view_event): Add mouse wheel support.
2002-09-21 05:46:19 +00:00
Pavel Roskin
dad4215705
* mouse.h: Define events for the mouse wheel.
...
* key.c (xmouse_get_event): Recognize mouse wheel events.
2002-09-21 00:11:59 +00:00
Pavel Roskin
b295faf096
* command.c: (command_insert): New function - insert quoted
...
text into the command line.
* main.c: Use command_insert() instead of stuff(). This ensures
that the names in the command line are quoted.
Reported by Arpad Biro <biro_arpad@yahoo.com>
2002-09-20 19:59:28 +00:00
Pavel Roskin
f6f02a0295
* command.c: Make `command' a standard WInput widget, just
...
change its callback. Eliminate input_w(). Adjust all
dependencies.
* widget.c (input_callback): Remove static attribute.
2002-09-20 19:36:55 +00:00
Pavel Roskin
e6003e328f
Even better "+number" help - don't depend on the length of _("+number")
2002-09-19 06:52:41 +00:00
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
2b197e4f88
* poptint.h: Use i18n.h instead of most own replacement macros.
2002-09-19 06:00:40 +00:00
Pavel Roskin
aba44bf4b2
No need to document C-x C-l, it's dead :-)
2002-09-18 22:34:05 +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
9aa16b2c1a
* wtools.c (real_input_dialog_help): Trim spaces from the label
...
text. Align label with the input field.
2002-09-16 23:28:09 +00:00
Pavel Roskin
2a2df991d0
* cmd.c (do_link): Avoid using g_strconcat() on translatable
...
strings.
(other_symlink_cmd): Likewise.
2002-09-16 23:09:34 +00:00
Pavel Roskin
eeea579c19
* main.c: Remove advanced_chfns variable. Adjust all
...
dependencies.
2002-09-13 16:33:18 +00:00
Pavel Roskin
c740e77171
* option.c: Make "Configure options" dialog more flexible,
...
readjust layout. Remove "advanced chown" option - it's unused.
2002-09-13 16:29:32 +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
547567ae47
* subshell.c: Move tcsh_fifo to the file scope. Use mc_tmpdir()
...
to calculate tcsh_fifo.
2002-09-11 05:23:18 +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
8568fc50d9
* Make-alone.am: Get rid of all standalone code, it has been
...
unmaintained for years.
2002-09-10 21:48:49 +00:00
Pavel Roskin
08440f7e8d
* util.c (trim): Handle short strings even better - don't use
...
dots unless necessary.
2002-09-10 21:39:07 +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
1314fc2a07
* screen.c (show_dir): Don't call trim() with negative length.
...
* util.c (trim): Better handle short length. Make sure that the
destination is always 0-terminated.
2002-09-10 19:58:33 +00:00
Andrew V. Samoilov
aec8a76263
* screen.c (string_file_name): Fix possible off-by-one
...
buffer overflow.
(string_file_size): Avoid unsafe strcpy().
(string_file_size_brief): Likewise. Eliminate buffer array.
2002-09-09 07:28:38 +00:00
Pavel Roskin
6d8e2e73e1
* color.c: Move hascolors variable into init_colors(). Adjust
...
all dependencies.
2002-09-08 17:30:52 +00:00
Pavel Roskin
a480b09b7c
* myslang.h: Remove definition of initscr(), it's unused.
2002-09-08 16:49:41 +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
d2c8d076f9
* view.c (init_growing_view): Avoid reporting the same error
...
twice. Reported by Moritz Barsnick <moritz@barsnick.net>
2002-09-08 15:22:28 +00:00
Pavel Roskin
9deca156f0
* textconf.c: Don't use SLANG_TERMINFO, which is unused anywhere
...
else. Assume that terminfo is used if USE_TERMCAP is undefined.
2002-09-07 07:36:59 +00:00
Pavel Roskin
7d723361b2
* subshell.c (subshell_name_quote): Return NULL if we are out of
...
memory. Use "echo -e" with zsh (Debian bug #150996 ).
(do_subshell_chdir): Be prepared to get NULL from
subshell_name_quote().
2002-09-07 00:27:53 +00:00
Pavel Roskin
53982cb546
* profile.c: Remove unused code. Eliminate global variables.
...
(is_loaded): Rename to find_loaded(). return matching profile.
Adjust all dependencies.
2002-09-06 20:25:15 +00:00