Subject: Re: midnight commander
From: "Dr. Volker Zell" <[email-masked]>
To: "radek kosciuk" <[email-masked]>
Cc: <[email-masked]>, [email-masked]
Date: 21 Mar 2001 17:07:56 +0100

diff -upr /gnu/mc-4.5.51/doc/Makefile.in mc-4.5.51/doc/Makefile.in
--- /gnu/mc-4.5.51/doc/Makefile.in	Mon Jul  3 16:32:02 2000
+++ mc-4.5.51/doc/Makefile.in	Fri Mar  9 11:10:25 2001
@@ -15,8 +15,8 @@ LINUXDOCDIR =	/usr/local/linuxdoc-sgml
 all:
 
 install:
-	$(MKINSTALLDIRS) $(DESTDIR)/$(man1dir)
-	$(MKINSTALLDIRS) $(DESTDIR)/$(man8dir)
+	$(MKINSTALLDIRS) $(DESTDIR)$(man1dir)
+	$(MKINSTALLDIRS) $(DESTDIR)$(man8dir)
 	-$(SEDCMD2) < mc.1 > $(DESTDIR)$(man1dir)/$(manprefix)mc.$(manext)
 	-$(SEDCMD2) < mcedit.1 > $(DESTDIR)$(man1dir)/$(manprefix)mcedit.$(manext)
 	-$(SEDCMD2) < mcserv.8 > $(DESTDIR)$(man8dir)/$(manprefix)mcserv.$(man8ext)
diff -upr /gnu/mc-4.5.51/src/Makefile.in mc-4.5.51/src/Makefile.in
--- /gnu/mc-4.5.51/src/Makefile.in	Mon Jul  3 16:32:11 2000
+++ mc-4.5.51/src/Makefile.in	Fri Mar  9 10:42:14 2001
@@ -81,7 +81,7 @@ mfmt: mfmt.o
 	$(CC) $(LDFLAGS) mfmt.o -o mfmt 
 
 mcmfmt: mfmt
-	cp mfmt mcmfmt
+	cp mfmt.exe mcmfmt
 
 libvfs-mc.a:
 	cd ../vfs; $(MAKE) libvfs-mc.a
diff -upr /gnu/mc-4.5.51/src/subshell.c mc-4.5.51/src/subshell.c
--- /gnu/mc-4.5.51/src/subshell.c	Mon Jul  3 16:32:08 2000
+++ mc-4.5.51/src/subshell.c	Fri Mar  9 11:01:27 2001
@@ -62,7 +62,7 @@
 #   define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 #endif
 
-#ifdef HAVE_GRANTPT
+#if defined(HAVE_GRANTPT) && !defined(__CYGWIN__)
 #   include <stropts.h> /* For I_PUSH			      */
 #else
 #   include <grp.h>	/* For the group struct & getgrnam()  */
@@ -268,7 +268,7 @@ void init_subshell (void)
 
 	/* }}} */
 	/* {{{ Create a pipe for receiving the subshell's CWD */
-
+#ifndef __CYGWIN__
 	if (subshell_type == TCSH)
 	{
 	    g_snprintf (tcsh_fifo, sizeof (tcsh_fifo), "/tmp/mc.pipe.%d", getpid ());
@@ -291,6 +291,7 @@ void init_subshell (void)
 	    }
 	}
 	else  /* subshell_type is BASH or ZSH */
+#endif
 	    if (pipe (subshell_pipe))
 	    {
 		perror (__FILE__": couldn't create pipe");
@@ -376,7 +377,7 @@ void init_subshell (void)
 
 	/* Set the pty's size (80x25 by default on Linux) according to the */
 	/* size of the real terminal as calculated by ncurses, if possible */
-#	if defined TIOCSWINSZ && !defined SCO_FLAVOR
+#	if defined TIOCSWINSZ && !defined SCO_FLAVOR && !defined __CYGWIN__
 	{
 	    struct winsize tty_size;
 	    tty_size.ws_row = LINES;

    radek> thanks

    radek> radek

Ciao
  Volker

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple