*BSD News Article 12028


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!usc!enterpoop.mit.edu!ai-lab!hal.gnu.ai.mit.edu!mycroft
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.unix.bsd
Subject: Re: 386bsd -- HELP elvis dies on large input files (>2MB
Date: 1 Mar 1993 03:25:43 GMT
Organization: /etc/organization
Lines: 23
Message-ID: <1mrvnnINN6jh@life.ai.mit.edu>
References: <138@knobel.GUN.de> <1mqqprINNq7l@life.ai.mit.edu> <1993Feb28.235844.2747@netcom.com>
NNTP-Posting-Host: hal.ai.mit.edu
Keywords: elvis dies help problem


In article <1993Feb28.235844.2747@netcom.com> alm@netcom.com (Andrew
Moore) writes:
}
} No, this is a limitation of elvis.  From the elvis-1.6 document,
} cflags.ms:
}
} The value of BLKSIZE must be a power of two.  Every time you double
} BLKSIZE, you quadruple the size of a text file that [elvis] can handle,
} [...]
} The default value is 2048, which allows you to edit files that
} are nearly 2 megabytes long.
} [...]
} BLKSIZE should be either 256, 512, 1024, or 2048.  Values
} other than these can lead to strange behaviour.

Ugh.  I actually tried this, but had forgotten that I switched back to
using real vi some time ago.  B-)

-- 
 \  /   Charles Hannum, mycroft@ai.mit.edu
 /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
Scheme  White heterosexual atheist male (WHAM) pride!