diff -Nur aumix-2.7/src/common.c aumix-2.7-tl/src/common.c --- aumix-2.7/src/common.c Thu Jul 13 08:33:30 2000 +++ aumix-2.7-tl/src/common.c Mon Aug 14 07:14:57 2000 @@ -128,7 +128,7 @@ but we do it anyway because it makes sense for line1, line2 and line3. */ while (TRUE) { - optn = getopt(argc, argv, "hILqSd:f:C:v:b:t:s:w:P:p:l:m:c:x:W:R:r:i:o:1:2:3:"); + optn = getopt(argc, argv, "hILqSd:f:C:v:b:t:s:w:P:p:l:m:c:x:W:R:r:i:o:1:2:3:T"); if (optn == -1) break; /* Funny, strchr() returns a pointer to char, according to the man page, @@ -141,7 +141,11 @@ ErrorExitWarn(SetShowNoninter(mopt - moptindx), 'e'); } else { usage_ok = 0; + switch (optn) { + case 'T' : + interactive = IN_CURSES; + break; case 'q': /* query */ optarg = "q"; if (mixer_fd == -1) @@ -653,7 +657,7 @@ static char copyright[] = "@(#) copyright (c) 1993, 1996-2000 the authors--see AUTHORS file\n"; fp = (status == EXIT_SUCCESS) ? stdout : stderr; - fprintf(fp, LOCAL_TEXT("aumix %s usage: aumix [-[[+|-][]]||\nR[ecord]|P[lay]|q[uery]]"), VERSION); + fprintf(fp, LOCAL_TEXT("aumix %s usage: aumix [-T][-[[+|-][]]||\nR[ecord]|P[lay]|q[uery]]"), VERSION); #if defined(HAVE_CURSES) || defined(HAVE_GTK) fprintf(fp, LOCAL_TEXT(" [-dhILqS]")); #else @@ -681,6 +685,7 @@ C: specify color scheme\n")); #endif /* HAVE_CURSES */ fprintf(fp, LOCAL_TEXT("\ + T: force text\n\ d: adjust a device besides /dev/mixer\n\ f: specify file for saving and loading settings (defaults to\n\ ~/.aumixrc or /etc/aumixrc)\n\