Description of problem:
If I press ctrl-Z when man is displaying a manual page, then man can not be
restored any more.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. login on VT1
2. "man sfdisk"
man resumes and can be used to view the page
ctrl-Z works fine with other programs, like sleep , less or vi
Same thing in phoebe2 ( 8.0.93 ).
All default settings; shell is bash etc.
Works for me with current packages - does it work for you?
Yes, but there is still something weird :
press ctrl-Z after the page appear :
no shell prompt.
press RETURN -> shell prompt appears.
This happens if ctrl-z is pressed in less than 9 seconds
after man ls is started. If pressed after 9 or more seconds,
then it behaves OK.
More info :
kernel-2.4.20-2.21 -> man on ctrl-z exits ( terminates )
kernel-2.4.20-2.41 -> man on ctrl-z stops, with the 9 second issue descibed in
I'm going to leave this as a feature for upstream. Most apps that do non-trivial
screen manipulation with a library have to be specifically written to support
application suspension. (that is, put the terminal in a sane state) Hence the
need for a "terminal reset" feature in most X-based terminal programs...
*** Bug 73002 has been marked as a duplicate of this bug. ***
> most X-based terminal programs
? I was doing everything on text console, without X
The analogy for a terminal reset in the console would be something like "stty sane"