Commit Graph

4859 Commits

Author SHA1 Message Date
Pavel Roskin
2797997f9c * lib/edit.indent.rc: Remove all options for indent and add a
comment explaining where those options should be.
2002-11-06 20:27:06 +00:00
Pavel Roskin
27244da8cc s/shue/sure/ 2002-11-06 20:10:21 +00:00
Andrew V. Samoilov
a26a1e1c0d * vfs.c (mc_get_current_wd): Make shue returned string is null terminated. 2002-11-06 18:48:36 +00:00
Andrew V. Samoilov
4e7527980a * vfs.c (mc_get_current_wd): Make shue returned string is null terminated. 2002-11-06 18:41:34 +00:00
Pavel Roskin
c626f5fdcc * editcmd.c (edit_save_file): Restore ownership before access
mode, not after.  Otherwise suid bit is lost.
Reported by Nerijus Baliunas <nerijus@users.sourceforge.net>
2002-11-06 18:09:40 +00:00
Marco Ciampa
706e722bdd Chosmetics changes to reflect /doc/mc.1.in, some .TP added in Listing Mode... and Keys section of the manual. 2002-11-06 11:51:03 +00:00
Marco Ciampa
ae10346f7b Same chosmetic changes (.TP) like in last version, just in "Listing Mode..." section of the manual. 2002-11-06 11:46:29 +00:00
Marco Ciampa
6977050d66 updated the .TP cleanup for coherency in the key description pages. 2002-11-06 10:49:11 +00:00
Marco Ciampa
e41664e68e Used .TP for coherency all over the key description pages. 2002-11-06 09:03:47 +00:00
Pavel Roskin
7f250dafa3 * key_nt.c: Don't use ERR - it conflicts with sys/ucontext.h
in glibc 2.1.3.
2002-11-06 06:09:21 +00:00
Pavel Roskin
df9b2f4c5c * myslang.h: Don't define ERR - it conflicts with sys/ucontext.h
in glibc 2.1.3.
* key.c: Use -1, not ERR.
2002-11-06 06:08:11 +00:00
Pavel Roskin
076cf8f9b5 Write -1 instead of ERR. ERR is going to be eliminated from
the sources due to namespace conflict.  Typo fix.
2002-11-06 03:37:25 +00:00
Pavel Roskin
f218f0224e * lib/mc-wrapper.csh.in: Remove /bin/csh at the beginning - this
script is not meant to be executed by the kernel.  This also
eliminates dependency of the RPM package on csh.
* lib/mc-wrapper.sh.in: Remove /bin/sh at the beginning.
2002-11-05 18:46:10 +00:00
Marco Ciampa
21b5823b5d Reset changes made in Makefile.am for mistake. 2002-11-05 18:42:57 +00:00
Pavel Roskin
5e2585d1e8 Run doctest. Add visual feedback. 2002-11-05 18:12:48 +00:00
Pavel Roskin
c3ccf9620b Comment fixes. 2002-11-05 18:05:31 +00:00
Pavel Roskin
da95c74579 Actually report errors. Don't leave empty files. 2002-11-05 18:01:58 +00:00
Marco Ciampa
f203f0208e fixed creation mc-wrapper.csh & mc-wrapper.sh 2002-11-05 17:05:28 +00:00
Marco Ciampa
513941ad49 mc.sh & mc.csh creation fixed... 2002-11-05 16:53:16 +00:00
David Martin
de00b8195e Update. 2002-11-05 15:58:30 +00:00
Andrew V. Samoilov
a65fed0239 Fix 2 translations. 2002-11-05 13:15:54 +00:00
Marco Ciampa
daa108924d Working dir option update. 2002-11-04 15:49:58 +00:00
Pavel Roskin
b04aa5febc Restore description of "no_proxy".
Fix description of FTP passive mode.
2002-11-04 13:24:26 +00:00
Andrew V. Samoilov
c84ff58e4e (configure_vfs): Simplify #if logic.
(cd_dialog): Remove unneeded code.
(vfs_smb_get_authinfo): Use enum instead of static variables.
2002-11-04 12:33:15 +00:00
Andrew V. Samoilov
963b48e2d3 Handle --with ext2undel 2002-11-04 07:52:26 +00:00
Pavel Roskin
3f40a2b274 * vfs.c: Remove unused code.
* vfs.h: Define vfs_uid and vfs_gid as 0, they never change.
2002-11-03 10:24:45 +00:00
Pavel Roskin
316993bf83 Remove dead code. 2002-11-03 09:27:08 +00:00
Pavel Roskin
8bd8b04f57 Remove:
Consider applying a patch from PLD to make M-o propagate the current
directory to the other panel.
2002-11-03 09:02:09 +00:00
Pavel Roskin
cc47c9b2b0 Update. 2002-11-02 18:05:07 +00:00
Pavel Roskin
cb9a89f5d5 Rewrite ftpfs documentation. Describe "Virtual File System Setting" dialog
in its present form.
2002-11-02 17:50:58 +00:00
Pavel Roskin
b684aa93dc Comment change. 2002-11-02 16:58:18 +00:00
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