Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15994

Re: bash cannot switch background/foreground for aplay

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: bash cannot switch background/foreground for aplay
Date 2020-03-06 09:30 -0500
Message-ID <mailman.2173.1583505036.2412.bug-bash@gnu.org> (permalink)
References <c3e908d7-1e3e-e12d-0776-4a1cce224b6d@linux.intel.com> <56262082-5e88-926e-c2f2-5b89c9425a92@case.edu>

Show all headers | View raw


On 3/6/20 1:57 AM, Chao Song wrote:
> Hi, Bash Developers,
> 
>     I found that bash cannot switch background/foreground for aplay.
> 
> To reproduce:
> 
>     1. run aplay: aplay -Dhw:0,0 -f dat -i -c2 -vvv ./somewave.wav
> 
>     2. press CTRL + Z to switch to background
> 
>     3. press fg to switch to foreground.  [Failed at this step, seems aplay
> not in foreground, because output for aplay is not resumed.]

This is shaky logic.

> 
>    Not sure if this is a bug of aplay or bash, could you please to take a
> look at bash first?

Is any other process, including bash, getting read access to the terminal?
If not, how can this be a bash bug?

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: bash cannot switch background/foreground for aplay Chet Ramey <chet.ramey@case.edu> - 2020-03-06 09:30 -0500

csiph-web