[Adam Purkrt <adampurkrt at yahoo.com>] Midnight Commander - FTP vfs improvement

Miguel de Icaza miguel at ximian.com
Thu Jun 28 19:13:57 UTC 2001


------- Start of forwarded message -------
Message-ID: <3B3095F1.A5A75354 at yahoo.com>
Date: Wed, 20 Jun 2001 14:24:17 +0200
From: Adam Purkrt <adampurkrt at yahoo.com>
MIME-Version: 1.0
To: miguel at roxanne.nuclecu.unam.mx
Subject: Midnight Commander - FTP vfs improvement
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 7bit

Greetings,
sorry to bother you, but I would like to suggest the following
improvement in vfs/utilvfs.c (the patch is against mc-4.5.52)

*** utilvfs.c.orig      Sun Aug 27 19:38:18 2000
--- utilvfs.c   Fri May  4 16:38:54 2001
***************
*** 89,95 ****
      }

      /* search for any possible user */
!     at    = strchr (pcopy, '@');

      /* We have a username */
      if (at){
--- 89,95 ----
      }

      /* search for any possible user */
!     at    = strrchr (pcopy, '@');

      /* We have a username */
      if (at){

now it is possible to log in with username/password containing a '@'
char (e.g. FTP access to my internet provider's web hosting server uses
such username - yes, the username is really "apur at cbox.cz", so now i log
in with /#ftp:apur at cbox.cz:<password>@ftp.cbox.cz, which wasn't possible
before).

One more suggestion/wish - what about adding an option (e.g. to "Listing
mode" dialog or to "Layout" dialog)
to remove the title line from panel(s) (I mean Name|Size|MTime). In fact
I have things set up so that I have only names in the panels and
additional informations in ministatus (and so the title line is quite
useless to me, but I think it would be even if I used "Full file list");
removing the title line would also give one more line in the pannels and
the panels would look better.

Regards,
Adam Purkrt


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

------- End of forwarded message -------




More information about the mc mailing list