tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Isidoro Sepe <isidoro.sepe () tlsoft ! it>
To: tru64-unix-managers
Subject: SUMMARY: Problem with vi
Date: Tue, 07 Sep 1999 07:45:09 +0000	[thread overview]
Message-ID: <96079072815917.tru64-unix-managers.marc@archive.invalid> (raw)

Many thanks to:
    Alan Nabeth,
    Loucks Guy,
    Claude Scarpelli,
    Leonard Roger
    Laurent Sainte-Marthe
    Hasan Atasoy
    Thomas Leitner

The Problem:
>The system is an Alpha Serever Dunix 4.0D patch kit 3 (512 MB Ram).
> I do "vi myfile" , where myfile is about 75MB large.
>Then I search a pattern into myfile and I get "Segmentation fault (core
dumped)".


Hints:
(...) vi  uses virtual memory to handle the file and that has limits.
The most notable is the per-process data size limit.  Most shells offer a
built-in command to
see and change this limit (e.g. . csh> limit datasize unlimited).
Vi also does the editing of the file on a copy that it
keeps in /tmp or /var/tmp.  Running out of space there could cause problems.

I would recommend for large files to use emacs.

We reported this bug to Digital 18 months ago. We got a fix (a new
binary version of /bin/vi), but this fix haven't been included in any
official patch kit.


The solution:
Laurent says that in patch kit #2 of Tru64 4.0E, a correction for vi is
available to edit file
greater then 100 Mb. So I got vi from a Tru64 4.0E pk2 and I tried it  : it
really works.


Ciao.
Isidoro.
_____________________________________________
Isidoro Sepe
Telesoft Spa
Via Nuova Poggioreale,snc
80143 Napoli

phone +390817564486
fax      +390817564252
e-mail isidoro.sepe@tlsoft.it
______________________________________________

                 reply	other threads:[~1999-09-07  7:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox