From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030517 Description of problem: If you run "top" and then use "Ctrl-c" to terminate the process, the terminal/console will sometimes be left in bold font. The bug is always present but because it is "timing" related in that it depends on when the Ctrl-c signal is sent vs. what portion of the display the "top" command is refreshing. Recommended fix: Need to catch the SIGINT signal and send a bold-off sequence to the terminal. Version-Release number of selected component (if applicable): procps-2.0.7-11 How reproducible: Always Steps to Reproduce: 1. Run "top" command from a terminal (vt100, vt220, etc...) 2. Press "Ctrl-c" to terminate the program. 3. If your prompt did not change to bold, keep repeating steps 1+2. Actual Results: The console is left in BOLD font. Expected Results: The console should be in whatever the font was before you executed the program. Additional info:
This is true of all applications that use text attributes, but making everything catch SIGINT (and all other signals that can terminate the process) is not the answer. The supported way to exit top is to press 'q'. If you do this the console will never be bold. If you ever get the console into a bold (or other attribute) state, the "reset" command fixes this for you.