Patch for recode file names in panel



Hello All!
I want to offer include patch, which allow users in panel
choose code page for display file names. This patch was tested by me
under FreeBSD(4.9 and 5.2) and mc-4.6.0. After applying this patch users
can choose preffered code page for FTP, SMB or file panel(CTRL+t). Also this
patch add 2 feature: add handler for extension .xnet and .xsmb.
For use this feature, need create file(for example MY_NET.xsmb) with this content:
RANGE=192.168.62.97-110
USER=GUEST
and when you press enter on this file, in file panel you can see available machines(this feature required installed program nbtscan).
For second feature need create file MY_NET.xnet with content:
ftp: unix2 unix2.asu.tusur.ru
smb: BIV 192.168.62.110
In this file type support extensions smb, ftp and sh.

You can download patch http://www.baf.ru/files/unix/freebsd/misc/mc/mc-4.6.0-recode.patch.310304
In this patch i do some modifications(i have changed key combination from Alt+x to CTRL+t, because some windows SSH clients catch it as close SSH session). If you want to see original patch, it can be fount there http://ccphys.nsu.ru/~avpak/mc/mc-4.6.0-recode.patch.022603.gz

I'm not author of original patch, i just change key combination. 

Thanks for your attention,

With best regards, Alex.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]