tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Problem with vi
@ 1999-09-07  7:45 Isidoro Sepe
  0 siblings, 0 replies; only message in thread
From: Isidoro Sepe @ 1999-09-07  7:45 UTC (permalink / raw)
  To: tru64-unix-managers

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
______________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-09-07  7:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-07  7:45 SUMMARY: Problem with vi Isidoro Sepe

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