stty -tostop background job Done message is not wanted - Unix

This is a discussion on stty -tostop background job Done message is not wanted - Unix ; Would like to remove the message the terminal receives when a background job finishes. Say I edit a file like nedit xxx & then after I close down the editor my terminal gets a message at the next hit of ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: stty -tostop background job Done message is not wanted

  1. stty -tostop background job Done message is not wanted

    Would like to remove the message the terminal receives when a
    background job finishes.

    Say I edit a file like
    nedit xxx &


    then after I close down the editor
    my terminal gets a message at the next hit of the return key:
    [2] - Done nedit xxx ...


    I don't want to see this message. Is there a method to turn this off?
    --Ross


  2. Re: stty -tostop background job Done message is not wanted

    In article <1169763851.266818.312180@s48g2000cws.googlegroups. com>,
    "--Ross" wrote:

    > Would like to remove the message the terminal receives when a
    > background job finishes.
    >
    > Say I edit a file like
    > nedit xxx &
    >
    >
    > then after I close down the editor
    > my terminal gets a message at the next hit of the return key:
    > [2] - Done nedit xxx ...
    >
    >
    > I don't want to see this message. Is there a method to turn this off?
    > --Ross


    In bash you can use "set +m" to turn off monitor mode.

    In most shells I've used, you can silence it by running the background
    process in a subshell:

    (nedit xxx &)

    --
    Barry Margolin, barmar@alum.mit.edu
    Arlington, MA
    *** PLEASE post questions in newsgroups, not directly to me ***
    *** PLEASE don't copy me on replies, I'll read them in the group ***

+ Reply to Thread