MS-DOS Users:

    Multifile documents are supported by bib-cite by using etags (TAGS files).
    etags contains a bug for MS-DOS (at least it does for emacs 19.27).
    The symptom is that bib-display will fail, indicating that a file could
    not be found, and to rerun etags.  The solution is to patch etags.c
    as described below.

    The MSDOS port of the latest release of emacs (19.34) already includes the
    corrected version of etags. Binaries can be found on any simtelnet mirror
    in the directory /pub/simtelnet/gnu/djgpp/v2gnu.

______________________________________________________________________________
From: Rozman Michael <rozman@post.tau.ac.il>
Subject: Re: bib-cite bug... (fwd)
To: rhogee@mixing.qc.dfo.ca (Peter Galbraith)
Date: Tue, 11 Jul 1995 19:26:28 +0300 (IDT)


There were two minor problems. First, at the begining of etags.c
there is the declaration:
 
#ifdef MSDOS
  _fmode = O_BINARY;   /* all of files are treated as binary files */
#endif /* MSDOS */
                          ^^^!!!

This is true only for output file - the tags file is binary one,
but input files *must* be treated as text files.  Hence, at the beginning
of the logical function "find_entries ( char *file)"
the statement

  inf = fopen (file, "r");

should be replaced by


#ifdef MSDOS
  inf = fopen (file, "rt");
#else
  inf = fopen (file, "r");
#endif
 

Second, original etags write correct MSDOS file name to the tags file,
but in order etags.el to work right UNIX-like (wrong) name have to be written.
Hence, it is necessary to add several lines of codes to change the
text string containing the name of the file.

#ifdef MSDOS
      {
	register char *c;
	for( c=filename; *c != '\0'; c++)
	  if (*c == '\\') *c = '/';
      }
#endif
      fprintf (tagf, "\f\n%s,%d\n", filename, total_size_of_entries (head));

