Ticket #1992: incorrect sturtup of MC with some special paths.
commit45073c35e797dcb37c6790c368b83a7004e27509
authorAndrew Borodin <aborodin@vmail.ru>
Mon, 15 Feb 2010 11:14:01 +0000 (15 11:14 +0000)
committerAndrew Borodin <aborodin@vmail.ru>
Wed, 24 Feb 2010 16:22:43 +0000 (24 16:22 +0000)
tree2fb05cf018040d7cbc1eeb04d9fcc2189d40245f
parent08cabe95f5b44784de7c6be6883a3b7a349e35d8
Ticket #1992: incorrect sturtup of MC with some special paths.

Problem description:
  1. Run mc as
     mc /#ftp:user@server
  2. If FTP server asks password, MC shows the password dialog window.
  3. If type the first symbol in input line, MC crashes.

Bug cause:
  MC asks ftp password before initialize of input line keybindings.

Solution:
  Reimplemented MC startup sequence.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/main.c
src/main.h
src/setup.c