diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-10-25 14:49:19 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-10-25 14:49:19 +0100 |
commit | cb0b4768ad8c868b26465db91ec6572c5feeab31 (patch) | |
tree | c2c9b1d2108c2c75ed1e1f164362b17e84b7597a /vdr.c | |
parent | 2fc5e35eb9dfac4e1156b2c70faad2f5e8cace06 (diff) | |
download | vdr-cb0b4768ad8c868b26465db91ec6572c5feeab31.tar.gz vdr-cb0b4768ad8c868b26465db91ec6572c5feeab31.tar.bz2 |
Fixed saving terminal settings when running in background
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.tvdr.de * - * $Id: vdr.c 2.11 2009/10/18 14:09:22 kls Exp $ + * $Id: vdr.c 2.12 2009/10/25 14:45:47 kls Exp $ */ #include <getopt.h> @@ -507,6 +507,7 @@ int main(int argc, char *argv[]) stdout = freopen(Terminal, "w", stdout); stderr = freopen(Terminal, "w", stderr); HasStdin = true; + tcgetattr(STDIN_FILENO, &savedTm); } isyslog("VDR version %s started", VDRVERSION); |