diff --git a/tests/rigctl.c b/tests/rigctl.c index 724145383..72f3abd26 100644 --- a/tests/rigctl.c +++ b/tests/rigctl.c @@ -5,7 +5,7 @@ * It takes commands in interactive mode as well as * from command line options. * - * $Id: rigctl.c,v 1.29 2002-04-23 22:04:19 fillods Exp $ + * $Id: rigctl.c,v 1.30 2002-06-26 20:44:37 dedmons Exp $ * * * This program is free software; you can redistribute it and/or @@ -439,6 +439,12 @@ int main (int argc, char *argv[]) last_was_ret = 0; + if (cmd == '#' || cmd == ';') { + while( cmd != '\n' && cmd != '\r') + scanf("%c", &cmd); + continue; + } + if (cmd == 'Q' || cmd == 'q') break; if (cmd == '?') {