The "CTRL-Z" should put vi or other job into background (you get the prompt back) and then use "fg" you can bring the job back to foreground. The feature
works for csh and ksh.
The problem I encounter is that: on Solaris 2.7 under ksh, if I use "CTRL-Z" to suspend a vi job, the prompt is hang and I can not type anything in that window.
No problem to use "CTRl-Z" on Solaris 2.51 and 2.6, no problem on Solaris 7 under csh. And norproblem to use "CTRL-Z" to suspend most of jobs except vi.
what can you doing
job control doesn't work properly under ksh for vi:
editing a file using vi under ksh, after user types CTRL-Z, the terminal is hang.
##########
$vi file
(^Z)
"file" [New file]
[1] + Stopped (SIGTSTP) vi file
$
######################
kas with vi in suspend mode is not working when loggin is turned on for the /var filesystem.
Two Scenarios:
1.) when /var is the only filesystem that has loggin turned on, then vi in suspend mode brings a practically dead ksh. Problem cannot be recreated if loggin is turned on for any other filesystem
2.) When loggin is turned on for /var together with any other filesystem for example, /opt, again, vi in suspend mode brings up a good ksh.
regards ph