Re: [bug #18042] cannot specify port number in shell link
- From: Pavel Tsekov <ptsekov gmx net>
- To: Leonard den Ottolander <leonard den ottolander nl>
- Cc: "Andrew V. Samoilov" <samoilov email zp ua>, "Andrew V. Samoilov" <INVALID NOREPLY gnu org>, mc-devel gnome org
- Subject: Re: [bug #18042] cannot specify port number in shell link
- Date: Wed, 1 Nov 2006 13:20:48 +0200 (EET)
On Wed, 1 Nov 2006, Leonard den Ottolander wrote:
Hello Andrew,
On Mon, 2006-10-30 at 12:04 +0000, Andrew V. Samoilov wrote:
Follow-up Comment #3, bug #18042 (project mc):
Do I understand correctly that a port number *can* be combined with C _or_
r?
No. Look at utilvfs.c:vfs_split_url().
No one syntax change. Only undocumented behaviour changed.
It is possible to use /#sh:user host:6789 right now.
Maybe we should introduce a syntax change, because at least the
combination of a port number and C are very welcome.
What about a solution whereby the user can add any of these options, in
any particular order, all separated by colons? Would that be a lot of
work to implement?
And fish uses port&1 as 'C' option and port&2 as 'r'.
Possible solution is to use 0x10000<<1 and 0x10000<<2 instead of 1 and 2.
That would probably get rid of the need for an extra parameter to
separate the port number from other options.
The port clearly belongs to the url, as do the hostname, the username, the
password and the location. Options are hardly candidates to become part of
the url. IMO, it would be better if MC pops up an url specific dialog for
each vfs if necessary so that the user could finer tune the connection. I
think this would also help to add support for per connection settings i.e.
use passive ftp for one connection and active for another. Instead of
simple hacks we'd better go with well designed features.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]