![](https://seccdn.libravatar.org/avatar/b12cfb65ca4faebc3e3aac17838e8f8d.jpg?s=120&d=mm&r=g)
Dave, Clayton, Newbies, On Thursday 11 August 2005 05:58, Dave Howorth wrote:
Clayton wrote:
...
I am doing a no-no by typing CTRL-Z or CTRL-C to close man?
Not really. 'q' is a clean exit... Ctrl+z isn't. Either works.
CTRL-Z isn't an exit at all! The process is still there, just suspended. CTRL-C does exit the process (any process).
The part about what CTRL-Z is doing is correct. Processes may chose to ignore or catch the signal (SIGINT) typically (but not always) produced when the user types CTRL-C in a text- / terminal-mode program such as those run in Konsole or one of the *term series of terminal emulators. CTRL-C is not usually considered a "normal" way to terminate a program. Instead, it is abortive and may lead to the program to fail to clean up and shut down properly (though that would be considered rather poor Unix / Linux programming form).
q is the way to ask this particular process nicely. But there's no effective difference between q and CTRL-C in this case, AFAIK.
In this case. But is not a good habit to develop to use CTRL-C (SIGINT) to routinely shut down an application.
Cheers, Dave
Randall Schulz