From: "Marco Benton" <marco@xssnet.com>
Subject: Re: Having a problem with Dig Unix 4.0d, BaaN, and vi
Date: 1999/10/03 [thread overview]
Message-ID: <p0TJ3.2680$z5.46500@ndnws01.ne.mediaone.net> (raw)
In-Reply-To: 37F18541.2CE59370@ctg.com
i think i remember seeing a few patches like that fixed in PK4.
are you running the latest patch kit for OSF?
Bruce Hartley <Bruce.Hartley@ctg.com> wrote in message
news:37F18541.2CE59370@ctg.com...
> Thanks in advance for any help or insights into this problem.
>
> About a year ago, and especially after adding keystroke escape sequence
> macros vi .exrc as suggested in the O'Reilly and Associates book on vi,
> we have been having an intermittent problem that occurs at least once a
> day.
>
> As a background, we are a BaaN shop. We are running BaaN version IVb2.
> For those of you who don't know, BaaN has their own terminal emulator
> that is better than plain telnet. I don't think it's the source of the
> problem, but I'm mentioning it just in case.
>
> What happens is that we will be editing a source file and will want to
> delete a line of code via dd. It works at first, and then you get the
> following at the bottom of the screen:
>
> Bad file number
>
> What you also see displayed on line line that you just tried to delete
> is:
>
> /var/tmp/Rx01278
>
> The only way out is to issue a w! command to force the changes you have
> made to be written, then (q)uit, and then get back into vi. It gets to
> be a real pain when it happens 6 times a day. It also runs in spurts,
> today was real bad, other times we can go for weeks without seeing it.
>
> Other interesting notes are as follows:
>
> 1 - I wrote a .exrc file for all of us at work, and the ones who use it
> see this problem more than the others. However, it may also be due to
> the fact that they do more editing.
>
> 2 - We access BaaN via BaaN's special client BW ( again, I don't think
> this matters )
>
> 3 - I've never seen it happen with Microsoft Telnet, but I hardly ever
> use it ( once every 3 months ).
>
> 4 - You can't do a w command to save your work, you must use w! to force
> the save
>
> My thinking on this is that there is a bug in vi that causes it to
> "lose" the file id that is associated with that file, which appears to
> hold deleted lines in case you decide to do an "u"ndo operation. As
> soon as that happens, you can't do any more deletes. However, you can
> add more lines to the file plus delete characters. I suspect that what
> happens is that some chain of events cause the file id inside the
> program to get corrupted, thus preventing the command from working.
>
> My questions are, has anyone else ever seen this type of problem, and if
> so, what did you do about it if anything? Our system admins are
> stumped.
>
> Thanks;
>
> Bruce Hartley
>
prev parent reply other threads:[~1999-10-03 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-28 4:00 Having a problem with Dig Unix 4.0d, BaaN, and vi Bruce Hartley
1999-10-03 4:00 ` Marco Benton [this message]
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