Jason Santos wrote:
>
> Craig White said:
> > On Wed, 2003-12-10 at 10:25, Michael Havens wrote:
> >> What does ^z do?
> >>
> > ----
> > Terminates the running process - in this case, terminate the vi editor
> > and leave the temp file is recognized the next time you try to edit the
> > original file in vi - which is why it is offering the opportunity to
> > delete or bring the temp file into the editor - oen or the other must be
> > chosen or the file cannot be edited.
>
> Assuming you don't change your default terminal key mappings, it does not
> terminate the running process, it suspends it and puts it into the
> background. You can then resume by typing fg.
>
> Short summary of the default keys:
> ^C - Terminate process
> ^D - EOF
> ^S - Pauses output
> ^Q - Resumes output
> ^U - Erase whole line
> ^W - Erase word
> ^Z - Suspend process (sends a SIGSTOP)
>
> Check stty -a and man stty for all the gory details.
> --
> Jason Santos
> jason.santos@megaslow.net
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Yes, ^Z suspends the current process and gives you the command prompt.
Then when you run vi again, you get that error message as the suspended
vi session is using your file.
--
George Toft
Computer Security
AGD,llc
www.agdllc.com
623-203-1760