Re: [RFE][PATCH] Allow cd smb://, cd sh://, cd mc:// vfs requests



Hello Dmitry,

On Mon, 2005-02-07 at 16:14 +0300, buc wrote:
> Jindrich Novy wrote:
> >since we can access ftp filesystems either like cd /#ftp: or more
> >intuitively like cd ftp:// it's not a bad idea IMNSHO to add such
> >extensions also for other filesystems. The attached patch implements
> >such an extension and it makes vfs_translate_url() more comprehensive in
> >the way that the aliases are kept in a separate table. strip_password()
> >is modified to take the change in account.
> >
>   As you have "already touched" this part of the code, think about one 
> more feature: replace "/#ftp"-like prefixes to "ftp://"-like on command 
> line substitution (%d, %D,  M-Enter, etc.)
>    In most cases such substitution is used to form an argument of a 
> command, i.e. "rmp -i %D/%F", or "lynx -dump %D" . Currently, only 
> internal "cd" command can eat "/#ftp:" . 
>   An ideal variant is: internal cd can handel both "mc" and "general" 
> form, command line substitution should mostly use "general" form.
> 
>   I have a patch (written some years ago) for "ftp://"; case...

I only wanted to propose a more intuitive way to access various VFSes to
the most of users and to let them use the functionality ASAP. Some
further work to let them make their life with mc more comfortable is
welcome so if you have any pending patches similar to this problem, no
one will be angry if you send them here ;)

Cheers,
Jindrich

-- 
Jindrich Novy <jnovy redhat com>, http://people.redhat.com/jnovy/




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