Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 1999 16:58:46 -0700 (MST)
From:      "Chad R. Larson" <chad@DCFinc.com>
To:        bsd-stable@boneyard.lawrence.ks.us (SDS)
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: vi dumping the core...
Message-ID:  <199904242358.QAA20780@freeway.dcfinc.com>
In-Reply-To: <Pine.BSF.4.10.9904241637190.9776-100000@madeline.boneyard.lawrence.ks.us> from SDS at "Apr 24, 99 05:28:33 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As I recall, SDS wrote:
> vi
> <enter the editor>
> ^\ (switch to ex mode)
> hit ^\ again
> 
> *plop*

Not exactly a core dump.

When you typed the first "^\", vi was in cbreak mode (the
application was interpreting all characters).  But that first
one put you into the ex editor, which runs with the O/S doing
line buffering of input characters.  In line buffer mode, the
regular (stty set) characters work, and "^\" is the "quit"
character.  That character requests the program to exit with
a core file.

I'd say, "works as designed."

	-crl
--
Chad R. Larson (CRL15)   602-953-1392   Brother, can you paradigm?
chad@dcfinc.com chad@larsons.org chad@anasazi.com larson1@home.net   
DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904242358.QAA20780>