alsa-utils/axfer
Takashi Sakamoto bae5761d72 axfer: check whether a terminal is referred for stdio
A reference to a terminal for standard input/output brings some
troubles. For capture transmission, it can bring some terminal
control codes and it's possible to make the terminal in disorder.
For playback transmission, it can bring endless loop to read
data for detection of type of container.

This commit checks whether a terminal is referred for the standard
input/output by a call isatty(3). When detecting a terminal,
axfer run time prints message and goes to finish.

Suggested-by: Takashi Iwai <tiwai@suse.com>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-12-05 15:29:51 +01:00
..
test axfer: add a unit test for mapper interface 2018-11-13 12:04:28 +01:00
container-au.c axfer: add support for a container of Sparc AU format 2018-11-13 12:04:23 +01:00
container-raw.c axfer: add support for a container of raw data 2018-11-13 12:04:25 +01:00
container-riff-wave.c axfer: add support for a container of Microsoft/IBM RIFF/Wave format 2018-11-13 12:04:22 +01:00
container-voc.c axfer: add support for a container of Creative Tech. voice format 2018-11-13 12:04:23 +01:00
container.c axfer: check whether a terminal is referred for stdio 2018-12-05 15:29:51 +01:00
container.h axfer: add support for a container of raw data 2018-11-13 12:04:25 +01:00
frame-cache.c axfer: add support for blocking data transmission operation of alsa-lib PCM API 2018-11-13 12:04:32 +01:00
frame-cache.h axfer: add support for blocking data transmission operation of alsa-lib PCM API 2018-11-13 12:04:32 +01:00
main.c axfer: truncate parsed arguments before operating subcommand 2018-12-05 15:23:50 +01:00
Makefile.am axfer: add support for libffado transmission backend 2018-11-13 12:04:53 +01:00
mapper-multiple.c axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
mapper-single.c axfer: add support for a mapper for single target 2018-11-13 12:04:27 +01:00
mapper.c axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
mapper.h axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
misc.h axfer: add a parser for command-line options 2018-11-13 12:04:30 +01:00
subcmd-list.c axfer: truncate parsed arguments before operating subcommand 2018-12-05 15:23:50 +01:00
subcmd-transfer.c axfer: truncate parsed arguments before operating subcommand 2018-12-05 15:23:50 +01:00
subcmd.h axfer: add a sub-command to transfer data frames 2018-11-13 12:04:33 +01:00
waiter-epoll.c axfer: add an implementation of waiter for epoll(7) 2018-11-13 12:04:51 +01:00
waiter-poll.c axfer: add an implementation of waiter for poll(2) 2018-11-13 12:04:50 +01:00
waiter-select.c axfer: add an implementation of waiter for select(2) 2018-11-13 12:04:50 +01:00
waiter.c axfer: add an implementation of waiter for epoll(7) 2018-11-13 12:04:51 +01:00
waiter.h axfer: add an implementation of waiter for epoll(7) 2018-11-13 12:04:51 +01:00
xfer-libasound-irq-mmap.c axfer: add a common interface of waiter for I/O event notification 2018-11-13 12:04:48 +01:00
xfer-libasound-irq-rw.c axfer: add a common interface of waiter for I/O event notification 2018-11-13 12:04:48 +01:00
xfer-libasound-timer-mmap.c axfer: add support for timer-based scheduling model with MMAP operation 2018-11-13 12:04:51 +01:00
xfer-libasound.c axfer: obsolete some unimplemented options 2018-11-13 12:04:53 +01:00
xfer-libasound.h axfer: add support for timer-based scheduling model with MMAP operation 2018-11-13 12:04:51 +01:00
xfer-libffado.c axfer: add support for libffado transmission backend 2018-11-13 12:04:53 +01:00
xfer-options.c axfer: obsolete some unimplemented options 2018-11-13 12:04:53 +01:00
xfer.c axfer: add support for libffado transmission backend 2018-11-13 12:04:53 +01:00
xfer.h axfer: add support for libffado transmission backend 2018-11-13 12:04:53 +01:00