[procps] Re: [PATCH 1/2] top: restore terminal state on exit

  • From: Jim Warner <james.warner@xxxxxxxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Tue, 1 May 2012 19:02:26 -0500

On May 1, 2012, at 6:10 PM, Craig Small wrote:

> Patch #1
> //www.freelists.org/post/procps/PATCH-12-top-restore-terminal-state-on-exit
> 
> Patch #2
> //www.freelists.org/post/procps/PATCH-22-proc-use-exit-not-exit

Craig,

Here's a follow up:

If you apply both patches #1 & #2, then if /proc is not mounted the user will 
be left with a blank screen.  No message, no hint of trouble -- nothing but a 
useable terminal.

If you apply just patch #1, then if /proc is not mounted the user will be left 
with a blank screen.  No message, no hint of trouble AND an unusable terminal 
that may or may not be resettable.

If you do nothing, then the user will be told that /proc isn't mounted and will 
even be instructed on how to mount it.

Jim



Other related posts: