FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Don't display messages of 'set term push' when in interactive mode. · gnuplot/gnuplot@20958d2 · GitHub

Repository navigation

Commit 20958d2

Browse files
Petr Mikulik
committed
Don't display messages of 'set term push' when in interactive mode.
1 parent c415311 commit 20958d2

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

‎ChangeLog‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2002-12-13 Petr Mikulik <mikulik@physics.muni.cz>
2+
3+
* src/set.c(set_terminal): Don't display messages of 'set term push'
4+
when in interactive mode.
5+
16
2002-12-13 Petr Mikulik <mikulik@physics.muni.cz>
27

38
* src/term.c(term_end_multiplot): Remove c_token++. It fixes commands
@@ -1546,7 +1551,7 @@
15461551

15471552
* docs/titlepag.sty: Changes for the title page of gnuplot.tex:
15481553
Show up-to-date gnuplot version (from the file VERSION) and the
1549-
last modification date (from the tag $Date: 2002/12/12 13:14:27 $).
1554+
last modification date (from the tag $Date: 2002/12/13 13:25:28 $).
15501555

15511556
2002-03-07 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
15521557

‎src/set.c‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#ifndef lint
2-
static char *RCSid() { return RCSid("$Id: set.c,v 1.103 2002/11/26 18:50:00 sfeam Exp $"); }
2+
static char *RCSid() { return RCSid("$Id: set.c,v 1.104 2002/12/11 01:31:09 sfeam Exp $"); }
33
#endif
44

55
/* GNUPLOT - set.c */
@@ -3213,9 +3213,12 @@ set_terminal()
32133213
free(push_term_opts);
32143214
push_term_name = gp_strdup(term->name);
32153215
push_term_opts = gp_strdup(term_options);
3216-
fprintf(stderr, " pushed terminal %s %s\n", push_term_name, push_term_opts);
3217-
} else
3218-
fputs("\tcurrent terminal type is unknown\n", stderr);
3216+
if (interactive)
3217+
fprintf(stderr, " pushed terminal %s %s\n", push_term_name, push_term_opts);
3218+
} else {
3219+
if (interactive)
3220+
fputs("\tcurrent terminal type is unknown\n", stderr);
3221+
}
32193222
c_token++;
32203223
return;
32213224
} /* set term push */

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL