Commit Graph

16 Commits

Author SHA1 Message Date
Elliot Lee 0bd6d7504a Have 'make dist' work with builddir != srcdir. 1999-08-19 20:17:40 +00:00
Norbert Warmuth f807b91600 Tue Apr 13 07:07:36 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* slang/slutty.c (SLsys_getkey): handle EOF on stdin (return
SLANG_GETKEY_ERROR on EOF instead of returning garbage)

* slang/Makefile.in (clean): remove the symbolic link slang.h on the
distclean target and not on the clean target.


Tue Apr 13 07:14:10 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/slint.c (getch): Quit MC when SLang_getkey returns an error. Looking
at the code that's only the case when we read EOF from stdin.

This fixes the problem where MC consumes a lot of cpu time while
reading EOF from stdin in a tight loop. This situation arises when the
terminal line/connection drops without MC being sent SIGHUP.


Tue Apr 13 06:07:05 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* configure.in: Some AC_ARG_WITH macros haven't checked $withval, i.e.
--with-PACKAGE and --without-PACKAGE gave the same results.
1999-04-13 19:21:03 +00:00
Miguel de Icaza 262d157cc6 Debian updates:
- Do not limit to static buffer size in slang.
	- mcfn_install: fix, use #!, not #
	- Use +Z for zsh
	- Updated deb fs browser

Miguel.
1999-03-10 01:22:30 +00:00
Norbert Warmuth b993f8e8ed Pass --with-included-slang to configure if you concerned about
that Bugtraq message.

Sun Feb 14 01:05:42 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* slang/sldisply.c (SLtt_get_terminfo): use g_snprintf instead of
sprintf

* slang/slsmg.c (SLsmg_printf): ditto

* slang/sltermin.c (SLtt_tigetent): ditto
1999-02-14 00:41:23 +00:00
Miguel de Icaza 4a9de48d60 Slang compile fix 1999-02-04 01:56:19 +00:00
Norbert Warmuth f75a6470ca Rerun configure when you have problems with missing slang.h.
Sun Jan 31 20:04:13 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/vfs.c (vfs_strip_suffix_from_filename): Whoever replaces every
occurance of 0 with NULL should stop this stupidy. And replacing '\0'
with NULL is plain wrong!!. Reverted this replacement.

* vfs/ftpfs.c (load_no_proxy_list): ditto


Fri Jan 29 22:55:56 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* slang/slang.h: renamed to slang-mc.h

* slang/Makefile.in: delete slang.h on "make clean"

* configure.in: link slang/slang-mc.h to slang/slang.h when the
included slang is used. Problem was that MC's slang.h was used
when we compiled with an already installed SLang and the systems
header file were included with <slang/slang.h>.
Unfortunatly I can't use AC_LINK_FILES to make the links because
if we needn't make any links AC_LINK_FILES makes a link from
srcdir to top_builddir (builddir != srcdir).

Temporary add $LGPM to $LIBS when checking for the resizeterm
and keyok functions (ncurses might be linked against GPM).

Substitude PACKAGE (intl/Makefile makes use of it)


Sun Jan 31 19:42:47 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* gnome/Makefile.in (install_mx): make it work with srcdir != builddir
(gmc.gnorba is located in $srcdir)

* src/hotlist.c (add_new_entry_input, add_new_group_input): Make the
quick_widget arrays static and various changes needed because they
are now static. add_widgets_i18n recalculates button positions
which get lost when the quick_widget arrays are non static.

* src/screen.c (to_buffer): nul terminate string when using strncpy

* src/setup.c: Save and restore new option ftpfs_first_cd_then_ls.


Sun Jan 31 19:57:24 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/ftpfs.c (insert_dot): New function. Insert a "." into the linked
list. Stat'ing the root directory of a ftpfs fails if the dot is
missing.

(retrieve_dir): insert "." into the linked list if the ftp server
haven't send it.

Sun Jan 31 19:50:24 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* The following changes make ftpfs work with a remote AmiTCP
server are the result of somehow longish EMail debugging session. I
don't know any public server of this kind but I was told the
combination Unix/Amiga boxes are often used in intranets.

* vfs/ftpfs.c (translate_path): New function. Translate a Unix path,
i.e. MC's internal path representation (e.g. /somedir/somefile) to
a path valid for the remote server. Every path transfered to the
remote server has to be mangled by this function right prior to
sending it. Currently only Amiga ftp servers are handled in a
special manner.

* vfs/ftpfs.c (various places): use translate_path

* vfs/ftpfs.c (login_server): Assume we have to mangle pathnames if
the greatings string from the server contains the word Amiga. If
this assumption is wrong I have to find another way to turn on
path translation.

* vfs/ftpfs.c (ftpfs_get_current_directory): Prepend a leading slash
if it is missing. MC needs it as seperator between hostname and
path in its internal url representation.
1999-01-31 20:28:13 +00:00
Miguel de Icaza a7170a4f7a OS2 now uses property defines instead of OS2_NT 1999-01-10 08:55:35 +00:00
Pavel Roskin e3121ab349 URL for SLang updated 1998-08-24 09:45:20 +00:00
Miguel de Icaza c457d7dd96 Pass2 of the QNX port of mc from Tamasi Gyorgy 1998-05-20 02:19:17 +00:00
Pavel Machek 2565113b86 Patch for RSX. If both EMX_VIDEO and WIN32 are defined, write attributes
correctly.
RSX support is almost complete now.
1998-05-14 15:40:42 +00:00
Pavel Machek e161b6d92c Better support for MinGW. Updates in slint_pc.c for syntax highlighting. 1998-05-08 09:58:53 +00:00
Pavel Machek 8665ccd219 Numerous OS/2 and NT fixes. Borland C++ for OS/2 supported 1998-03-23 05:27:15 +00:00
Miguel de Icaza 179eae1dd0 More .cvsignore for mc 1998-03-07 20:40:21 +00:00
Miguel de Icaza 177bbf7262 .cvsignores for the Midnight Commander 1998-03-07 20:34:15 +00:00
Miguel de Icaza b52d3a73ca Sat Mar 7 14:33:38 1998 Pavel Roskin <pavel@absolute.spb.su>
* src/complete.c: obsolete hack for OS/2 and NT removed.
        Completion works for NT now (not very good)

        * src/main.c: HOME variable is respected by NT and OS/2
        versions. If it is missing, we use LIBDIR on OS2_NT and "/"
        on Unix.

        * src/key.h: SHIFT_PRESSED is set to 0x0010 on NT. This value
        doesn't conflict with definitions for ALT and CTRL, but it is
        SDK-compatible.

        * vfs/vfs.h: Minor changes for OS/2. EMX defines mkdir with
        2 arguments

        * vfs/tcputil,c, vfs/utilvfs.c: signal.h was includes twice.

        * vfs/Makefile.in: undelfs.h is not used and should disapper

        * slang/slos2tty.c: new file, copied from SLang-0.99.38,
        needed for OS/2 port

        * slang/Makefile.in: added slos2tty.c

        * vfs/extfs/README: annoying spell errors corrected

        * src/main.c: --termcap disabled for OS2_NT because it doesn't
        (and cannot) work. ARCH_FLAGS is not needed anymore.

        * src/text.c: most includes removed. Added a warning is someone
        compiles this file with HAVE_X. Improved color scheme for
        consoles with 16 background colors (e.g. OS/2). Hack for OS/2
        removed.

        * src/util.c, src/util.h: STRCOMP and MC_ARCH_FLAGS are moved
        to util.h. It may be useful to use them for filenames' completion
        on OS2_NT
1998-03-07 20:27:44 +00:00
Miguel de Icaza eb6b3842ab Initial revision 1998-02-27 04:54:42 +00:00