bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to suppress async messages for background jobs


From: Francesco Montorsi
Subject: Re: How to suppress async messages for background jobs
Date: Mon, 06 Mar 2006 12:11:49 +0100
User-agent: Mozilla Thunderbird 1.5 (X11/20051201)

Paul Jarc ha scritto:
Francesco Montorsi <address@hidden> wrote:
  address@hidden:~$ kwrite &
=>[1] 20986
  address@hidden:~$
=>[1]+  Done                    kwrite
  address@hidden:~$

is there a way to tell bash not to print those lines marked with => ?

If you don't need to refer to the process as %1, etc.:
$ ( kwrite & )

I have this in my .bashrc to I can use alt-Enter to run something in
the background without keeping track of it as a shell job:
bind $'Meta-RET: "\001(\005&)\r"'
Thanks a lot !!!
This is exactly what I was searching for; however for some reason copying it verbatim to my .bashrc did not work so I've slightly changed as:

bind '"\x1b\x4f\x4d"':"\"\001(\005 &)\r\""

so that shift+enter now does the trick ;)

Thanks,
Francesco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]