> Instead of "ctrl+z", press ":wq" (colon for command mode, w for write, q for
> quit).
If you are still mystified, "ctrl+z" stops a process running on a
terminal, so it's likely that your vi is still running idle. Type 'fg'
on the same terminal to bring it back. For more details on job
control, see 'info sh' and search for 'jobs'.
> This assumes that vi is your default editor.
Which you can change by setting your EDITOR environment variable.
For example, if your shell is bash,
export EDITOR="emacs -nw"
will do it.
--Gene