home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / software / 2553 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  2.6 KB

  1. Path: sparky!uunet!spool.mu.edu!nigel.msen.com!math.fu-berlin.de!unidui!rrz.uni-koeln.de!Germany.EU.net!horga!reswi!reswi!ralf
  2. From: ralf@reswi.en.open.de (Ralf E. Stranzenbach)
  3. Newsgroups: comp.sys.next.software
  4. Subject: Re: TeX disk space inefficiencies. (save ~2 meg)
  5. Date: 8 Nov 1992 09:29:08 GMT
  6. Organization: News Server fuer en.open.de
  7. Lines: 57
  8. Message-ID: <RALF.92Nov8102908@jodokus.en.open.de>
  9. References: <1992Nov7.172031.10284@dartvax.dartmouth.edu>
  10. NNTP-Posting-Host: localhost.en.open.de
  11. In-reply-to: fermat@fermat.dartmouth.edu's message of 7 Nov 92 17:20:31 GMT
  12.  
  13. >>>>> "Michael" == Michael Glenn <fermat@fermat.dartmouth.edu> writes:
  14.  
  15.  
  16.     Michael> My second attempt at posting this.  Dunno if this is old
  17.     Michael> news, but...
  18.  
  19.     Michael> After installing amstex and amslatex on my NeXT, I
  20.     Michael> discovered several additional files that were not needed.
  21.     Michael> Namely duplicate copies of files that could easily be
  22.     Michael> replaced with symbolic links.
  23.  
  24.     Michael> In /usr/lib/tex/formats:
  25.  
  26.     Michael> splain.fmt == slitex.fmt (576k)
  27.     Michael> lplain.fmt == latex.fmt  (496k)
  28.     Michael> plain.fmt  == tex.fmt    (288k)
  29.  
  30.     Michael> In /usr/bin:
  31.  
  32.     Michael> latex  == tex (184k)
  33.     Michael> slitex == tex (184k)
  34.     Michael> virtex == tex (184k)
  35.  
  36.     Michael> /usr/bin/tex apparently looks at what command line
  37.     Michael> command was used to execute it to determine which .fmt
  38.     Michael> file is loaded in.
  39.  
  40. At least, this modification costs you around 3 blocks disk space. On
  41. my system TeX installed itself using links wasting no additional block
  42. of disk space. Have a look at the link count:
  43.  
  44.     jodokus> ls -l *tex*
  45.     -rwxr-xr-x  1 root       81920 Jul 23 22:20 bibtex*
  46.     -rwxr-xr-x  1 root      188416 Jul 23 22:20 initex*
  47.     -rwxr-xr-x  4 root      180224 Jul 23 22:20 latex*
  48.     -rwxr-xr-x  4 root      180224 Jul 23 22:20 slitex*
  49.     -rwxr-xr-x  4 root      180224 Jul 23 22:20 tex*
  50.     -rwxr-xr-x  4 root      180224 Jul 23 22:20 virtex*
  51.     jodokus> 
  52.  
  53.     Michael> I've removed latex, slitex, virtex, splain.fmt,
  54.     Michael> lplain.fmt, and plain.fmt, and replaced them with
  55.     Michael> symbolic links, a total savings of 1912k, almost 2 meg!
  56.  
  57. You should *NOT* remove the .fmt Files because they *are* different
  58. unless you really know what you need ....
  59.  
  60. O.k. I removed slitex.fmt because i use this package *very* seldom...
  61.  
  62.     - ralf
  63. --
  64. Ralf E.Stranzenbach  -   (NeXT)-Mail: ralf@reswi.en.open.de
  65.                                 Fido: Ralf_Stranzenbach 2:245/5800.12
  66.                        (Voice)-Phone: +49 2302 / 68403
  67. --
  68. Wenn ein Programm bei Dir fehlerfrei laeuft, mach Dir keine Sorgen.
  69. Es wird vorbeigehen.
  70.