patches by Rostislav Beneš: mc-29-vfs

add support for filesystem, that use others encodings than mc (vfs). Now can be
encoding set only manually, but automatic detection is possible. Filename is
converted in mc_readdir and other function translate it back by vfs_translate
added menu etries encodnig in left and rigth menu (localization will be neede)
modified subshell.c to put subshell correct working directoy,
modified ext.c and execute.c to translate filename before running command
there could be one problem, vfs_translate_path does not use something like
path_magic function
This commit is contained in:
Slava Zanko 2008-12-29 01:54:37 +02:00
parent 1eaadfae0b
commit 8ffa3beeb8

View File

@ -812,7 +812,6 @@ static menu_entry LeftMenu[] = {
{' ', N_("&Filter..."), NULL_HOTKEY, filter_cmd},
{' ', "",NULL_HOTKEY, 0},
{' ', N_("&Encoding..."), NULL_HOTKEY, encoding_cmd},
#ifdef USE_NETCODE
{' ', "", NULL_HOTKEY, 0},
#ifdef WITH_MCFS
@ -839,7 +838,6 @@ static menu_entry RightMenu[] = {
{' ', N_("&Filter..."), NULL_HOTKEY, filter_cmd},
{' ', "",NULL_HOTKEY, 0},
{' ', N_("&Encoding..."), NULL_HOTKEY, encoding_cmd},
#ifdef USE_NETCODE
{' ', "", NULL_HOTKEY, 0},
#ifdef WITH_MCFS