Re: [PATCH] vi: add 'ZQ' quitting command

2022-08-02 Thread Denys Vlasenko
Applied, thank you On Wed, Jun 8, 2022 at 9:52 PM Grob Grobmann wrote: > > Busybox vi provides the 'ZZ' command to save and close > the similar 'ZQ' command just exits without saving > I propose this small patch to add that command. > > diff --git a/editors/vi.c b/editors/vi.c > index

[PATCH] vi: add 'ZQ' quitting command

2022-06-08 Thread Grob Grobmann
Busybox vi provides the 'ZZ' command to save and close the similar 'ZQ' command just exits without saving I propose this small patch to add that command. diff --git a/editors/vi.c b/editors/vi.c index 3dbe5b471..2357caa5d 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -4290,8 +4290,14 @@ static