Pavel Roskin
4107d9a672
Remove mc-gnome.ext, add wrappers.
2002-11-01 21:03:01 +00:00
Pavel Roskin
f7961b614e
* boxes.c (configure_vfs): Ask whether passive connections
...
should be used.
2002-11-01 20:40:19 +00:00
Pavel Roskin
db31e4b3c4
* main.c (main): Use O_TRUNC when opening the file to write the
...
last working directory. Fix segmentation fault when exiting
while on VFS.
* util.c (mc_mkstemps): Use O_TRUNC to open temporary files.
2002-11-01 20:24:07 +00:00
Pavel Roskin
64b97da9b7
Add:
...
When using support for setting the last working directory of mc in the
parent shell, "mc" is now an alias in all shells, not a function.
2002-11-01 20:02:55 +00:00
Pavel Roskin
ed059b4122
Update -P description.
2002-11-01 19:59:46 +00:00
Pavel Roskin
2be7e8d4ea
Remove argument passing, it's not needed for aliases.
2002-11-01 19:48:45 +00:00
Pavel Roskin
d862f8c857
Add wrappers to support setting last directory on exit. Keep all
...
scripts in their original directory, just copy them.
2002-11-01 19:02:42 +00:00
Pavel Roskin
68ace346be
Fix to pass "make distcheck".
2002-11-01 18:21:14 +00:00
Pavel Roskin
83cb1dd047
* configure.in: Don't substitute mc.sh and mc.csh - it's now
...
done ...
* lib/Makefile.am: ... here. Add wrappers for mc to avoid
defining complex shell scripts in functions and aliases.
* lib/mc-wrapper.csh.in: New file - template for the script
that runs mc and changes directory in csh.
* lib/mc-wrapper.sh.in: New file - template for the script
that runs mc and changes directory in sh.
2002-11-01 18:10:20 +00:00
Andrew V. Samoilov
e458d50651
* fish.c: Use name_quote() to quote filenames.
...
(file_store): Close localname on error.
2002-11-01 16:55:02 +00:00
Andrew V. Samoilov
1d5f40892a
* doc/mc.1.in (Keys): Document S-<chr>.
...
* doc/ru/mc.1.in: Likewise.
2002-11-01 15:36:28 +00:00
Pavel Roskin
e88e193c5e
* syntax/diff.syntax: Revert highlighting for trailing spaces
...
on the added lines - it extends the context to the next line.
2002-10-31 21:58:55 +00:00
Pavel Roskin
d8c9fe58f1
* lib/mc.csh.in: Add quoting and check for missing file.
2002-10-31 16:55:57 +00:00
Pavel Roskin
a9ec61a020
Add some protection.
2002-10-31 14:45:25 +00:00
Marco Ciampa
113787439f
Stop using two paragraphs per item in lists. Use .TP instead like in the main manual pages.
2002-10-31 12:39:04 +00:00
Marco Ciampa
e285bb8bba
minor fix
2002-10-31 12:38:10 +00:00
Andrew V. Samoilov
1c8f1cb327
* view.c (normal_search) [HAVE_CHARSET]: Fix segmentation fault
...
on first search. Writting to readonly "" is not good idea.
2002-10-31 11:55:35 +00:00
Andrew V. Samoilov
25739803a8
* view.c (init_growing_view): Mark message for translation.
...
(normal_search) [HAVE_CHARSET]: Convert saved search string to
original codeset if input_dialog() returns empty string.
2002-10-31 11:15:07 +00:00
Pavel Roskin
81297e2a20
Update.
2002-10-31 07:00:53 +00:00
Pavel Roskin
5d46a2d6b7
Done:
...
reimplement "-P" in a safer way (temp file instead of stdout) - possibly
security issues.
2002-10-31 06:54:58 +00:00
Pavel Roskin
af687f67c5
* main.c (probably_finish_program): Eliminate.
...
(handle_args): Use exit code 1 only for errors, 0 for legitimate
options such as "--help".
2002-10-31 06:52:33 +00:00
Pavel Roskin
f1e2462b40
Update description of -P.
2002-10-31 06:44:10 +00:00
Pavel Roskin
c89b240e4f
Update documentation about -P option.
2002-10-31 06:36:53 +00:00
Pavel Roskin
cca4ac1b16
* lib/mc.csh.in: Update to use the new -P option. This script
...
has absolutely no protection against special symbols in
directory names and lacks TMPDIR support.
2002-10-31 06:30:53 +00:00
Pavel Roskin
9b75f6df97
Respect TMPDIR environment variable.
2002-10-31 05:36:54 +00:00
Pavel Roskin
f5bf601c7c
* lib/mc.sh.in: Update to use the new -P option.
2002-10-31 05:26:54 +00:00
Pavel Roskin
33a20a08a1
* configure.in: Displaying the install paths is too problematic
...
to implement properly. Remove this code.
2002-10-31 05:21:20 +00:00
Pavel Roskin
a04dd8754e
* main.c: Option -P takes an argument (output filename) now.
...
(main): Output the last directory to the specified file. Don't
output "." is this information is unavailable.
2002-10-31 04:31:52 +00:00
Pavel Roskin
2c3b0c50b6
* subshell.c (subshell_name_quote): Don't quote numbers and
...
letters if possible and safe.
2002-10-31 04:01:19 +00:00
Pavel Roskin
cc0811a2ff
Update.
2002-10-31 00:10:47 +00:00
Pavel Roskin
b2fd313167
* edit.c: Include charset.h unconditionally, use new conversion
...
functions that don't require ifdefs.
* edit_key_translator.c: Likewise.
* editcmd.c: Likewise.
* editdraw.c: Likewise.
2002-10-30 23:56:49 +00:00
Pavel Roskin
2d3c157e52
* charset.h: Provide new inline functions convert_to_display_c()
...
and convert_from_input_c().
* view.c: Include charset.h unconditionally, use new conversion
functions that don't require ifdefs.
2002-10-30 23:42:21 +00:00
Pavel Roskin
4d20330abc
Reformat.
2002-10-30 23:16:16 +00:00
Pavel Roskin
517243efa0
* charset.h [!HAVE_CHARSET]: Provide dummy macros for
...
convert_to_display and convert_from_input. Eliminate uchar
definition, use unsigned char, adjust dependencies.
* charsets.c (convert_to_display): Tolerate NULL argument.
(convert_from_input): Likewise.
2002-10-30 23:14:26 +00:00
Pavel Roskin
a305ec68f9
Reformat.
2002-10-30 22:48:59 +00:00
Marco Ciampa
36731a8b57
help link marks escaped in (I hope) all the document.
2002-10-30 22:13:45 +00:00
Pavel Roskin
3ee1c3b3f6
* ext.c (exec_extension): Don't create self-destructing scripts
...
for the viewer - remove those scripts manually after calling
view(). This fixes the problem with double F8 in the viewer on
parsed files.
Reported by David Martin <dmartina@excite.com>
2002-10-30 21:38:33 +00:00
Pavel Roskin
0ff23cc6a3
* ext.c (exec_extension): Don't rely on working #! - explicitly
...
run /bin/sh on the temporary script.
2002-10-30 21:22:42 +00:00
Pavel Roskin
04f460d565
* mouse.h: Use definitions for GPM_B_DOWN and GPM_B_UP
...
compatible with gpm-1.20.
Reported by by David Martin <dmartina@excite.com>
2002-10-30 20:52:59 +00:00
Andrew V. Samoilov
83e7cf2df0
Small fixes
2002-10-30 12:15:34 +00:00
Pavel Roskin
3c2bf549b9
Test for the documentation.
2002-10-30 07:37:53 +00:00
Pavel Roskin
3d4ed1ff8d
Don't use "\m" - it causes a warning.
2002-10-30 07:29:35 +00:00
Pavel Roskin
ff6fda3df1
Minor fixes - missing dot, using Tab consistently.
2002-10-30 07:19:15 +00:00
Pavel Roskin
7d363c4026
Stop using two paragraphs per item in lists. Use .TP instead.
2002-10-30 03:06:02 +00:00
Pavel Roskin
38e3189d0a
* lib/mc.ext.in: Rename TROFFASCII to MAN_FLAGS.
...
* configure.in: Likewise. Add "-c" (disable ANSI color) to
MAN_FLAGS if supported.
2002-10-30 02:37:48 +00:00
Pavel Roskin
4189a99b76
Update "Listing mode".
2002-10-30 01:44:50 +00:00
Pavel Roskin
eea1f4a0e3
Update "Listing Mode".
2002-10-30 01:31:37 +00:00
Pavel Roskin
bbaaa1427e
Update "Listing mode" section.
2002-10-30 01:21:36 +00:00
Pavel Roskin
a13a588ba8
Make it clear that the commas are not parts of the keywords for listing
...
mode definition. Don't use commas in the examples. Move "mark" closer
to "type" - it's not used for purely layout purposes.
2002-10-30 00:59:25 +00:00
Pavel Roskin
85f55fe291
* panel.h: Use spaces, not commas, in the format - they are more
...
readable and easier to document.
* screen.c (panel_format): Likewise.
(mini_status_format): Likewise.
2002-10-30 00:56:08 +00:00