Date: Thu, 30 Nov 1995 11:35:44 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: kuku@gilberto.physik.rwth-aachen.de (Christoph P. Kukulies) Cc: freebsd-questions@freefall.freebsd.org Subject: Re: ^Z behaviour Message-ID: <199511301835.LAA01109@phaeton.artisoft.com> In-Reply-To: <199511301131.MAA24728@gilberto.physik.rwth-aachen.de> from "Christoph P. Kukulies" at Nov 30, 95 12:31:49 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> I got a phone call from a (otherwise happy) FreeBSD customer
> who is using FreeBSD 2.0.5 in an industrial production environment
> (btw) and he is 'complaining' about the ^Z behaviour.
>
> His users were happy users of the med editor (ex PCS people,
> when will be a port of med available? Jordan, are you listening ?:-)
> and have this ^Z built into their finger memory. So it happens
> that they send vi permanently into background, wondering and starting
> over with a pile of vi sessions in bg.
>
> I tried stty susp ^P or something but it seems that the ^Z
> behaviour is built into vi.
>
> Any ideas how to help these people?
Set the global EXINIT or put in the user's .exrc:
map ^Z q
^
|
real "control-z"
Use of ^Z in insert mode will insert ^Z.
Use of ^Z in command mode will give the error "q isn't a vi command."
Obviously, vi should respect the tty modes, so the real fix is to
send the bug in to Keith.
Terry Lambert
terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511301835.LAA01109>
