delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/21/01:22:33

From: Ned Ulbricht <nedu AT ee DOT washington DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: em1934*.zip - emacs info on emacs
Date: Sat, 20 Dec 1997 18:39:24 -0800
Organization: University of Washington
Lines: 85
Message-ID: <349C815B.22E9@ee.washington.edu>
NNTP-Posting-Host: cs203-39.student.washington.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Yesterday, I downloaded the Simtel DJGPP archive distribution of GNU 
Emacs MS-DOS binaries (files: em1934b.zip and em1934r?.zip).

The info files for emacs (emacs/info/emacs and emacs/info/emacs-??) 
cannot be read by emacs info under the way I installed the emacs 
distribution 'out of the box,' using pkunzip -d in my djgpp 
directory.  Emacs info is able to read all the other info files which 
came with the distribution.  Furthermore, the GNU stand-alone info 
reader from the DJGPP archive (txi390b.zip) is able to read the 
info for emacs.

Here is what produces the error under my configuration (jump 
ahead for my guess as to what causes the error):

environment contains:
PATH=D:\DJGPP\BIN;D:\DJGPP\GNU\EMACS\BIN; ...[other dirs]
DJGPP=D:\DJGPP\DJGPP.ENV

no _emacs. file exists anywhere (only _emacs.xmp)

Starting from the dos prompt:
>emacs
C-h i
--%%-Info:  (dir)Top      (T:Info Narrow)--L1--Top-----------
mEmacs

And the error is:
--%%-Info:  (dir)Top      (B:Info Narrow)--L1--Top-----------
No such node: Top

I type:
g(emacs)Top

And again I get:
--%%-Info:  (dir)Top      (B:Info Narrow)--L1--Top-----------
No such node: Top

I type:
g(emacs)*

The ^M's here are not an artifact, this is what I see:

This is Info file ../info/emacs, produced by Makeinfo version 1.67
from^M
the input file emacs.texi.^M
^M
^_^M
Indirect:^M
emacs-1: 100^M
emacs-2: 31021^M
emacs-3: 77880^M
[...more of the same with each line ending in ^M]
--%%-Info:  (emacs)*      (B:Info)--L1--Top-------------------------

I type:
g(emacs-1)Top

File: emacs,  Node: Top,  Next: Distrib,  Prev: (dir),  Up: (dir)^M
^M
The Emacs Editor^M
****************^M
^M
   Emacs is the extensible, customizable, self-documenting real-time^M
display editor.  This Info file describes how to edit with Emacs and^M
some of how to customize it, but not how to extend it.  It corresponds^M
to GNU Emacs version 19.34.^M 
^M
[...snip]
--%%-Info:  (emacs-1)Top      (B:Info Narrow)--L1--Top-----------

! ! ! ! ! MY GUESS
is that the immediate cause of my problem is that (as I've verified 
with other tools) the emacs/info/emacs file and all the 
emacs/info/emacs-?? files contain CR/LF sequences (0x0a 0x0d).  In 
contrast, all of the other djgpp/info/* and emacs/info/* files 
contain only LFs.

I'm not experienced enough (yet) with running emacs under dos to 
know the best way to resolve this.  For instance, is there a 
simple setting to let emacs info know to recognize the dos 
end-of-line convention in an info file?

-- 
Ned Ulbricht
nedu AT ee DOT washington DOT edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019