Subject: Re: mc-4.1 report under B19 with ncurses 1.9.9e installed
From: [email-masked]

8 Mar 1998 13:49:20 -0800
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
To: [email-masked]

>   Konstantin Metlov ([email-masked])
>   Thu, 5 Mar 1998 17:33:51 +0100
>       
>Here is the way how I have compiled mc-4.1 under B19. This is not the best
>way for sure...
>
>1. mc does not compile out of the box.

It does if you know what options to pick, and if you have your own
libtruncate.a to add to the libraries in the makefile.  Of course,
mkfifo being a cygwin `stub' may not add to the correctness of the
resulting program.

>1. ./configure
>3. in ./src/util.c
> a) comment out function my_ftruncate (at the end of the file)
> b) replace line
>        res = my_ftruncate (fd, size);
>     by
>        res =  ftruncate (fd, size);

Great idea.

> 5. function mkfifo is not implemented in B19
>     that is relplace  the line (you can find it searching for mkfifo):
>            if (mkfifo (tcsh_fifo, 0600) == -1)
>     with
>            if (-1 == -1)
>     in ./src/subshell.c  .

> 7. In ./src/Makefile
>     replace
>         cp mfmt mcmfmt
>     by
>         cp mfmt.exe mcmfmt.exe

Did you know that the lynx people have fixed that?  You define `x = .exe' at
the top of the lynx makefile, and all programs suddenly have .exe at the end.
>
You don't mentions several points:

1.  Does ncurses work _completely_ with cygwin?  I mean, do you get color
text?  With the latest libslang, you get monochrome, but it is a _huge_
improvement over the b18 release, where the terminal window was cluttered
with extra characters that hadn't been properly erased.

2.  If you use the --with-our-slang option, you don't need ncurses to make
mc.  And, you get a really good color display.

3.  Does mc.exe crash when called from the Dos prompt?  On several recent
versions made with b19 it does.  But it works from the bash$ prompt.
You can also make tkmc.exe with a little work.
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".